OSDN Git Service

gcc/
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Sep 2011 18:14:26 +0000 (18:14 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Sep 2011 18:14:26 +0000 (18:14 +0000)
* config/pa/pa.md: Use match_test rather than eq/ne symbol_ref
throughout file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178825 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/pa/pa.md

index 2bc53d1..4ab3029 100644 (file)
@@ -1,5 +1,10 @@
 2011-09-13  Richard Sandiford  <rdsandiford@googlemail.com>
 
+       * config/pa/pa.md: Use match_test rather than eq/ne symbol_ref
+       throughout file.
+
+2011-09-13  Richard Sandiford  <rdsandiford@googlemail.com>
+
        * config/mn10300/mn10300.md: Use match_test rather than eq/ne
        symbol_ref throughout file.
 
index 62369a5..8a170b9 100644 (file)
              (eq_attr "length" "4"))
           (const_string "true")
         (eq_attr "type" "uncond_branch")
-          (if_then_else (ne (symbol_ref "TARGET_JUMP_IN_DELAY")
-                            (const_int 0))
+          (if_then_else (match_test "TARGET_JUMP_IN_DELAY")
                         (const_string "true")
                         (const_string "false"))]
        (const_string "false")))
        (attr_flag "backward"))])
 
 (define_delay (and (eq_attr "type" "uncond_branch")
-                  (eq (symbol_ref "following_call (insn)")
-                      (const_int 0)))
+                  (not (match_test "following_call (insn)")))
   [(eq_attr "in_branch_delay" "true") (nil) (nil)])
 
 ;; Memory. Disregarding Cache misses, the Mustang memory times are:
           (lt (abs (minus (match_dup 0) (plus (pc) (const_int 8))))
               (const_int MAX_17BIT_OFFSET))
           (const_int 8)
-          (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+          (match_test "TARGET_PORTABLE_RUNTIME")
           (const_int 24)
-          (eq (symbol_ref "flag_pic") (const_int 0))
+          (not (match_test "flag_pic"))
           (const_int 20)]
          (const_int 28)))])
 
           (lt (abs (minus (match_dup 0) (plus (pc) (const_int 8))))
               (const_int MAX_17BIT_OFFSET))
           (const_int 8)
-          (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+          (match_test "TARGET_PORTABLE_RUNTIME")
           (const_int 24)
-          (eq (symbol_ref "flag_pic") (const_int 0))
+          (not (match_test "flag_pic"))
           (const_int 20)]
          (const_int 28)))])
 
           (lt (abs (minus (match_dup 0) (plus (pc) (const_int 8))))
               (const_int MAX_17BIT_OFFSET))
           (const_int 8)
-          (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+          (match_test "TARGET_PORTABLE_RUNTIME")
           (const_int 24)
-          (eq (symbol_ref "flag_pic") (const_int 0))
+          (not (match_test "flag_pic"))
           (const_int 20)]
          (const_int 28)))])
 
           (lt (abs (minus (match_dup 0) (plus (pc) (const_int 8))))
               (const_int MAX_17BIT_OFFSET))
           (const_int 8)
-          (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+          (match_test "TARGET_PORTABLE_RUNTIME")
           (const_int 24)
-          (eq (symbol_ref "flag_pic") (const_int 0))
+          (not (match_test "flag_pic"))
           (const_int 20)]
          (const_int 28)))])
 (define_insn ""
           (lt (abs (minus (match_dup 0) (plus (pc) (const_int 8))))
               (const_int MAX_17BIT_OFFSET))
           (const_int 8)
-          (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+          (match_test "TARGET_PORTABLE_RUNTIME")
           (const_int 24)
-          (eq (symbol_ref "flag_pic") (const_int 0))
+          (not (match_test "flag_pic"))
           (const_int 20)]
          (const_int 28)))])
 
           (lt (abs (minus (match_dup 0) (plus (pc) (const_int 8))))
               (const_int MAX_17BIT_OFFSET))
           (const_int 8)
-          (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+          (match_test "TARGET_PORTABLE_RUNTIME")
           (const_int 24)
-          (eq (symbol_ref "flag_pic") (const_int 0))
+          (not (match_test "flag_pic"))
           (const_int 20)]
          (const_int 28)))])
 
           (lt (abs (minus (match_dup 2) (plus (pc) (const_int 8))))
               (const_int MAX_17BIT_OFFSET))
           (const_int 8)
-          (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+          (match_test "TARGET_PORTABLE_RUNTIME")
           (const_int 24)
-          (eq (symbol_ref "flag_pic") (const_int 0))
+          (not (match_test "flag_pic"))
           (const_int 20)]
          (const_int 28)))])
 
           (lt (abs (minus (match_dup 2) (plus (pc) (const_int 8))))
               (const_int MAX_17BIT_OFFSET))
           (const_int 8)
