summaryrefslogtreecommitdiffstats
path: root/target/m68k/helper.h
diff options
context:
space:
mode:
authorLaurent Vivier2017-06-20 22:51:20 +0200
committerLaurent Vivier2017-06-21 22:11:55 +0200
commitba62494483ab51ee31c70952b6ce5171a31860b1 (patch)
tree34879597689b9df1d8b8e9548051e1abdbb66e5f /target/m68k/helper.h
parenttarget-m68k: define 96bit FP registers for gdb on 680x0 (diff)
downloadqemu-ba62494483ab51ee31c70952b6ce5171a31860b1.tar.gz
qemu-ba62494483ab51ee31c70952b6ce5171a31860b1.tar.xz
qemu-ba62494483ab51ee31c70952b6ce5171a31860b1.zip
target-m68k: add FPCR and FPSR
Signed-off-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Richard Henderson <rth@twiddle.net> Message-Id: <20170620205121.26515-6-laurent@vivier.eu>
Diffstat (limited to 'target/m68k/helper.h')
-rw-r--r--target/m68k/helper.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/target/m68k/helper.h b/target/m68k/helper.h
index d871be6fc8..98cbf187d2 100644
--- a/target/m68k/helper.h
+++ b/target/m68k/helper.h
@@ -32,8 +32,9 @@ DEF_HELPER_4(fadd, void, env, fp, fp, fp)
DEF_HELPER_4(fsub, void, env, fp, fp, fp)
DEF_HELPER_4(fmul, void, env, fp, fp, fp)
DEF_HELPER_4(fdiv, void, env, fp, fp, fp)
-DEF_HELPER_4(fsub_cmp, void, env, fp, fp, fp)
-DEF_HELPER_2(fcompare, i32, env, fp)
+DEF_HELPER_FLAGS_3(fcmp, TCG_CALL_NO_RWG, void, env, fp, fp)
+DEF_HELPER_FLAGS_2(set_fpcr, TCG_CALL_NO_RWG, void, env, i32)
+DEF_HELPER_FLAGS_2(ftst, TCG_CALL_NO_RWG, void, env, fp)
DEF_HELPER_3(mac_move, void, env, i32, i32)
DEF_HELPER_3(macmulf, i64, env, i32, i32)