diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/stormy16/stormy16.md | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5c68d17..fc1f691 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-11-21 DJ Delorie <dj@redhat.com> + + * config/stormy16/stormy16.md (movqi_internal, movhi_internal): + Moves to/from below100 space (W) can only use r0-r7. + 2008-11-21 Paolo Carlini <paolo.carlini@oracle.com> PR other/38214 diff --git a/gcc/config/stormy16/stormy16.md b/gcc/config/stormy16/stormy16.md index 0c754364..99bed26 100644 --- a/gcc/config/stormy16/stormy16.md +++ b/gcc/config/stormy16/stormy16.md @@ -132,8 +132,8 @@ "{ xstormy16_expand_move (QImode, operands[0], operands[1]); DONE; }") (define_insn "movqi_internal" - [(set (match_operand:QI 0 "nonimmediate_nonstack_operand" "=r,m,e,e,T,r,S,W,r") - (match_operand:QI 1 "general_operand" "r,e,m,i,i,i,i,ir,W"))] + [(set (match_operand:QI 0 "nonimmediate_nonstack_operand" "=r,m,e,e,T,r,S,W,e") + (match_operand:QI 1 "general_operand" "r,e,m,i,i,i,i,ie,W"))] "" "@ mov %0,%1 @@ -184,7 +184,7 @@ "{ xstormy16_expand_move (HImode, operands[0], operands[1]); DONE; }") (define_insn "movhi_internal" - [(set (match_operand:HI 0 "nonimmediate_nonstack_operand" "=r,m,e,e,T,r,S,W,r") + [(set (match_operand:HI 0 "nonimmediate_nonstack_operand" "=r,m,e,e,T,r,S,W,e") (match_operand:HI 1 "xs_hi_general_operand" "r,e,m,L,L,i,i,ie,W"))] "" "@ |