Skip to content
Commit 3d4f48f9 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

x86: disable SSE on 32-bit hosts



On 64-bit hosts we are disabling SSE and SSE2.  Depending on the
compiler however it may use movq instructions for 64-bit transfers
even when targeting 32-bit processors; when CR4.OSFXSR is not set,
this results in an undefined opcode exception, so tell the compiler
to avoid those instructions on 32-bit hosts as well.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 4b74c718
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment