119 lines
3.9 KiB
C
119 lines
3.9 KiB
C
/* Integer registers */
|
|
|
|
0, GPR, 0, "r0",
|
|
0, GPR, 0, "zero",
|
|
0, GPR, 1, "r1",
|
|
0, GPR, 1, "at",
|
|
0, GPR, 1, "t0",
|
|
0, GPR, 2, "r2",
|
|
0, GPR, 2, "t1",
|
|
0, GPR, 3, "r3",
|
|
0, GPR, 3, "t2",
|
|
0, GPR, 4, "r4",
|
|
0, GPR, 4, "t3",
|
|
0, GPR, 5, "r5",
|
|
0, GPR, 5, "t4",
|
|
0, GPR, 6, "r6",
|
|
0, GPR, 6, "t5",
|
|
0, GPR, 7, "r7",
|
|
0, GPR, 7, "a0",
|
|
0, GPR, 8, "r8",
|
|
0, GPR, 8, "a1",
|
|
0, GPR, 9, "r9",
|
|
0, GPR, 9, "a2",
|
|
0, GPR, 10, "r10",
|
|
0, GPR, 10, "a3",
|
|
0, GPR, 11, "r11",
|
|
0, GPR, 11, "s0",
|
|
0, GPR, 12, "r12",
|
|
0, GPR, 12, "s1",
|
|
0, GPR, 13, "r13",
|
|
0, GPR, 13, "s2",
|
|
0, GPR, 14, "r14",
|
|
0, GPR, 14, "s3",
|
|
0, GPR, 15, "r15",
|
|
0, GPR, 15, "s4",
|
|
0, GPR, 16, "r16",
|
|
0, GPR, 16, "s5",
|
|
0, GPR, 17, "r17",
|
|
0, GPR, 17, "s6",
|
|
0, GPR, 18, "r18",
|
|
0, GPR, 18, "s7",
|
|
0, GPR, 19, "r19",
|
|
0, GPR, 19, "s8",
|
|
0, GPR, 20, "r20",
|
|
0, GPR, 20, "s9",
|
|
0, GPR, 21, "r21",
|
|
0, GPR, 21, "s10",
|
|
0, GPR, 22, "r22",
|
|
0, GPR, 22, "s11",
|
|
0, GPR, 23, "r23",
|
|
0, GPR, 23, "s12",
|
|
0, GPR, 24, "r24",
|
|
0, GPR, 24, "s13",
|
|
0, GPR, 25, "r25",
|
|
0, GPR, 25, "s14",
|
|
0, GPR, 26, "r26",
|
|
0, GPR, 26, "s15",
|
|
0, GPR, 27, "r27",
|
|
0, GPR, 27, "s16",
|
|
0, GPR, 28, "r28",
|
|
/* xxx */
|
|
0, GPR, 28, "gp",
|
|
/* xxx */
|
|
0, GPR, 28, "s17",
|
|
0, GPR, 29, "r29",
|
|
/* xxx */
|
|
0, GPR, 29, "fp",
|
|
/* xxx */
|
|
0, GPR, 29, "tp",
|
|
0, GPR, 30, "r30",
|
|
0, GPR, 30, "sp",
|
|
0, GPR, 31, "r31",
|
|
0, GPR, 31, "lr",
|
|
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",
|
|
|
|
0, OP_LI, 0, "li",
|
|
0, HI16, 0, "hi16",
|
|
0, HA16, 0, "ha16",
|
|
0, LO16, 0, "lo16",
|
|
|
|
#include "tokens.y"
|
|
|