-          (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+          (match_test "TARGET_PORTABLE_RUNTIME")
           (const_int 24)
-          (eq (symbol_ref "flag_pic") (const_int 0))
+          (not (match_test "flag_pic"))
           (const_int 20)]
          (const_int 28)))])
 
           (lt (abs (minus (match_dup 2) (plus (pc) (const_int 8))))
               (const_int MAX_17BIT_OFFSET))
           (const_int 8)
-          (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+          (match_test "TARGET_PORTABLE_RUNTIME")
           (const_int 24)
-          (eq (symbol_ref "flag_pic") (const_int 0))
+          (not (match_test "flag_pic"))
           (const_int 20)]
          (const_int 28)))])
 
           (lt (abs (minus (match_dup 2) (plus (pc) (const_int 8))))
               (const_int MAX_17BIT_OFFSET))
           (const_int 8)
-          (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+          (match_test "TARGET_PORTABLE_RUNTIME")
           (const_int 24)
-          (eq (symbol_ref "flag_pic") (const_int 0))
+          (not (match_test "flag_pic"))
           (const_int 20)]
          (const_int 28)))])
 
           (lt (abs (minus (match_dup 2) (plus (pc) (const_int 8))))
               (const_int MAX_17BIT_OFFSET))
           (const_int 8)
-          (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+          (match_test "TARGET_PORTABLE_RUNTIME")
           (const_int 24)
-          (eq (symbol_ref "flag_pic") (const_int 0))
+          (not (match_test "flag_pic"))
           (const_int 20)]
          (const_int 28)))])
 
           (lt (abs (minus (match_dup 2) (plus (pc) (const_int 8))))
               (const_int MAX_17BIT_OFFSET))
           (const_int 8)
-          (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+          (match_test "TARGET_PORTABLE_RUNTIME")
           (const_int 24)
-          (eq (symbol_ref "flag_pic") (const_int 0))
+          (not (match_test "flag_pic"))
           (const_int 20)]
          (const_int 28)))])
 
           (lt (abs (minus (match_dup 2) (plus (pc) (const_int 8))))
               (const_int MAX_17BIT_OFFSET))
           (const_int 8)
-          (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+          (match_test "TARGET_PORTABLE_RUNTIME")
           (const_int 24)
-          (eq (symbol_ref "flag_pic") (const_int 0))
+          (not (match_test "flag_pic"))
           (const_int 20)]
          (const_int 28)))])
 
           (lt (abs (minus (match_dup 2) (plus (pc) (const_int 8))))
               (const_int MAX_17BIT_OFFSET))
           (const_int 8)
-          (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+          (match_test "TARGET_PORTABLE_RUNTIME")
           (const_int 24)
-          (eq (symbol_ref "flag_pic") (const_int 0))
+          (not (match_test "flag_pic"))
           (const_int 20)]
          (const_int 28)))])
 
           (lt (abs (minus (match_dup 2) (plus (pc) (const_int 8))))
               (const_int MAX_17BIT_OFFSET))
           (const_int 8)
-          (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+          (match_test "TARGET_PORTABLE_RUNTIME")
           (const_int 24)
-          (eq (symbol_ref "flag_pic") (const_int 0))
+          (not (match_test "flag_pic"))
           (const_int 20)]
          (const_int 28)))])
 
           (lt (abs (minus (match_dup 2) (plus (pc) (const_int 8))))
               (const_int MAX_17BIT_OFFSET))
           (const_int 8)
-          (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+          (match_test "TARGET_PORTABLE_RUNTIME")
           (const_int 24)
-          (eq (symbol_ref "flag_pic") (const_int 0))
+          (not (match_test "flag_pic"))
           (const_int 20)]
          (const_int 28)))])
 
           (lt (abs (minus (match_dup 2) (plus (pc) (const_int 8))))
               (const_int MAX_17BIT_OFFSET))
           (const_int 8)
-          (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+          (match_test "TARGET_PORTABLE_RUNTIME")
           (const_int 24)
-          (eq (symbol_ref "flag_pic") (const_int 0))
+          (not (match_test "flag_pic"))
           (const_int 20)]
          (const_int 28)))])
 
           (lt (abs (minus (match_dup 2) (plus (pc) (const_int 8))))
               (const_int MAX_17BIT_OFFSET))
           (const_int 8)
