Re: [Qemu-devel] [PATCH 17/19] target-ppc: fix SPE comparison functions

2011-04-13 Thread Aurelien Jarno
On Tue, Apr 12, 2011 at 07:40:33PM -0700, Nathan Froyd wrote: > On Tue, Apr 12, 2011 at 11:59:29PM +0200, Aurelien Jarno wrote: > > Given that float32_*() functions are IEEE754 compliant, the efscmp*() > > functions are correctly implemented, while efstst*() are not. This > > patch reverse the impl

Re: [Qemu-devel] [PATCH 17/19] target-ppc: fix SPE comparison functions

2011-04-12 Thread Nathan Froyd
On Tue, Apr 12, 2011 at 11:59:29PM +0200, Aurelien Jarno wrote: > Given that float32_*() functions are IEEE754 compliant, the efscmp*() > functions are correctly implemented, while efstst*() are not. This > patch reverse the implementation of this two groups of functions and > fix the comments. It

[Qemu-devel] [PATCH 17/19] target-ppc: fix SPE comparison functions

2011-04-12 Thread Aurelien Jarno
efstst*() functions are fast SPE funtions which do not take into account special values (infinites, NaN, etc.), while efscmp*() functions are IEEE754 compliant. Given that float32_*() functions are IEEE754 compliant, the efscmp*() functions are correctly implemented, while efstst*() are not. This