diff options
Diffstat (limited to 'emulators/qemu-devel/files/patch-fpu-softfloat-native.c')
-rw-r--r-- | emulators/qemu-devel/files/patch-fpu-softfloat-native.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/emulators/qemu-devel/files/patch-fpu-softfloat-native.c b/emulators/qemu-devel/files/patch-fpu-softfloat-native.c deleted file mode 100644 index 0a7f3018835c..000000000000 --- a/emulators/qemu-devel/files/patch-fpu-softfloat-native.c +++ /dev/null @@ -1,17 +0,0 @@ -Index: qemu/fpu/softfloat-native.c -@@ -228,7 +228,15 @@ - *----------------------------------------------------------------------------*/ - float64 float64_trunc_to_int( float64 a STATUS_PARAM ) - { -+#if defined(__FreeBSD__) && __FreeBSD__ <= 4 -+ float64 ret; -+ fpsetround(FP_RZ); -+ ret = rint(a); -+ fpsetround(STATUS(float_rounding_mode)); -+ return ret; -+#else - return trunc(a); -+#endif - } - - float64 float64_round_to_int( float64 a STATUS_PARAM )
\ No newline at end of file |