aboutsummaryrefslogtreecommitdiff
path: root/target/m68k
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-05-08 15:07:47 +0100
committerRichard Henderson <richard.henderson@linaro.org>2023-05-11 09:49:25 +0100
commita0f06a6226c463137acc5c187aef2c268f389282 (patch)
treedb6af784caac926a742742523279c1da1099a31f /target/m68k
parentfff86d48a2cdcdfa75f845cac3e0d3cdd848d9e4 (diff)
target/m68k: Fix gen_load_fp for OS_LONG
Case was accidentally dropped in b7a94da9550b. 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>
Diffstat (limited to 'target/m68k')
-rw-r--r--target/m68k/translate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/m68k/translate.c b/target/m68k/translate.c
index 744eb3748b..44d852b106 100644
--- a/target/m68k/translate.c
+++ b/target/m68k/translate.c
@@ -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;