summaryrefslogtreecommitdiff
path: root/gcc/config/convex/convex.h
diff options
context:
space:
mode:
authorChris Smith <cks@gnu.org>1992-11-03 16:24:25 +0000
committerChris Smith <cks@gnu.org>1992-11-03 16:24:25 +0000
commitb76e0b7680d1e2a13af717e52475e5114208c33e (patch)
treeefb6ba3421807fea85cea41e2a9d94279ee3e18d /gcc/config/convex/convex.h
parent151584408409a1a05cf1aaddcb073ef1687d2984 (diff)
downloadgcc-b76e0b7680d1e2a13af717e52475e5114208c33e.tar.gz
don't use psh.w sp
From-SVN: r2683
Diffstat (limited to 'gcc/config/convex/convex.h')
-rw-r--r--gcc/config/convex/convex.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/config/convex/convex.h b/gcc/config/convex/convex.h
index ba4bb55b421..2754fd11137 100644
--- a/gcc/config/convex/convex.h
+++ b/gcc/config/convex/convex.h
@@ -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.