diff options
author | Tom Musta <tommusta@gmail.com> | 2014-01-07 10:06:08 -0600 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-03-05 03:06:43 +0100 |
commit | 6d41d146c92e99e21ef267be4c4b9893940e0838 (patch) | |
tree | f9f231dabd54853197f4060eed0304ac75bbc113 /target-ppc/helper.h | |
parent | da29cb7bc7b62c14a69a104f91867edf9ce88543 (diff) | |
download | qemu-6d41d146c92e99e21ef267be4c4b9893940e0838.zip qemu-6d41d146c92e99e21ef267be4c4b9893940e0838.tar.gz qemu-6d41d146c92e99e21ef267be4c4b9893940e0838.tar.bz2 |
target-ppc: Add ISA 2.06 ftsqrt
This patch adds the Floating Point Test for Square Root instruction
which was introduced in Power ISA 2.06.
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-ppc/helper.h b/target-ppc/helper.h index 2fb337c..a4480e8 100644 --- a/target-ppc/helper.h +++ b/target-ppc/helper.h @@ -100,6 +100,7 @@ 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) +DEF_HELPER_FLAGS_1(ftsqrt, TCG_CALL_NO_RWG_SE, i32, i64) #define dh_alias_avr ptr #define dh_ctype_avr ppc_avr_t * |