summaryrefslogtreecommitdiffstats
path: root/target-ppc/helper.h
diff options
context:
space:
mode:
authorTom Musta <tommusta@gmail.com>2014-01-07 10:06:07 -0600
committerAlexander Graf <agraf@suse.de>2014-03-05 03:06:43 +0100
commitda29cb7bc7b62c14a69a104f91867edf9ce88543 (patch)
tree22693522f567b8e15c6c897a59030dc2dd6d3022 /target-ppc/helper.h
parent29a0e4e9a1adfaf8864cfb7a79e5bb0f28aac282 (diff)
downloadhqemu-da29cb7bc7b62c14a69a104f91867edf9ce88543.zip
hqemu-da29cb7bc7b62c14a69a104f91867edf9ce88543.tar.gz
target-ppc: Add ISA 2.06 ftdiv Instruction
This patch adds the Floating Point Test for Divide instruction which was introduced in Power ISA 2.06B. Signed-off-by: Tom Musta <tommusta@gmail.com> Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc/helper.h')
-rw-r--r--target-ppc/helper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-ppc/helper.h b/target-ppc/helper.h
index c7c915f..2fb337c 100644
--- a/target-ppc/helper.h
+++ b/target-ppc/helper.h
@@ -99,6 +99,8 @@ DEF_HELPER_2(fres, i64, env, i64)
DEF_HELPER_2(frsqrte, i64, env, i64)
DEF_HELPER_4(fsel, i64, env, i64, i64, i64)
+DEF_HELPER_FLAGS_2(ftdiv, TCG_CALL_NO_RWG_SE, i32, i64, i64)
+
#define dh_alias_avr ptr
#define dh_ctype_avr ppc_avr_t *
#define dh_is_signed_avr dh_is_signed_ptr
OpenPOWER on IntegriCloud