[Xtensa] handle unordered floating-point comparisons

Bob Wilson bwilson@tensilica.com
Thu Mar 27 23:07:00 GMT 2008


I recently discovered that I never added support for unordered comparisons in 
the Xtensa port.  I've committed the following to fix that.  I tested xtensa-elf 
builds both with and without the Xtensa floating-point option to verify that it 
causes no regressions.

2008-03-27  Bob Wilson  <bob.wilson@acm.org>

	* config/xtensa/xtensa.c (gen_float_relational): Handle unordered
	comparisons.
	* config/xtensa/xtensa.md (any_cond): Add unordered comparisons.
	(any_scc_sf): Add uneq, unlt, unle and unordered operators.
	(scc_sf): New.
	(s<code>_sf): Use new scc_sf attribute for opcode names.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-fpcmp.patch
Type: text/x-diff
Size: 2627 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080327/0a405230/attachment.bin>


More information about the Gcc-patches mailing list