aboutsummaryrefslogtreecommitdiff
path: root/target/m68k/helper.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2016-11-09 14:46:11 +0100
committerLaurent Vivier <laurent@vivier.eu>2017-01-14 10:06:21 +0100
commitf2224f2c9a9ed63edaed77ae21ffb1e501d7f247 (patch)
treed99c79622b30211d7e93cbc6feb534aa75317369 /target/m68k/helper.h
parentac815f46a325b5dabe2ebd6561e4244767c0a603 (diff)
target-m68k: Implement bitfield ops for memory
Signed-off-by: Richard Henderson <rth@twiddle.net> Message-Id: <1478699171-10637-6-git-send-email-rth@twiddle.net> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'target/m68k/helper.h')
-rw-r--r--target/m68k/helper.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/m68k/helper.h b/target/m68k/helper.h
index 17ec342346..eb119456a5 100644
--- a/target/m68k/helper.h
+++ b/target/m68k/helper.h
@@ -50,3 +50,10 @@ DEF_HELPER_2(flush_flags, void, env, i32)
DEF_HELPER_2(set_ccr, void, env, i32)
DEF_HELPER_FLAGS_1(get_ccr, TCG_CALL_NO_WG_SE, i32, env)
DEF_HELPER_2(raise_exception, void, env, i32)
+
+DEF_HELPER_FLAGS_4(bfexts_mem, TCG_CALL_NO_WG, i32, env, i32, s32, i32)
+DEF_HELPER_FLAGS_4(bfextu_mem, TCG_CALL_NO_WG, i64, env, i32, s32, i32)
+DEF_HELPER_FLAGS_5(bfins_mem, TCG_CALL_NO_WG, i32, env, i32, i32, s32, i32)
+DEF_HELPER_FLAGS_4(bfchg_mem, TCG_CALL_NO_WG, i32, env, i32, s32, i32)
+DEF_HELPER_FLAGS_4(bfclr_mem, TCG_CALL_NO_WG, i32, env, i32, s32, i32)
+DEF_HELPER_FLAGS_4(bfset_mem, TCG_CALL_NO_WG, i32, env, i32, s32, i32)