* mn10200.md (addsi3 expander): Use "nonmemory_operand" for operand 2.
authorJeffrey A Law <law@cygnus.com>
Tue, 15 Dec 1998 22:44:50 +0000 (22:44 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 15 Dec 1998 22:44:50 +0000 (15:44 -0700)
From-SVN: r24336

gcc/ChangeLog
gcc/config/mn10200/mn10200.md

index 828390a78517346756a076daeb7b0f614fffcb5c..a11ec21bb26608a65d0907046ef1e2276dbf7984 100644 (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.
index 2a693b4dbdab4e201caaa9a950228ddd888b27ec..6ba1514782725c318876c7fca56b98bd813758a7 100644 (file)
 ;;
 ;; 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" "")))]
   ""
   "
 {