]> gcc.gnu.org Git - gcc.git/commitdiff
don't use psh.w sp
authorChris Smith <cks@gnu.org>
Tue, 3 Nov 1992 16:24:25 +0000 (16:24 +0000)
committerChris Smith <cks@gnu.org>
Tue, 3 Nov 1992 16:24:25 +0000 (16:24 +0000)
From-SVN: r2683

gcc/config/convex/convex.h
gcc/config/convex/convex.md

index ba4bb55b4214e245ea31f3bf822b79f5021e4575..2754fd11137f9d1076c5ec2251e12a0d95ddc624 100644 (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.
index 8f35309e4ea0d3b81e0b5d7134a406b928a56ec7..7398e1be1a00d6a3875f8fa3bc49a6cfe9635a4a 100644 (file)
   ""
   "")
 
+(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"))]
This page took 0.073528 seconds and 5 git commands to generate.