]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2012-05-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
authorAndreas Krebbel <Andreas.Krebbel@de.ibm.com>
Fri, 4 May 2012 14:44:59 +0000 (14:44 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Fri, 4 May 2012 14:44:59 +0000 (14:44 +0000)
* config/s390/s390.md (*movmem_short, *clrmem_short)
(*cmpmem_short): Move the mode check from the insn condition to
the match_scratch.

From-SVN: r187159

gcc/ChangeLog
gcc/config/s390/s390.md

index a60912a16f7c83620a302249839262c45386d7aa..2e3fa0c05f512e91c6e6d698a7b9c005cf39c03b 100644 (file)
@@ -1,3 +1,9 @@
+2012-05-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * config/s390/s390.md (*movmem_short, *clrmem_short)
+       (*cmpmem_short): Move the mode check from the insn condition to
+       the match_scratch.
+
 2012-05-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
 
        PR tree-optimization/52633
index a875eec7b9fc77baebc02b9fb4a5950b9e31320f..ef1ab269bae74601eb61588bfb756be5fac48e2a 100644 (file)
         (match_operand:BLK 1 "memory_operand" "Q,Q,Q,Q"))
    (use (match_operand 2 "nonmemory_operand" "n,a,a,a"))
    (use (match_operand 3 "immediate_operand" "X,R,X,X"))
-   (clobber (match_scratch 4 "=X,X,X,&a"))]
-  "(GET_MODE (operands[2]) == Pmode || GET_MODE (operands[2]) == VOIDmode)
-   && GET_MODE (operands[4]) == Pmode"
+   (clobber (match_scratch:P 4 "=X,X,X,&a"))]
+  "(GET_MODE (operands[2]) == Pmode || GET_MODE (operands[2]) == VOIDmode)"
   "#"
   [(set_attr "type"         "cs")
    (set_attr "cpu_facility" "*,*,z10,*")])
         (const_int 0))
    (use (match_operand 1 "nonmemory_operand" "n,a,a,a"))
    (use (match_operand 2 "immediate_operand" "X,R,X,X"))
-   (clobber (match_scratch 3 "=X,X,X,&a"))
+   (clobber (match_scratch:P 3 "=X,X,X,&a"))
    (clobber (reg:CC CC_REGNUM))]
-  "(GET_MODE (operands[1]) == Pmode || GET_MODE (operands[1]) == VOIDmode)
-   && GET_MODE (operands[3]) == Pmode"
+  "(GET_MODE (operands[1]) == Pmode || GET_MODE (operands[1]) == VOIDmode)"
   "#"
   [(set_attr "type" "cs")
    (set_attr "cpu_facility" "*,*,z10,*")])
                      (match_operand:BLK 1 "memory_operand" "Q,Q,Q,Q")))
    (use (match_operand 2 "nonmemory_operand" "n,a,a,a"))
    (use (match_operand 3 "immediate_operand" "X,R,X,X"))
-   (clobber (match_scratch 4 "=X,X,X,&a"))]
-  "(GET_MODE (operands[2]) == Pmode || GET_MODE (operands[2]) == VOIDmode)
-   && GET_MODE (operands[4]) == Pmode"
+   (clobber (match_scratch:P 4 "=X,X,X,&a"))]
+  "(GET_MODE (operands[2]) == Pmode || GET_MODE (operands[2]) == VOIDmode)"
   "#"
   [(set_attr "type" "cs")
    (set_attr "cpu_facility" "*,*,z10,*")])