ack/mach/mips/as/mach3.c

110 lines
3.6 KiB
C
Raw Normal View History

/* Integer registers */
0, GPR, 0, "r0",
0, GPR, 0, "zero",
0, GPR, 1, "r1",
0, GPR, 1, "at",
0, GPR, 2, "r2",
0, GPR, 3, "r3",
0, GPR, 4, "r4",
0, GPR, 5, "r5",
0, GPR, 6, "r6",
0, GPR, 7, "r7",
0, GPR, 8, "r8",
0, GPR, 9, "r9",
0, GPR, 10, "r10",
0, GPR, 11, "r11",
0, GPR, 12, "r12",
0, GPR, 13, "r13",
0, GPR, 14, "r14",
0, GPR, 15, "r15",
0, GPR, 16, "r16",
0, GPR, 17, "r17",
0, GPR, 18, "r18",
0, GPR, 19, "r19",
0, GPR, 20, "r20",
0, GPR, 21, "r21",
0, GPR, 22, "r22",
0, GPR, 23, "r23",
0, GPR, 24, "r24",
0, GPR, 25, "r25",
0, GPR, 26, "r26",
0, GPR, 27, "r27",
0, GPR, 28, "r28",
0, GPR, 28, "gp",
0, GPR, 29, "r29",
0, GPR, 29, "sp",
0, GPR, 30, "r30",
0, GPR, 30, "fp",
0, GPR, 31, "r31",
0, GPR, 31, "ra",
/* Floating-point registers */
0, FPR, 0, "f0",
0, FPR, 1, "f1",
0, FPR, 2, "f2",
0, FPR, 3, "f3",
0, FPR, 4, "f4",
0, FPR, 5, "f5",
0, FPR, 6, "f6",
0, FPR, 7, "f7",
0, FPR, 8, "f8",
0, FPR, 9, "f9",
0, FPR, 10, "f10",
0, FPR, 11, "f11",
0, FPR, 12, "f12",
0, FPR, 13, "f13",
0, FPR, 14, "f14",
0, FPR, 15, "f15",
0, FPR, 16, "f16",
0, FPR, 17, "f17",
0, FPR, 18, "f18",
0, FPR, 19, "f19",
0, FPR, 20, "f20",
0, FPR, 21, "f21",
0, FPR, 22, "f22",
0, FPR, 23, "f23",
0, FPR, 24, "f24",
0, FPR, 25, "f25",
0, FPR, 26, "f26",
0, FPR, 27, "f27",
0, FPR, 28, "f28",
0, FPR, 29, "f29",
0, FPR, 30, "f30",
0, FPR, 31, "f31",
/* Floating-point comparison values */
0, FCOND, 0, "f",
0, FCOND, 1, "un",
0, FCOND, 2, "eq",
0, FCOND, 3, "ueq",
0, FCOND, 4, "olt",
0, FCOND, 5, "ult",
0, FCOND, 6, "ole",
0, FCOND, 7, "ule",
0, FCOND, 8, "sf",
0, FCOND, 9, "ngle",
0, FCOND, 10, "seq",
0, FCOND, 11, "ngl",
0, FCOND, 12, "lt",
0, FCOND, 13, "nge",
0, FCOND, 14, "le",
0, FCOND, 15, "ngt",
0, FMT, 16, "s",
0, FMT, 17, "d",
0, FMT, 20, "w",
0, FMT, 21, "l",
0, FMT, 22, "ps",
0, FMT3, 0, "s",
0, FMT3, 1, "d",
0, FMT3, 4, "w",
0, FMT3, 5, "l",
0, FMT3, 6, "ps",
#include "tokens.y"