-          (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+          (match_test "TARGET_PORTABLE_RUNTIME")
           (const_int 24)
-          (eq (symbol_ref "flag_pic") (const_int 0))
+          (not (match_test "flag_pic"))
           (const_int 20)]
          (const_int 28)))])
 
           (lt (abs (minus (match_dup 2) (plus (pc) (const_int 8))))
               (const_int MAX_17BIT_OFFSET))
           (const_int 8)
-          (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+          (match_test "TARGET_PORTABLE_RUNTIME")
           (const_int 24)
-          (eq (symbol_ref "flag_pic") (const_int 0))
+          (not (match_test "flag_pic"))
           (const_int 20)]
          (const_int 28)))])
 
           (lt (abs (minus (match_dup 2) (plus (pc) (const_int 8))))
               (const_int MAX_17BIT_OFFSET))
           (const_int 8)
-          (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+          (match_test "TARGET_PORTABLE_RUNTIME")
           (const_int 24)
-          (eq (symbol_ref "flag_pic") (const_int 0))
+          (not (match_test "flag_pic"))
           (const_int 20)]
          (const_int 28)))])
 
           (lt (abs (minus (match_dup 2) (plus (pc) (const_int 8))))
               (const_int MAX_17BIT_OFFSET))
           (const_int 8)
-          (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+          (match_test "TARGET_PORTABLE_RUNTIME")
           (const_int 24)
-          (eq (symbol_ref "flag_pic") (const_int 0))
+          (not (match_test "flag_pic"))
           (const_int 20)]
          (const_int 28)))])
 
           (lt (abs (minus (match_dup 2) (plus (pc) (const_int 8))))
               (const_int MAX_17BIT_OFFSET))
           (const_int 8)
-          (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+          (match_test "TARGET_PORTABLE_RUNTIME")
           (const_int 24)
-          (eq (symbol_ref "flag_pic") (const_int 0))
+          (not (match_test "flag_pic"))
           (const_int 20)]
          (const_int 28)))])
 
     (cond [(lt (abs (minus (match_dup 0) (plus (pc) (const_int 8))))
               (const_int MAX_17BIT_OFFSET))
           (const_int 8)
-          (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+          (match_test "TARGET_PORTABLE_RUNTIME")
           (const_int 32)
-          (eq (symbol_ref "flag_pic") (const_int 0))
+          (not (match_test "flag_pic"))
           (const_int 28)]
          (const_int 36)))])
 
     (cond [(lt (abs (minus (match_dup 0) (plus (pc) (const_int 8))))
               (const_int MAX_17BIT_OFFSET))
           (const_int 12)
-          (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+          (match_test "TARGET_PORTABLE_RUNTIME")
           (const_int 28)
-          (eq (symbol_ref "flag_pic") (const_int 0))
+          (not (match_test "flag_pic"))
           (const_int 24)]
          (const_int 32)))])
 
 }"
   [(set_attr "type" "binary")
    (set (attr "length")
-      (if_then_else (eq (symbol_ref "TARGET_LONG_LOAD_STORE") (const_int 0))
+      (if_then_else (not (match_test "TARGET_LONG_LOAD_STORE"))
                    (const_int 4)
                    (const_int 8)))])
 
 }"
   [(set_attr "type" "multi")
    (set (attr "length")
-       (if_then_else (ne (symbol_ref "rtx_equal_p (operands[0], operands[1])")
-                         (const_int 0))
+       (if_then_else (match_test "rtx_equal_p (operands[0], operands[1])")
            (const_int 12)
            (const_int 16)))])
 
   [(set_attr "type" "uncond_branch")
    (set_attr "pa_combine_type" "uncond_branch")
    (set (attr "length")
-    (cond [(eq (symbol_ref "jump_in_call_delay (insn)") (const_int 1))
+    (cond [(match_test "jump_in_call_delay (insn)")
           (if_then_else (lt (abs (minus (match_dup 0)
                                         (plus (pc) (const_int 8))))
                             (const_int MAX_12BIT_OFFSET))
           (lt (abs (minus (match_dup 0) (plus (pc) (const_int 8))))
               (const_int MAX_17BIT_OFFSET))
           (const_int 4)
-          (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+          (match_test "TARGET_PORTABLE_RUNTIME")
           (const_int 20)
-          (eq (symbol_ref "flag_pic") (const_int 0))
+          (not (match_test "flag_pic"))
           (const_int 16)]
          (const_int 24)))])
 
 {ldwx|ldw},s %0(%2),%3\;{addl|add,l} %2,%3,%3\;bv,n %%r0(%3)"
   [(set_attr "type" "multi")
    (set (attr "length")
-     (if_then_else (ne (symbol_ref "TARGET_PA_20") (const_int 0))
+     (if_then_else (match_test "TARGET_PA_20")
        (const_int 20)
        (const_int 24)))])
 
@@ -8610,9 +8607,9 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
           (lt (abs (minus (match_dup 3) (plus (pc) (const_int 8))))
               (const_int MAX_17BIT_OFFSET))
           (const_int 8)
-          (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+          (match_test "TARGET_PORTABLE_RUNTIME")
           (const_int 24)
-          (eq (symbol_ref "flag_pic") (const_int 0))
+          (not (match_test "flag_pic"))
           (const_int 20)]
          (const_int 28))
 
@@ -8626,9 +8623,9 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
                    (lt (abs (minus (match_dup 3) (plus (pc) (const_int 24))))
                      (const_int MAX_17BIT_OFFSET))
                    (const_int 28)
-                   (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+                   (match_test "TARGET_PORTABLE_RUNTIME")
                    (const_int 44)
-                   (eq (symbol_ref "flag_pic") (const_int 0))
+                   (not (match_test "flag_pic"))
                    (const_int 40)]
                  (const_int 48))
             (cond [(lt (abs (minus (match_dup 3) (plus (pc) (const_int 8))))
@@ -8637,9 +8634,9 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
                    (lt (abs (minus (match_dup 3) (plus (pc) (const_int 8))))
                      (const_int MAX_17BIT_OFFSET))
                    (const_int 28)
-                   (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+                   (match_test "TARGET_PORTABLE_RUNTIME")
                    (const_int 44)
-                   (eq (symbol_ref "flag_pic") (const_int 0))
+                   (not (match_test "flag_pic"))
                    (const_int 40)]
                  (const_int 48)))
 
@@ -8652,9 +8649,9 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
                    (lt (abs (minus (match_dup 3) (plus (pc) (const_int 12))))
                      (const_int MAX_17BIT_OFFSET))
                    (const_int 16)
-                   (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+                   (match_test "TARGET_PORTABLE_RUNTIME")
                    (const_int 32)
-                   (eq (symbol_ref "flag_pic") (const_int 0))
+                   (not (match_test "flag_pic"))
                    (const_int 28)]
                  (const_int 36))
             (cond [(lt (abs (minus (match_dup 3) (plus (pc) (const_int 8))))
@@ -8663,9 +8660,9 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
                    (lt (abs (minus (match_dup 3) (plus (pc) (const_int 8))))
                      (const_int MAX_17BIT_OFFSET))
                    (const_int 16)
-                   (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+                   (match_test "TARGET_PORTABLE_RUNTIME")
                    (const_int 32)
-                   (eq (symbol_ref "flag_pic") (const_int 0))
+                   (not (match_test "flag_pic"))
                    (const_int 28)]
                  (const_int 36))))))])
 
