summaryrefslogtreecommitdiff
path: root/gcc/config/picochip/picochip.md
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/picochip/picochip.md')
-rw-r--r--gcc/config/picochip/picochip.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/picochip/picochip.md b/gcc/config/picochip/picochip.md
index fbe2280e123..b1c643216fc 100644
--- a/gcc/config/picochip/picochip.md
+++ b/gcc/config/picochip/picochip.md
@@ -1154,7 +1154,7 @@
;; ALU 1 where it cannot modify CC.
(define_insn "*lea_add"
- [(set (match_operand:HI 0 "register_operand" "=r")
+ [(set (match_operand:HI 0 "nonimmediate_operand" "=r")
(plus:HI (match_operand:HI 1 "register_operand" "r")
(match_operand:HI 2 "immediate_operand" "i")))]
""
@@ -1164,8 +1164,8 @@
;; "p" constraint cannot be specified for operands other than
;; address_operand, hence the extra pattern below.
(define_insn "*lea_move"
- [(set (match_operand:HI 0 "nonimmediate_operand" "=r,r")
- (match_operand:HI 1 "address_operand" "p,b"))]
+ [(set (match_operand:HI 0 "nonimmediate_operand" "=r")
+ (match_operand:HI 1 "address_operand" "p"))]
""
{
if (REG == GET_CODE(operands[1]))