qemu/target-i386
Aurelien Jarno 2355c16e74 target-i386: fix SSE rounding and flush to zero
SSE rounding and flush to zero control has never been implemented. However
given that softfloat-native was using a single state for FPU and SSE and
given that glibc is setting both FPU and SSE state in fesetround(), this
was working correctly up to the switch to softfloat.

Fix that by adding an update_sse_status() function similar to
update_fpu_status(), and callin git on write to mxcsr.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2012-01-11 09:55:28 +01:00
..
cpu.h kvm: x86: Avoid runtime allocation of xsave buffer 2011-12-22 14:53:01 -02:00
cpuid.c enable architectural PMU cpuid leaf for kvm 2011-12-22 14:53:01 -02:00
helper_template.h Update to a hopefully more future proof FSF address 2009-07-16 20:47:01 +00:00
helper.c Fix X86 CPU topology in KVM mode 2011-11-02 07:55:05 -05:00
helper.h target-i386: fix SSE rounding and flush to zero 2012-01-11 09:55:28 +01:00
kvm.c Merge remote-tracking branch 'qemu-kvm/memory/page_desc' into staging 2012-01-03 14:39:05 -06:00
machine.c i386: wire up MSR_IA32_MISC_ENABLE 2011-10-24 21:33:32 -02:00
op_helper.c target-i386: fix SSE rounding and flush to zero 2012-01-11 09:55:28 +01:00
ops_sse_header.h tcg: Optionally sign-extend 32-bit arguments for 64-bit hosts. 2010-06-16 11:29:11 +02:00
ops_sse.h target-i386: fix dpps and dppd SSE2 instructions 2012-01-11 09:55:28 +01:00
svm.h Use new macro QEMU_PACKED for packed structures 2011-09-03 10:45:59 +00:00
TODO target-i386: fix {min,max}{pd,ps,sd,ss} SSE2 instructions 2012-01-11 09:55:28 +01:00
translate.c target-i386: fix SSE rounding and flush to zero 2012-01-11 09:55:28 +01:00