@@ -8693,9 +8690,9 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
           (lt (abs (minus (match_dup 3) (plus (pc) (const_int 8))))
               (const_int MAX_17BIT_OFFSET))
           (const_int 8)
-          (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+          (match_test "TARGET_PORTABLE_RUNTIME")
           (const_int 24)
-          (eq (symbol_ref "flag_pic") (const_int 0))
+          (not (match_test "flag_pic"))
           (const_int 20)]
          (const_int 28))
 
@@ -8709,9 +8706,9 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
                    (lt (abs (minus (match_dup 3) (plus (pc) (const_int 12))))
                      (const_int MAX_17BIT_OFFSET))
                    (const_int 16)
-                   (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+                   (match_test "TARGET_PORTABLE_RUNTIME")
                    (const_int 32)
-                   (eq (symbol_ref "flag_pic") (const_int 0))
+                   (not (match_test "flag_pic"))
                    (const_int 28)]
                  (const_int 36))
             (cond [(lt (abs (minus (match_dup 3) (plus (pc) (const_int 8))))
@@ -8720,9 +8717,9 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
                    (lt (abs (minus (match_dup 3) (plus (pc) (const_int 8))))
                      (const_int MAX_17BIT_OFFSET))
                    (const_int 16)
-                   (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+                   (match_test "TARGET_PORTABLE_RUNTIME")
                    (const_int 32)
-                   (eq (symbol_ref "flag_pic") (const_int 0))
+                   (not (match_test "flag_pic"))
                    (const_int 28)]
                  (const_int 36)))
 
@@ -8734,9 +8731,9 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
                (lt (abs (minus (match_dup 3) (plus (pc) (const_int 8))))
                  (const_int MAX_17BIT_OFFSET))
                (const_int 12)
-               (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+               (match_test "TARGET_PORTABLE_RUNTIME")
                (const_int 28)
-               (eq (symbol_ref "flag_pic") (const_int 0))
+               (not (match_test "flag_pic"))
                (const_int 24)]
              (const_int 32)))))])
 
