From 129043ff055f9f2b1ed6a108d52938536eb5635c Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Tue, 13 Sep 2011 18:14:00 +0000 Subject: [PATCH] mn10300.md: Use match_test rather than eq/ne symbol_ref throughout file. gcc/ * config/mn10300/mn10300.md: Use match_test rather than eq/ne symbol_ref throughout file. From-SVN: r178824 --- gcc/ChangeLog | 5 +++++ gcc/config/mn10300/mn10300.md | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 03a32e83bd0..2bc53d156ba 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-09-13 Richard Sandiford + + * config/mn10300/mn10300.md: Use match_test rather than eq/ne + symbol_ref throughout file. + 2011-09-13 Richard Sandiford * config/m68k/m68k.md: Use match_test rather than eq/ne symbol_ref diff --git a/gcc/config/mn10300/mn10300.md b/gcc/config/mn10300/mn10300.md index e43d0ed82dd..91378a79345 100644 --- a/gcc/config/mn10300/mn10300.md +++ b/gcc/config/mn10300/mn10300.md @@ -63,15 +63,15 @@ (const_int 1) (and (eq_attr "isa" "am33") - (ne (symbol_ref "TARGET_AM33") (const_int 0))) + (match_test "TARGET_AM33")) (const_int 1) (and (eq_attr "isa" "am33_2") - (ne (symbol_ref "TARGET_AM33_2") (const_int 0))) + (match_test "TARGET_AM33_2")) (const_int 1) (and (eq_attr "isa" "am34") - (ne (symbol_ref "TARGET_AM34") (const_int 0))) + (match_test "TARGET_AM34")) (const_int 1) ] (const_int 0)) -- 2.30.2