sparc.md (stack_protect_testsi): Put clobbers after all sets in the pattern.
[gcc.git] / gcc / config / rs6000 / rs6000.md
index 3f5c1b4b0dd941f7bbe09f0482b1ea8bc927ea72..f363a96a339baf4f92e037302e4d960fe7aefd69 100644 (file)
         (unspec:CCEQ [(match_operand:SI 1 "memory_operand" "m,m")
                      (match_operand:SI 2 "memory_operand" "m,m")]
                     UNSPEC_SP_TEST))
-   (clobber (match_scratch:SI 3 "=&r,&r"))
-   (set (match_scratch:SI 4 "=r,r") (const_int 0))]
+   (set (match_scratch:SI 4 "=r,r") (const_int 0))
+   (clobber (match_scratch:SI 3 "=&r,&r"))]
   "TARGET_32BIT"
   "@
    {l%U1%X1|lwz%U1%X1} %3,%1\;{l%U2%X2|lwz%U2%X2} %4,%2\;xor. %3,%3,%4\;{lil|li} %4,0
         (unspec:CCEQ [(match_operand:DI 1 "memory_operand" "m,m")
                      (match_operand:DI 2 "memory_operand" "m,m")]
                     UNSPEC_SP_TEST))
-   (clobber (match_scratch:DI 3 "=&r,&r"))
-   (set (match_scratch:DI 4 "=r,r") (const_int 0))]
+   (set (match_scratch:DI 4 "=r,r") (const_int 0))
+   (clobber (match_scratch:DI 3 "=&r,&r"))]
   "TARGET_64BIT"
   "@
    ld%U1%X1 %3,%1\;ld%U2%X2 %4,%2\;xor. %3,%3,%4\;{lil|li} %4,0