Re: [Qemu-devel] [PATCH] target-sparc: fix fcmp{s, d, q} instructions wrt exception

2012-09-08 Thread Blue Swirl
Thanks, applied. On Fri, Sep 7, 2012 at 3:13 PM, Aurelien Jarno wrote: > fcmp{s,d,q} instructions are supposed to ignore quiet NaN (contrary to > the fcmpe{s,d,q} instructions), but the current code is wrongly setting > the NV exception in that case. Moreover the current code is duplicated: > fir

[Qemu-devel] [PATCH] target-sparc: fix fcmp{s, d, q} instructions wrt exception

2012-09-07 Thread Aurelien Jarno
fcmp{s,d,q} instructions are supposed to ignore quiet NaN (contrary to the fcmpe{s,d,q} instructions), but the current code is wrongly setting the NV exception in that case. Moreover the current code is duplicated: first the arguments are checked for NaN to generate an exception, and later in case