* mn10200.md (addsi3 expander): Use "nonmemory_operand" for operand 2.

From-SVN: r24336
This commit is contained in:
Jeffrey A Law 1998-12-15 22:44:50 +00:00 committed by Jeff Law
parent a07516d393
commit b884a51af9
2 changed files with 6 additions and 1 deletions

View File

@ -16,6 +16,8 @@ Wed Dec 16 17:24:07 1998 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
Tue Dec 15 13:49:55 1998 Jeffrey A Law (law@cygnus.com)
* mn10200.md (addsi3 expander): Use "nonmemory_operand" for operand 2.
* mn10300.md (bset, bclr): Operand 0 is a read/write operand.
* mn10200.md (abssf2, negsf2): New expanders.

View File

@ -371,10 +371,13 @@
;;
;; So we call out to a library routine to perform 32bit add or
;; subtract operations.
;;
;; operand2 must be nonmemory_operand so that we will accept CONST_INTs
;; during initial code generation.
(define_expand "addsi3"
[(set (match_operand:SI 0 "register_operand" "")
(plus:SI (match_operand:SI 1 "register_operand" "")
(match_operand:SI 2 "register_operand" "")))]
(match_operand:SI 2 "nonmemory_operand" "")))]
""
"
{