diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2013-04-20 08:56:13 +0000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-04-26 23:02:42 +0200 |
commit | bf45a2e67cab8fcccb24e389bbd4ef68866a1cff (patch) | |
tree | 44908375dec15ab7b9ebadcef08e22993dee489b /target-ppc/helper.h | |
parent | 414f5d1448fef9aad6d37f1d40d1158396573447 (diff) |
target-ppc: optimize fabs, fnabs, fneg
fabs, fnabs and fneg are just flipping the bit sign of an FP register,
this can be implemented in TCG instead of using softfloat.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc/helper.h')
-rw-r--r-- | target-ppc/helper.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/target-ppc/helper.h b/target-ppc/helper.h index d33ee66b53..07397b207a 100644 --- a/target-ppc/helper.h +++ b/target-ppc/helper.h @@ -80,9 +80,6 @@ DEF_HELPER_4(fmadd, i64, env, i64, i64, i64) DEF_HELPER_4(fmsub, i64, env, i64, i64, i64) DEF_HELPER_4(fnmadd, i64, env, i64, i64, i64) DEF_HELPER_4(fnmsub, i64, env, i64, i64, i64) -DEF_HELPER_2(fabs, i64, env, i64) -DEF_HELPER_2(fnabs, i64, env, i64) -DEF_HELPER_2(fneg, i64, env, i64) DEF_HELPER_2(fsqrt, i64, env, i64) DEF_HELPER_2(fre, i64, env, i64) DEF_HELPER_2(fres, i64, env, i64) |