@@ -8765,9 +8762,9 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
           (lt (abs (minus (match_dup 3) (plus (pc) (const_int 8))))
               (const_int MAX_17BIT_OFFSET))
           (const_int 8)
-          (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+          (match_test "TARGET_PORTABLE_RUNTIME")
           (const_int 24)
-          (eq (symbol_ref "flag_pic") (const_int 0))
+          (not (match_test "flag_pic"))
           (const_int 20)]
          (const_int 28))
 
@@ -8781,9 +8778,9 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
                    (lt (abs (minus (match_dup 3) (plus (pc) (const_int 12))))
                      (const_int MAX_17BIT_OFFSET))
                    (const_int 16)
-                   (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+                   (match_test "TARGET_PORTABLE_RUNTIME")
                    (const_int 32)
-                   (eq (symbol_ref "flag_pic") (const_int 0))
+                   (not (match_test "flag_pic"))
                    (const_int 28)]
                  (const_int 36))
             (cond [(lt (abs (minus (match_dup 3) (plus (pc) (const_int 8))))
@@ -8792,9 +8789,9 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
                    (lt (abs (minus (match_dup 3) (plus (pc) (const_int 8))))
                      (const_int MAX_17BIT_OFFSET))
                    (const_int 16)
-                   (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+                   (match_test "TARGET_PORTABLE_RUNTIME")
                    (const_int 32)
-                   (eq (symbol_ref "flag_pic") (const_int 0))
+                   (not (match_test "flag_pic"))
                    (const_int 28)]
                  (const_int 36)))
 
@@ -8806,9 +8803,9 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
                (lt (abs (minus (match_dup 3) (plus (pc) (const_int 8))))
                  (const_int MAX_17BIT_OFFSET))
                (const_int 12)
-               (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+               (match_test "TARGET_PORTABLE_RUNTIME")
                (const_int 28)
-               (eq (symbol_ref "flag_pic") (const_int 0))
+               (not (match_test "flag_pic"))
                (const_int 24)]
              (const_int 32)))))])
 
@@ -8830,9 +8827,9 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
           (lt (abs (minus (match_dup 3) (plus (pc) (const_int 8))))
               (const_int MAX_17BIT_OFFSET))
           (const_int 8)
-          (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+          (match_test "TARGET_PORTABLE_RUNTIME")
           (const_int 24)
-          (eq (symbol_ref "flag_pic") (const_int 0))
+          (not (match_test "flag_pic"))
           (const_int 20)]
          (const_int 28)))])
 
@@ -8853,9 +8850,9 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
           (lt (abs (minus (match_dup 2) (plus (pc) (const_int 8))))
               (const_int MAX_17BIT_OFFSET))
           (const_int 8)
-          (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+          (match_test "TARGET_PORTABLE_RUNTIME")
           (const_int 24)
-          (eq (symbol_ref "flag_pic") (const_int 0))
+          (not (match_test "flag_pic"))
           (const_int 20)]
          (const_int 28)))])
 
@@ -8876,9 +8873,9 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
           (lt (abs (minus (match_dup 2) (plus (pc) (const_int 8))))
               (const_int MAX_17BIT_OFFSET))
           (const_int 8)
-          (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+          (match_test "TARGET_PORTABLE_RUNTIME")
           (const_int 24)
-          (eq (symbol_ref "flag_pic") (const_int 0))
+          (not (match_test "flag_pic"))
           (const_int 20)]
          (const_int 28)))])
 
@@ -8899,9 +8896,9 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
           (lt (abs (minus (match_dup 2) (plus (pc) (const_int 8))))
               (const_int MAX_17BIT_OFFSET))
           (const_int 8)
-          (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+          (match_test "TARGET_PORTABLE_RUNTIME")
           (const_int 24)
-          (eq (symbol_ref "flag_pic") (const_int 0))
+          (not (match_test "flag_pic"))
           (const_int 20)]
          (const_int 28)))])
 
@@ -8922,9 +8919,9 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
           (lt (abs (minus (match_dup 2) (plus (pc) (const_int 8))))
               (const_int MAX_17BIT_OFFSET))
           (const_int 8)
-          (ne (symbol_ref "TARGET_PORTABLE_RUNTIME") (const_int 0))
+          (match_test "TARGET_PORTABLE_RUNTIME")
           (const_int 24)
-          (eq (symbol_ref "flag_pic") (const_int 0))
+          (not (match_test "flag_pic"))
           (const_int 20)]
          (const_int 28)))])