Re: [Qemu-devel] [PATCH][SPARC] Full implementation of IEEE exceptions

2007-04-06 Thread Aurelien Jarno
On Fri, Apr 06, 2007 at 08:47:57AM +0200, Blue Swirl wrote: > >The attached patch fully implements IEEE exceptions on the SPARC target. > > The patch is broken: > gcc-3.3 -Wall -O2 -g -fno-strict-aliasing -fno-reorder-blocks -fno-gcse > -fno-optimize-sibling-calls -fno-crossjumping -fno-ali

Re: [Qemu-devel] [PATCH][SPARC] Full implementation of IEEE exceptions

2007-04-06 Thread Aurelien Jarno
On Fri, Apr 06, 2007 at 08:22:21AM +0200, Blue Swirl wrote: > >The attached patch fully implements IEEE exceptions on the SPARC target. > > Nice work, thank you. Do you know of any code that uses the exceptions? I guess no code is using IEEE exceptions to generate a trap, because defining a sign

RE: [Qemu-devel] [PATCH][SPARC] Full implementation of IEEE exceptions

2007-04-05 Thread Blue Swirl
The attached patch fully implements IEEE exceptions on the SPARC target. The patch is broken: gcc-3.3 -Wall -O2 -g -fno-strict-aliasing -fno-reorder-blocks -fno-gcse -fno-optimize-sibling-calls -fno-crossjumping -fno-align-labels -fno-align-jumps -fno-align-functions -mpreferred-stack

RE: [Qemu-devel] [PATCH][SPARC] Full implementation of IEEE exceptions

2007-04-05 Thread Blue Swirl
The attached patch fully implements IEEE exceptions on the SPARC target. Nice work, thank you. Do you know of any code that uses the exceptions? The flags enabling exceptions could be recorded to TB flags so that the check code is generated only when needed, see cpu-exec.c:180. _