aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/helper.h
diff options
context:
space:
mode:
authorTom Musta <tommusta@gmail.com>2014-01-15 08:10:38 -0600
committerAlexander Graf <agraf@suse.de>2014-03-05 03:06:36 +0100
commit968e76bcab9a3c40f37c9a52822b6daa90ae7cd8 (patch)
treedbab69d0042e1e7b416a1105649dc3b2e32e4074 /target-ppc/helper.h
parentcea4e57473efc2fad1d241e87984eba4e5d9690c (diff)
target-ppc: VSX Stage 4: add xsrsqrtesp
This patch adds the VSX Scalar Reciprocal Square Root Estimate Single Precision (xsrsqrtesp) instruction. The existing VSX_RSQRTE() macro is modified to support rounding of the intermediate double-precision result to single precision. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-ppc/helper.h b/target-ppc/helper.h
index 0192043c30..84c6ee19f8 100644
--- a/target-ppc/helper.h
+++ b/target-ppc/helper.h
@@ -292,6 +292,7 @@ DEF_HELPER_2(xsmulsp, void, env, i32)
DEF_HELPER_2(xsdivsp, void, env, i32)
DEF_HELPER_2(xsresp, void, env, i32)
DEF_HELPER_2(xssqrtsp, void, env, i32)
+DEF_HELPER_2(xsrsqrtesp, void, env, i32)
DEF_HELPER_2(xvadddp, void, env, i32)
DEF_HELPER_2(xvsubdp, void, env, i32)