Commit b76e0b76 by Chris Smith

don't use psh.w sp

From-SVN: r2683
parent 15158440
...@@ -315,7 +315,10 @@ enum reg_class { ...@@ -315,7 +315,10 @@ enum reg_class {
/* S regs use the letter 'd' because 's' is taken. */ /* S regs use the letter 'd' because 's' is taken. */
#define REG_CLASS_FROM_LETTER(C) \ #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 /* The letters I, J, K, L and M in a register constraint string
can be used to stand for particular ranges of immediate operands. can be used to stand for particular ranges of immediate operands.
......
...@@ -250,6 +250,14 @@ ...@@ -250,6 +250,14 @@
"") "")
(define_insn "" (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,<") [(set (match_operand:SI 0 "general_operand" "=g,r,<")
(match_operand:SI 1 "general_operand" "r,g,io"))] (match_operand:SI 1 "general_operand" "r,g,io"))]
"TARGET_INDIRECTS" "TARGET_INDIRECTS"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment