Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
target/m68k: Fix gen_load_fp for OS_LONG
Case was accidentally dropped in b7a94da.

Tested-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
  • Loading branch information
rth7680 committed May 11, 2023
1 parent fff86d4 commit a0f06a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions target/m68k/translate.c
Expand Up @@ -959,6 +959,7 @@ static void gen_load_fp(DisasContext *s, int opsize, TCGv addr, TCGv_ptr fp,
switch (opsize) {
case OS_BYTE:
case OS_WORD:
case OS_LONG:
tcg_gen_qemu_ld_tl(tmp, addr, index, opsize | MO_SIGN | MO_TE);
gen_helper_exts32(cpu_env, fp, tmp);
break;
Expand Down

0 comments on commit a0f06a6

Please sign in to comment.