Re: [Qemu-devel] SSE 'maxps' instruction bug?

2007-03-16 Thread Rob Landley
On Tuesday 13 March 2007 10:21 pm, Julian Seward wrote: 0.9.0, or that the compiler/host combination used to build the qemu binary Julian is running generated bad code for the float compares. I used gcc 3.4.6 bootstrapped as normal ('make bootstrap; make install') on a 64-bit machine.

Re: [Qemu-devel] SSE 'maxps' instruction bug?

2007-03-16 Thread Julian Seward
On Friday 16 March 2007 18:07, Rob Landley wrote: On Tuesday 13 March 2007 10:21 pm, Julian Seward wrote: 0.9.0, or that the compiler/host combination used to build the qemu binary Julian is running generated bad code for the float compares. I used gcc 3.4.6 bootstrapped as normal

Re: [Qemu-devel] SSE 'maxps' instruction bug?

2007-03-16 Thread Rob Landley
On Friday 16 March 2007 2:10 pm, Julian Seward wrote: On Friday 16 March 2007 18:07, Rob Landley wrote: On Tuesday 13 March 2007 10:21 pm, Julian Seward wrote: 0.9.0, or that the compiler/host combination used to build the qemu binary Julian is running generated bad code for the float

Re: [Qemu-devel] SSE 'maxps' instruction bug?

2007-03-13 Thread Julian Seward
QEMU and Core 2 Duo disagree on the handling of NaNs it seems. http://courses.ece.uiuc.edu/ece390/books/labmanual/inst-ref-simd.html - this implies that MAXPS should leave the NaNs alone, no idea how normative that is though (and no IA32 manual at hand) Having looked at an IA32 manual I'd

Re: [Qemu-devel] SSE 'maxps' instruction bug?

2007-03-13 Thread Tim Olson
On Mar 12, 2007, at 11:27 AM, malc wrote: QEMU and Core 2 Duo disagree on the handling of NaNs it seems. http://courses.ece.uiuc.edu/ece390/books/labmanual/inst-ref-simd.html - this implies that MAXPS should leave the NaNs alone, no idea how normative that is though (and no IA32 manual at

Re: [Qemu-devel] SSE 'maxps' instruction bug?

2007-03-13 Thread Julian Seward
0.9.0, or that the compiler/host combination used to build the qemu binary Julian is running generated bad code for the float compares. I used gcc 3.4.6 bootstrapped as normal ('make bootstrap; make install') on a 64-bit machine. If it is qemu generating bad code due to variations in gcc

[Qemu-devel] SSE 'maxps' instruction bug?

2007-03-12 Thread Julian Seward
The program below tests the 'maxps' instruction. When run on qemu-0.9.0, host amd64, guest x86, guest OS redhat8, it prints: f9a511d1 8d37d67f b34825b8 e2f40739 scp the binary to a Core 2 (real) machine and run: f9a511d1 22dcb9b9 b34825b8 e2f40739 Second 32-bit word is completely

Re: [Qemu-devel] SSE 'maxps' instruction bug?

2007-03-12 Thread malc
On Mon, 12 Mar 2007, Julian Seward wrote: The program below tests the 'maxps' instruction. When run on qemu-0.9.0, host amd64, guest x86, guest OS redhat8, it prints: f9a511d1 8d37d67f b34825b8 e2f40739 scp the binary to a Core 2 (real) machine and run: f9a511d1 22dcb9b9 b34825b8