Re: [Qemu-devel] [PATCH 4/4] target-i386: fix SSE rounding and flush to zero

2012-01-13 Thread Aurelien Jarno
On Thu, Jan 12, 2012 at 01:37:59PM +0800, Dong Xu Wang wrote: > After applied this patch, while I was compiling on my lap, there will > be an error: > > ./configure --enable-kvm --target-list=x86_64-softmmu && make > CCx86_64-softmmu/translate.o > /qemu/target-i386/translate.c: In function ‘d

Re: [Qemu-devel] [PATCH 4/4] target-i386: fix SSE rounding and flush to zero

2012-01-13 Thread Markus Armbruster
Dong Xu Wang writes: > After applied this patch, while I was compiling on my lap, there will > be an error: > > ./configure --enable-kvm --target-list=x86_64-softmmu && make > CCx86_64-softmmu/translate.o > /qemu/target-i386/translate.c: In function ‘disas_insn’: > /qemu/target-i386/translat

Re: [Qemu-devel] [PATCH 4/4] target-i386: fix SSE rounding and flush to zero

2012-01-11 Thread Dong Xu Wang
After applied this patch, while I was compiling on my lap, there will be an error: ./configure --enable-kvm --target-list=x86_64-softmmu && make CCx86_64-softmmu/translate.o /qemu/target-i386/translate.c: In function ‘disas_insn’: /qemu/target-i386/translate.c:7547:17: error: incompatible typ

[Qemu-devel] [PATCH 4/4] target-i386: fix SSE rounding and flush to zero

2012-01-07 Thread Aurelien Jarno
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 up