bfin.md (pushsi_insn, popsi_insn): Set correct addrtype attribute.

* config/bfin/bfin.md (pushsi_insn, popsi_insn): Set correct addrtype
	attribute.

From-SVN: r119408
This commit is contained in:
Bernd Schmidt 2006-12-01 17:53:42 +00:00 committed by Bernd Schmidt
parent e01e02016b
commit 35e3ced91a
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2006-12-01 Bernd Schmidt <bernd.schmidt@analog.com>
* config/bfin/bfin.md (pushsi_insn, popsi_insn): Set correct addrtype
attribute.
2006-12-01 Richard Guenther <rguenther@suse.de>
PR c++/29433

View file

@ -502,15 +502,16 @@
""
"[--SP] = %0;"
[(set_attr "type" "mcst")
(set_attr "addrtype" "32bit")
(set_attr "length" "2")])
(define_insn "*popsi_insn"
[(set (match_operand:SI 0 "register_operand" "=xy")
[(set (match_operand:SI 0 "register_operand" "=d,xy")
(mem:SI (post_inc:SI (reg:SI REG_SP))))]
""
"%0 = [SP++];"
[(set_attr "type" "mcld")
(set_attr "addrtype" "preg")
(set_attr "addrtype" "preg,32bit")
(set_attr "length" "2")])
;; The first alternative is used to make reload choose a limited register