As per the subject. Tested by making sure that there were no new
warnings building mep-elf, and that there were no changes in the
assembly output for the C and C++ testsuite. OK to install?
Richard
gcc/
* config/mep/mep.md: Use match_test rather than eq/ne symbol_ref
throughout file.
Index: gcc/config/mep/mep.md
===================================================================
--- gcc/config/mep/mep.md 2011-09-13 18:43:39.000000000 +0100
+++ gcc/config/mep/mep.md 2011-09-13 18:56:07.000000000 +0100
@@ -299,14 +299,14 @@ (define_insn_reservation "h1_store" 1
(define_insn_reservation "h1_ipipe_ldc" 2
(and (eq_attr "stall" "ldc")
- (ne (symbol_ref "mep_ipipe_ldc_p(insn)") (const_int 0)))
+ (match_test "mep_ipipe_ldc_p(insn)"))
"core")
(define_bypass 1 "h1_ipipe_ldc" "h1_int1,h1_ssarb")
(define_bypass 1 "h1_ipipe_ldc" "h1_store" "mep_store_data_bypass_p")
(define_insn_reservation "h1_apipe_ldc" 2
(and (eq_attr "stall" "ldc")
- (eq (symbol_ref "mep_ipipe_ldc_p(insn)") (const_int 0)))
+ (not (match_test "mep_ipipe_ldc_p(insn)")))
"core")
;; 2 is correct for stc->ret and stc->fsft. The most important remaining