]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/rs6000/constraints.md (Y, U): Use match_test.
authorDavid Edelsohn <dje.gcc@gmail.com>
Tue, 26 May 2015 15:16:35 +0000 (15:16 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Tue, 26 May 2015 15:16:35 +0000 (11:16 -0400)
From-SVN: r223702

gcc/ChangeLog
gcc/config/rs6000/constraints.md

index e82dda010dccbd64efe08c3b833f30ce1142a628..23e92d8e1cb320cc35defa430d7dfb341409b4d0 100644 (file)
@@ -1,3 +1,7 @@
+2015-05-26  David Edelsohn  <dje.gcc@gmail.com>
+
+       * config/rs6000/constraints.md (Y, U): Use match_test.
+
 2015-05-26  Christian Bruel  <christian.bruel@st.com>
 
        PR target/52144
index eb3ffbe73c57b767b0248c427a1c695d18567aa1..7fc635b07a7e7a656a57fa7bc1778951fac396e1 100644 (file)
@@ -211,7 +211,7 @@ to use @samp{m} or @samp{es} in @code{asm} statements)"
 (define_memory_constraint "Y"
   "memory operand for 8 byte and 16 byte gpr load/store"
   (and (match_code "mem")
-       (match_operand 0 "mem_operand_gpr")))
+       (match_test "mem_operand_gpr (op, mode)")))
 
 (define_memory_constraint "Z"
   "Memory operand that is an indexed or indirect from a register (it is
@@ -242,7 +242,7 @@ usually better to use @samp{m} or @samp{es} in @code{asm} statements)"
 (define_constraint "U"
   "V.4 small data reference"
   (and (match_test "DEFAULT_ABI == ABI_V4")
-       (match_operand 0 "small_data_operand")))
+       (match_test "small_data_operand (op, mode)")))
 
 (define_constraint "t"
   "AND masks that can be performed by two rldic{l,r} insns