constraints.md: Use lower-case names in match_code.
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 2 Jun 2015 08:29:42 +0000 (08:29 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 2 Jun 2015 08:29:42 +0000 (08:29 +0000)
gcc/
* config/arc/constraints.md: Use lower-case names in match_code.
* config/mmix/constraints.md: Likewise.

From-SVN: r224014

gcc/ChangeLog
gcc/config/arc/constraints.md
gcc/config/mmix/constraints.md

index d7597c7..3a01820 100644 (file)
@@ -1,3 +1,8 @@
+2015-06-02  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * config/arc/constraints.md: Use lower-case names in match_code.
+       * config/mmix/constraints.md: Likewise.
+
 2015-06-02  Richard Biener  <rguenther@suse.de>
 
        PR tree-optimization/65961
index 9153062..9540075 100644 (file)
    Cryptic q - for short insn generation while not affecting register allocation
    Registers usable in ARCompact 16-bit instructions: @code{r0}-@code{r3},
    @code{r12}-@code{r15}"
-  (and (match_code "REG")
+  (and (match_code "reg")
        (match_test "TARGET_Rcq
                    && !arc_ccfsm_cond_exec_p ()
                    && IN_RANGE (REGNO (op) ^ 4, 4, 11)")))
 (define_constraint "Rcw"
   "@internal
    Cryptic w - for use in early alternatives with matching constraint"
-  (and (match_code "REG")
+  (and (match_code "reg")
        (match_test
        "TARGET_Rcw
         && REGNO (op) < FIRST_PSEUDO_REGISTER
 (define_constraint "Rcr"
   "@internal
    Cryptic r - for use in early alternatives with matching constraint"
-  (and (match_code "REG")
+  (and (match_code "reg")
        (match_test
        "TARGET_Rcw
         && REGNO (op) < FIRST_PSEUDO_REGISTER
 (define_constraint "Rcb"
   "@internal
    Stack Pointer register @code{r28} - do not reload into its class"
-  (and (match_code "REG")
+  (and (match_code "reg")
        (match_test "REGNO (op) == 28")))
 
 (define_constraint "Rck"
   "@internal
    blink (usful for push_s / pop_s)"
-  (and (match_code "REG")
+  (and (match_code "reg")
        (match_test "REGNO (op) == 31")))
 
 (define_constraint "Rs5"
    sibcall register - only allow one of the five available 16 bit isnsn.
    Registers usable in ARCompact 16-bit instructions: @code{r0}-@code{r3},
    @code{r12}"
-  (and (match_code "REG")
+  (and (match_code "reg")
        (match_test "!arc_ccfsm_cond_exec_p ()")
        (ior (match_test "(unsigned) REGNO (op) <= 3")
            (match_test "REGNO (op) == 12"))))
 (define_constraint "Rcc"
   "@internal
   Condition Codes"
-  (and (match_code "REG") (match_test "cc_register (op, VOIDmode)")))
+  (and (match_code "reg") (match_test "cc_register (op, VOIDmode)")))
 
 
 (define_constraint "Q"
index 569b2e5..f2721f7 100644 (file)
@@ -89,8 +89,8 @@
   (and (not (match_code "const_int,const_double"))
        (match_test "mmix_constant_address_p (op)")
        (ior (match_test "!TARGET_BASE_ADDRESSES")
-           (match_code "LABEL_REF")
-           (and (match_code "SYMBOL_REF")
+           (match_code "label_ref")
+           (and (match_code "symbol_ref")
                 (match_test "SYMBOL_REF_FLAG (op)")))))
 
 ;; FIXME: L (or S) is redundant.