[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-trivial] [Qemu-devel] [PATCH] Make x86 mfence and lfence illeg

From: Stefan Hajnoczi
Subject: Re: [Qemu-trivial] [Qemu-devel] [PATCH] Make x86 mfence and lfence illegal without SSE2
Date: Tue, 7 Jun 2011 14:56:51 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Jun 06, 2011 at 03:49:17PM +0100, Martin Simmons wrote:
> Hi,
> While trying to use qemu -cpu pentium3 to test for incorrect uses of certain
> SSE2 instructions, I found that QEMU allowed the mfence and lfence
> instructions to be executed even though Pentium 3 doesn't support them.
> According to the processor specs (and experience on a real Pentium 3), these
> instructions are only available with SSE2, but QEMU is checking for SSE.  The
> check for the related sfence instruction is correct (it works with SSE).
> This trival patch fixes the test:
> Signed-off-by: Martin Simmons <address@hidden>

Thanks, applied to the trivial patches tree:


reply via email to

[Prev in Thread] Current Thread [Next in Thread]