aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/acidtypes
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-23 22:56:50 +0000
committerrsc <devnull@localhost>2005-01-23 22:56:50 +0000
commita05c312b479191ab72baaf24743d985a4bcc9c2b (patch)
treebb33351904e36e35a7d63ab2b17d18309a9fdaf8 /src/cmd/acidtypes
parenta4eeb3c1037371a14089228d4c08605da67e67bc (diff)
downloadplan9port-a05c312b479191ab72baaf24743d985a4bcc9c2b.tar.gz
plan9port-a05c312b479191ab72baaf24743d985a4bcc9c2b.tar.bz2
plan9port-a05c312b479191ab72baaf24743d985a4bcc9c2b.zip
do not clobber register names
Diffstat (limited to 'src/cmd/acidtypes')
-rw-r--r--src/cmd/acidtypes/type.c106
1 files changed, 105 insertions, 1 deletions
diff --git a/src/cmd/acidtypes/type.c b/src/cmd/acidtypes/type.c
index 309629de..9bf4e41e 100644
--- a/src/cmd/acidtypes/type.c
+++ b/src/cmd/acidtypes/type.c
@@ -129,8 +129,112 @@ struct {
"ret", "$ret",
"tail", "$tail",
"then", "$then",
- "whatis", "$whatis",
+ "whatis", "$whatis",
"while", "$while",
+
+/* register names! */
+ /* generic */
+ "PC", "$PC",
+ "SP", "$SP",
+ "LR", "$LR",
+ "R0", "$R0",
+ "R1", "$R1",
+ "R2", "$R2",
+ "R3", "$R3",
+ "R4", "$R4",
+ "R5", "$R5",
+ "R6", "$R6",
+ "R7", "$R7",
+ "R8", "$R8",
+ "R9", "$R9",
+ "R10", "$R10",
+ "R11", "$R11",
+ "R12", "$R12",
+ "R13", "$R13",
+ "R14", "$R14",
+ "R15", "$R15",
+ "R16", "$R16",
+ "R17", "$R17",
+ "R18", "$R18",
+ "R19", "$R19",
+ "R20", "$R20",
+ "R21", "$R21",
+ "R22", "$R22",
+ "R23", "$R23",
+ "R24", "$R24",
+ "R25", "$R25",
+ "R26", "$R26",
+ "R27", "$R27",
+ "R28", "$R28",
+ "R29", "$R29",
+ "R30", "$R30",
+ "R31", "$R31",
+ "E0", "$E0",
+ "E1", "$E1",
+ "E2", "$E2",
+ "E3", "$E3",
+ "E4", "$E4",
+ "E5", "$E5",
+ "E6", "$E6",
+ "F0", "$F0",
+ "F1", "$F1",
+ "F2", "$F2",
+ "F3", "$F3",
+ "F4", "$F4",
+ "F5", "$F5",
+ "F6", "$F6",
+ "F7", "$F7",
+ "F8", "$F8",
+ "F9", "$F9",
+ "F10", "$F10",
+ "F11", "$F11",
+ "F12", "$F12",
+ "F13", "$F13",
+ "F14", "$F14",
+ "F15", "$F15",
+ "F16", "$F16",
+ "F17", "$F17",
+ "F18", "$F18",
+ "F19", "$F19",
+ "F20", "$F20",
+ "F21", "$F21",
+ "F22", "$F22",
+ "F23", "$F23",
+ "F24", "$F24",
+ "F25", "$F25",
+ "F26", "$F26",
+ "F27", "$F27",
+ "F28", "$F28",
+ "F29", "$F29",
+ "F30", "$F30",
+ "F31", "$F31",
+
+ /* 386 */
+ "DI", "$DI",
+ "SI", "$SI",
+ "BP", "$BP",
+ "BX", "$BX",
+ "DX", "$DX",
+ "CX", "$CX",
+ "AX", "$AX",
+ "GS", "$GS",
+ "FS", "$FS",
+ "ES", "$ES",
+ "DS", "$DS",
+ "TRAP", "$TRAP",
+ "ECODE", "$ECODE",
+ "CS", "$CS",
+ "EFLAGS", "$EFLAGS",
+ "SS", "$SS",
+
+ /* power */
+ "CAUSE", "$CAUSE",
+ "SRR1", "$SRR1",
+ "CR", "$CR",
+ "XER", "$XER",
+ "CTR", "$CTR",
+ "VRSAVE", "$VRSAVE",
+ "FPSCR", "$FPSCR",
};
char*