target-ppc: optimize fabs, fnabs, fneg
commitbf45a2e67cab8fcccb24e389bbd4ef68866a1cff
authorAurelien Jarno <aurelien@aurel32.net>
Sat, 20 Apr 2013 08:56:13 +0000 (20 08:56 +0000)
committerAlexander Graf <agraf@suse.de>
Fri, 26 Apr 2013 21:02:42 +0000 (26 23:02 +0200)
tree44908375dec15ab7b9ebadcef08e22993dee489b
parent414f5d1448fef9aad6d37f1d40d1158396573447
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>
target-ppc/fpu_helper.c
target-ppc/helper.h
target-ppc/translate.c