Commit 2abaee93 by Jim Wilson

Correct inconsistent operand constraints in peepholes.

From-SVN: r1693
parent 303d524a
...@@ -2984,9 +2984,9 @@ ...@@ -2984,9 +2984,9 @@
;; explained in the code for {registers,memory}_ok_for_ldd functions. ;; explained in the code for {registers,memory}_ok_for_ldd functions.
(define_peephole (define_peephole
[(set (match_operand:SI 0 "register_operand" "r") [(set (match_operand:SI 0 "register_operand" "=r")
(match_operand:SI 1 "memory_operand" "")) (match_operand:SI 1 "memory_operand" ""))
(set (match_operand:SI 2 "register_operand" "r") (set (match_operand:SI 2 "register_operand" "=r")
(match_operand:SI 3 "memory_operand" ""))] (match_operand:SI 3 "memory_operand" ""))]
"registers_ok_for_ldd_peep (operands[0], operands[2]) "registers_ok_for_ldd_peep (operands[0], operands[2])
&& ! MEM_VOLATILE_P (operands[1]) && ! MEM_VOLATILE_P (operands[3]) && ! MEM_VOLATILE_P (operands[1]) && ! MEM_VOLATILE_P (operands[3])
...@@ -3004,9 +3004,9 @@ ...@@ -3004,9 +3004,9 @@
"std %1,%0") "std %1,%0")
(define_peephole (define_peephole
[(set (match_operand:SF 0 "register_operand" "fr") [(set (match_operand:SF 0 "register_operand" "=fr")
(match_operand:SF 1 "memory_operand" "")) (match_operand:SF 1 "memory_operand" ""))
(set (match_operand:SF 2 "register_operand" "fr") (set (match_operand:SF 2 "register_operand" "=fr")
(match_operand:SF 3 "memory_operand" ""))] (match_operand:SF 3 "memory_operand" ""))]
"registers_ok_for_ldd_peep (operands[0], operands[2]) "registers_ok_for_ldd_peep (operands[0], operands[2])
&& ! MEM_VOLATILE_P (operands[1]) && ! MEM_VOLATILE_P (operands[3]) && ! MEM_VOLATILE_P (operands[1]) && ! MEM_VOLATILE_P (operands[3])
...@@ -3024,9 +3024,9 @@ ...@@ -3024,9 +3024,9 @@
"std %1,%0") "std %1,%0")
(define_peephole (define_peephole
[(set (match_operand:SI 0 "register_operand" "r") [(set (match_operand:SI 0 "register_operand" "=r")
(match_operand:SI 1 "memory_operand" "")) (match_operand:SI 1 "memory_operand" ""))
(set (match_operand:SI 2 "register_operand" "r") (set (match_operand:SI 2 "register_operand" "=r")
(match_operand:SI 3 "memory_operand" ""))] (match_operand:SI 3 "memory_operand" ""))]
"registers_ok_for_ldd_peep (operands[2], operands[0]) "registers_ok_for_ldd_peep (operands[2], operands[0])
&& ! MEM_VOLATILE_P (operands[3]) && ! MEM_VOLATILE_P (operands[1]) && ! MEM_VOLATILE_P (operands[3]) && ! MEM_VOLATILE_P (operands[1])
...@@ -3044,9 +3044,9 @@ ...@@ -3044,9 +3044,9 @@
"std %3,%2") "std %3,%2")
(define_peephole (define_peephole
[(set (match_operand:SF 0 "register_operand" "fr") [(set (match_operand:SF 0 "register_operand" "=fr")
(match_operand:SF 1 "memory_operand" "")) (match_operand:SF 1 "memory_operand" ""))
(set (match_operand:SF 2 "register_operand" "fr") (set (match_operand:SF 2 "register_operand" "=fr")
(match_operand:SF 3 "memory_operand" ""))] (match_operand:SF 3 "memory_operand" ""))]
"registers_ok_for_ldd_peep (operands[2], operands[0]) "registers_ok_for_ldd_peep (operands[2], operands[0])
&& ! MEM_VOLATILE_P (operands[3]) && ! MEM_VOLATILE_P (operands[1]) && ! MEM_VOLATILE_P (operands[3]) && ! MEM_VOLATILE_P (operands[1])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment