don't use psh.w sp

From-SVN: r2683
This commit is contained in:
Chris Smith 1992-11-03 16:24:25 +00:00
parent 1515844084
commit b76e0b7680
2 changed files with 12 additions and 1 deletions

View File

@ -315,7 +315,10 @@ enum reg_class {
/* S regs use the letter 'd' because 's' is taken. */
#define REG_CLASS_FROM_LETTER(C) \
((C) == 'a' ? A_REGS : (C) == 'd' ? S_REGS : NO_REGS)
((C) == 'a' ? A_REGS : \
(C) == 'd' ? S_REGS : \
(C) == 'A' ? INDEX_REGS : \
NO_REGS)
/* The letters I, J, K, L and M in a register constraint string
can be used to stand for particular ranges of immediate operands.

View File

@ -249,6 +249,14 @@
""
"")
(define_insn ""
[(set (match_operand:SI 0 "push_operand" "=<,<")
(match_operand:SI 1 "general_operand" "Ad,io"))]
""
"@
psh.w %1
pshea %a1")
(define_insn ""
[(set (match_operand:SI 0 "general_operand" "=g,r,<")
(match_operand:SI 1 "general_operand" "r,g,io"))]