This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: iso c9x unordered fp cmp builtins


>>>>> Richard Henderson writes:

>> Did your SPARC implementation *change* the use of those two FP
>> compare instructions?

Richard> Not with respect to normal comparisions, no.  That is, normal comparisons
Richard> do signal qnan, and as far as I can tell, always have.

	The "rs6000" port always has used fcmpu and never has signal QNaN.
This also is the behavior of IBM's XLC.  Does iso9x now mandate that the
regular comparison operators signal QNaN?  Using the fcmpo instruction and
enabling one of the varying exactness degrees of QNaN signalling in the
PowerPC FP control register imposes a performance degradation (which I
think is why it is not used by default).

David


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]