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 disable *ordered branches


Looks like I never caught this cuz we had never triggered it.  Now it's
getting generated, and it needs to be fixed ;-).

Committed to mainline and 3.4-e500 branch.

	* config/rs6000/rs6000.md ("sunordered"): Disable for e500.
	("sordered"): Same.

Index: config/rs6000/rs6000.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/rs6000.md,v
retrieving revision 1.341
diff -c -p -r1.341 rs6000.md
*** config/rs6000/rs6000.md	14 Jan 2005 21:22:14 -0000	1.341
--- config/rs6000/rs6000.md	18 Jan 2005 20:25:18 -0000
***************
*** 11135,11146 ****
  
  (define_expand "sunordered"
    [(clobber (match_operand:SI 0 "gpc_reg_operand" ""))]
!   ""
    "{ rs6000_emit_sCOND (UNORDERED, operands[0]); DONE; }")
  
  (define_expand "sordered"
    [(clobber (match_operand:SI 0 "gpc_reg_operand" ""))]
!   ""
    "{ rs6000_emit_sCOND (ORDERED, operands[0]); DONE; }")
  
  (define_expand "suneq"
--- 11135,11146 ----
  
  (define_expand "sunordered"
    [(clobber (match_operand:SI 0 "gpc_reg_operand" ""))]
!   "! (TARGET_HARD_FLOAT && TARGET_E500 && !TARGET_FPRS)"
    "{ rs6000_emit_sCOND (UNORDERED, operands[0]); DONE; }")
  
  (define_expand "sordered"
    [(clobber (match_operand:SI 0 "gpc_reg_operand" ""))]
!   "! (TARGET_HARD_FLOAT && TARGET_E500 && !TARGET_FPRS)"
    "{ rs6000_emit_sCOND (ORDERED, operands[0]); DONE; }")
  
  (define_expand "suneq"


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