aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mips/predicates.md
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2011-09-11 17:19:55 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2011-09-11 17:19:55 +0000
commitae0087f2813092b83723a6386547d481a0d663c6 (patch)
treefe1605c0d0dad40b5270bbf3afa2d434353c3299 /gcc/config/mips/predicates.md
parentd42cbc6c9dc897dc40665cf28256d5eb6b54c24b (diff)
downloadgcc-ae0087f2813092b83723a6386547d481a0d663c6.zip
gcc-ae0087f2813092b83723a6386547d481a0d663c6.tar.gz
gcc-ae0087f2813092b83723a6386547d481a0d663c6.tar.bz2
mips.md: Use match_test rather than eq/ne symbol_ref throughout file.
gcc/ * config/mips/mips.md: Use match_test rather than eq/ne symbol_ref throughout file. * config/mips/sb1.md: Likewise. * config/mips/predicates.md: Replace (match_test "!...") with (not (match_test "...")) * config/mips/constraints.md: Likewise. From-SVN: r178759
Diffstat (limited to 'gcc/config/mips/predicates.md')
-rw-r--r--gcc/config/mips/predicates.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/mips/predicates.md b/gcc/config/mips/predicates.md
index 022868b..dd51480 100644
--- a/gcc/config/mips/predicates.md
+++ b/gcc/config/mips/predicates.md
@@ -59,7 +59,7 @@
(define_predicate "reg_or_0_operand"
(ior (and (match_operand 0 "const_0_operand")
- (match_test "!TARGET_MIPS16"))
+ (not (match_test "TARGET_MIPS16")))
(match_operand 0 "register_operand")))
(define_predicate "const_1_operand"
@@ -100,7 +100,7 @@
(define_predicate "and_reg_operand"
(ior (match_operand 0 "register_operand")
- (and (match_test "!TARGET_MIPS16")
+ (and (not (match_test "TARGET_MIPS16"))
(match_operand 0 "const_uns_arith_operand"))
(match_operand 0 "low_bitmask_operand")
(match_operand 0 "si_mask_operand")))
@@ -335,7 +335,7 @@
(define_predicate "mips_cstore_operator"
(ior (match_code "eq,gt,gtu,ge,geu,lt,ltu,le,leu")
- (and (match_code "ne") (match_test "!TARGET_MIPS16"))))
+ (and (match_code "ne") (not (match_test "TARGET_MIPS16")))))
(define_predicate "small_data_pattern"
(and (match_code "set,parallel,unspec,unspec_volatile,prefetch")