Skip to content

Commit 8459a16

Browse files
committed
fpu: Activate hardfpu for PPC
Signed-off-by: Víctor Colombo <[email protected]>
1 parent 7598a50 commit 8459a16

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

fpu/softfloat.c

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -220,11 +220,9 @@ GEN_INPUT_FLUSH3(float64_input_flush3, float64)
220220
* the use of hardfloat, since hardfloat relies on the inexact flag being
221221
* already set.
222222
*/
223-
#if defined(TARGET_PPC) || defined(__FAST_MATH__)
224-
# if defined(__FAST_MATH__)
225-
# warning disabling hardfloat due to -ffast-math: hardfloat requires an exact \
226-
IEEE implementation
227-
# endif
223+
#if defined(__FAST_MATH__)
224+
# warning disabling hardfloat due to -ffast-math: hardfloat requires an exact \
225+
IEEE implementation
228226
# define QEMU_NO_HARDFLOAT 1
229227
# define QEMU_SOFTFLOAT_ATTR QEMU_FLATTEN
230228
#else

0 commit comments

Comments
 (0)