diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2011-09-14 21:17:14 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2011-09-14 21:17:14 +0000 |
commit | d7f99b2cc5dc6fe3269fb3bc5b872c9cc9cdbbd3 (patch) | |
tree | b0e1a6183a66b3d6520c2981e3abab2466eec35e /gcc/config/s390 | |
parent | 26b996c6aec1b3e8521ed28721de1655f0fd40ff (diff) | |
download | gcc-d7f99b2cc5dc6fe3269fb3bc5b872c9cc9cdbbd3.zip gcc-d7f99b2cc5dc6fe3269fb3bc5b872c9cc9cdbbd3.tar.gz gcc-d7f99b2cc5dc6fe3269fb3bc5b872c9cc9cdbbd3.tar.bz2 |
s390.md: Use match_test rather than eq/ne symbol_ref throughout file.
gcc/
* config/s390/s390.md: Use match_test rather than eq/ne symbol_ref
throughout file.
From-SVN: r178867
Diffstat (limited to 'gcc/config/s390')
-rw-r--r-- | gcc/config/s390/s390.md | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/gcc/config/s390/s390.md b/gcc/config/s390/s390.md index c04e024..018f6b4 100644 --- a/gcc/config/s390/s390.md +++ b/gcc/config/s390/s390.md @@ -283,31 +283,31 @@ (const_int 1) (and (eq_attr "cpu_facility" "ieee") - (ne (symbol_ref "TARGET_CPU_IEEE_FLOAT") (const_int 0))) + (match_test "TARGET_CPU_IEEE_FLOAT")) (const_int 1) (and (eq_attr "cpu_facility" "zarch") - (ne (symbol_ref "TARGET_ZARCH") (const_int 0))) + (match_test "TARGET_ZARCH")) (const_int 1) (and (eq_attr "cpu_facility" "longdisp") - (ne (symbol_ref "TARGET_LONG_DISPLACEMENT") (const_int 0))) + (match_test "TARGET_LONG_DISPLACEMENT")) (const_int 1) (and (eq_attr "cpu_facility" "extimm") - (ne (symbol_ref "TARGET_EXTIMM") (const_int 0))) + (match_test "TARGET_EXTIMM")) (const_int 1) (and (eq_attr "cpu_facility" "dfp") - (ne (symbol_ref "TARGET_DFP") (const_int 0))) + (match_test "TARGET_DFP")) (const_int 1) (and (eq_attr "cpu_facility" "z10") - (ne (symbol_ref "TARGET_Z10") (const_int 0))) + (match_test "TARGET_Z10")) (const_int 1) (and (eq_attr "cpu_facility" "z196") - (ne (symbol_ref "TARGET_Z196") (const_int 0))) + (match_test "TARGET_Z196")) (const_int 1)] (const_int 0))) @@ -7726,7 +7726,7 @@ [(set_attr "op_type" "RI") (set_attr "type" "branch") (set (attr "length") - (if_then_else (eq (symbol_ref "flag_pic") (const_int 0)) + (if_then_else (not (match_test "flag_pic")) (if_then_else (lt (abs (minus (pc) (match_dup 0))) (const_int 60000)) (const_int 4) (const_int 6)) (if_then_else (lt (abs (minus (pc) (match_dup 0))) (const_int 60000)) @@ -7789,7 +7789,7 @@ [(set_attr "op_type" "RI") (set_attr "type" "branch") (set (attr "length") - (if_then_else (eq (symbol_ref "flag_pic") (const_int 0)) + (if_then_else (not (match_test "flag_pic")) (if_then_else (lt (abs (minus (pc) (match_dup 0))) (const_int 60000)) (const_int 4) (const_int 6)) (if_then_else (lt (abs (minus (pc) (match_dup 0))) (const_int 60000)) @@ -8170,7 +8170,7 @@ (set_attr "z10prop" "z10_super_E1") (set_attr "type" "branch") (set (attr "length") - (if_then_else (eq (symbol_ref "flag_pic") (const_int 0)) + (if_then_else (not (match_test "flag_pic")) (if_then_else (lt (abs (minus (pc) (match_dup 0))) (const_int 60000)) (const_int 4) (const_int 6)) (if_then_else (lt (abs (minus (pc) (match_dup 0))) (const_int 60000)) @@ -8282,7 +8282,7 @@ [(set_attr "op_type" "RI") (set_attr "type" "branch") (set (attr "length") - (if_then_else (eq (symbol_ref "flag_pic") (const_int 0)) + (if_then_else (not (match_test "flag_pic")) (if_then_else (lt (abs (minus (pc) (match_dup 0))) (const_int 60000)) (const_int 4) (const_int 6)) (if_then_else (lt (abs (minus (pc) (match_dup 0))) (const_int 60000)) @@ -9102,7 +9102,7 @@ gcc_unreachable (); } [(set (attr "type") - (if_then_else (ne (symbol_ref "TARGET_CPU_ZARCH") (const_int 0)) + (if_then_else (match_test "TARGET_CPU_ZARCH") (const_string "larl") (const_string "la")))]) (define_insn "reload_base_31" |