diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2004-06-03 02:12:52 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2004-06-03 02:12:52 +0000 |
commit | 6731665740417f7b4a740848f58d3dcdec987a6f (patch) | |
tree | d75ef716fc45f7aae92001ab3ab507fe24a5168d /emulators/qemu/files/patch-ab | |
parent | upgrade to 2.12 (diff) |
Add port for qemu 0.5.5 snapshot of 04/05/30,
A fast CPU emulator environment.
PR: 67506
Submitted by: Juergen Lock <nox@jelal.kn-bremen.de>
Notes
Notes:
svn path=/head/; revision=110715
Diffstat (limited to 'emulators/qemu/files/patch-ab')
-rw-r--r-- | emulators/qemu/files/patch-ab | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/emulators/qemu/files/patch-ab b/emulators/qemu/files/patch-ab new file mode 100644 index 000000000000..79b428ba1091 --- /dev/null +++ b/emulators/qemu/files/patch-ab @@ -0,0 +1,16 @@ +Index: qemu-snapshot-2004-05-30_23-40/target-i386/op.c +@@ -1307,11 +1307,9 @@ + #if defined(_BSD) && defined(USE_X86LDOUBLE) + + CPU86_LDouble rintl(CPU86_LDouble __x) { +- CPU86_LDouble __rintres; +- __asm__ __volatile__ +- ("fistp %0" +- : "=m" (__rintres) : "t" (__x) : "st"); +- return __rintres; ++ register CPU86_LDouble __result; ++ __asm __volatile__ ("frndint" : "=t" (__result) : "0" (__x)); ++ return __result; + } + + int lrintl(CPU86_LDouble __x) { |