This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
patch: e500 (un)ordered fixes
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 15 Jul 2004 17:06:36 -0400
- Subject: patch: e500 (un)ordered fixes
Bonzini's FP comparison patch triggers some patterns we don't have on the
E500. This is causing some aborts.
Fixed and committed to mainline.
Ta-ta.
* config/rs6000/rs6000.md ("bunordered"): Disable for e500.
("bordered"): Same.
Index: config/rs6000/rs6000.md
===================================================================
RCS file: /cvs/uberbaum/gcc/config/rs6000/rs6000.md,v
retrieving revision 1.311
diff -c -p -r1.311 rs6000.md
*** config/rs6000/rs6000.md 15 Jul 2004 20:58:56 -0000 1.311
--- config/rs6000/rs6000.md 15 Jul 2004 21:04:00 -0000
***************
*** 11064,11075 ****
(define_expand "bunordered"
[(use (match_operand 0 "" ""))]
! ""
"{ rs6000_emit_cbranch (UNORDERED, operands[0]); DONE; }")
(define_expand "bordered"
[(use (match_operand 0 "" ""))]
! ""
"{ rs6000_emit_cbranch (ORDERED, operands[0]); DONE; }")
(define_expand "buneq"
--- 11064,11075 ----
(define_expand "bunordered"
[(use (match_operand 0 "" ""))]
! "! (TARGET_HARD_FLOAT && TARGET_E500 && !TARGET_FPRS)"
"{ rs6000_emit_cbranch (UNORDERED, operands[0]); DONE; }")
(define_expand "bordered"
[(use (match_operand 0 "" ""))]
! "! (TARGET_HARD_FLOAT && TARGET_E500 && !TARGET_FPRS)"
"{ rs6000_emit_cbranch (ORDERED, operands[0]); DONE; }")
(define_expand "buneq"