This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

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"


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