ref: 7d590b64d3ad57239c8835b2fd1a0d2db2b2981a
dir: /6/regs.def/
Reg(Rnone, "%NOREG", ModeB) /* byte regs */ Reg(Ral, "%al", ModeB) Reg(Rcl, "%cl", ModeB) Reg(Rdl, "%dl", ModeB) Reg(Rbl, "%bl", ModeB) Reg(Rsil, "%sil", ModeB) Reg(Rdil, "%dil", ModeB) Reg(Rspl, "%spl", ModeB) Reg(Rbpl, "%bpl", ModeB) Reg(Rr8b, "%r8b", ModeB) Reg(Rr9b, "%r9b", ModeB) Reg(Rr10b, "%r10b", ModeB) Reg(Rr11b, "%r11b", ModeB) Reg(Rr12b, "%r12b", ModeB) Reg(Rr13b, "%r13b", ModeB) Reg(Rr14b, "%r14b", ModeB) Reg(Rr15b, "%r15b", ModeB) /* high byte regs. We *NEVER* allocate these */ Reg(Rah, "%ah", ModeB) Reg(Rch, "%ch", ModeB) Reg(Rdh, "%dh", ModeB) Reg(Rbh, "%bh", ModeB) /* short regs */ Reg(Rax, "%ax", ModeW) Reg(Rbx, "%bx", ModeW) Reg(Rcx, "%cx", ModeW) Reg(Rdx, "%dx", ModeW) Reg(Rsi, "%si", ModeW) Reg(Rdi, "%di", ModeW) Reg(Rsp, "%sp", ModeW) Reg(Rbp, "%bp", ModeW) Reg(Rr8w, "%r8w", ModeW) Reg(Rr9w, "%r9w", ModeW) Reg(Rr10w, "%r10w", ModeW) Reg(Rr11w, "%r11w", ModeW) Reg(Rr12w, "%r12w", ModeW) Reg(Rr13w, "%r13w", ModeW) Reg(Rr14w, "%r14w", ModeW) Reg(Rr15w, "%r15w", ModeW) /* long regs */ Reg(Reax, "%eax", ModeL) Reg(Recx, "%ecx", ModeL) Reg(Redx, "%edx", ModeL) Reg(Rebx, "%ebx", ModeL) Reg(Resi, "%esi", ModeL) Reg(Redi, "%edi", ModeL) Reg(Resp, "%esp", ModeL) Reg(Rebp, "%ebp", ModeL) Reg(Rr8d, "%r8d", ModeL) Reg(Rr9d, "%r9d", ModeL) Reg(Rr10d, "%r10d", ModeL) Reg(Rr11d, "%r11d", ModeL) Reg(Rr12d, "%r12d", ModeL) Reg(Rr13d, "%r13d", ModeL) Reg(Rr14d, "%r14d", ModeL) Reg(Rr15d, "%r15d", ModeL) /* quad regs */ Reg(Rrax, "%rax", ModeQ) Reg(Rrcx, "%rcx", ModeQ) Reg(Rrdx, "%rdx", ModeQ) Reg(Rrbx, "%rbx", ModeQ) Reg(Rrsi, "%rsi", ModeQ) Reg(Rrdi, "%rdi", ModeQ) Reg(Rr8, "%r8", ModeQ) Reg(Rr9, "%r9", ModeQ) Reg(Rr10, "%r10", ModeQ) Reg(Rr11, "%r11", ModeQ) Reg(Rr12, "%r12", ModeQ) Reg(Rr13, "%r13", ModeQ) Reg(Rr14, "%r14", ModeQ) Reg(Rr15, "%r15", ModeQ) /* floating point registers */ Reg(Rxmm0f, "%xmm0", ModeF) Reg(Rxmm1f, "%xmm1", ModeF) Reg(Rxmm2f, "%xmm2", ModeF) Reg(Rxmm3f, "%xmm3", ModeF) Reg(Rxmm4f, "%xmm4", ModeF) Reg(Rxmm5f, "%xmm5", ModeF) Reg(Rxmm6f, "%xmm6", ModeF) Reg(Rxmm7f, "%xmm7", ModeF) Reg(Rxmm8f, "%xmm8", ModeF) Reg(Rxmm9f, "%xmm9", ModeF) Reg(Rxmm10f, "%xmm10", ModeF) Reg(Rxmm11f, "%xmm11", ModeF) Reg(Rxmm12f, "%xmm12", ModeF) Reg(Rxmm13f, "%xmm13", ModeF) Reg(Rxmm14f, "%xmm14", ModeF) Reg(Rxmm15f, "%xmm15", ModeF) /* double precision floating point registers */ Reg(Rxmm0d, "%xmm0", ModeD) Reg(Rxmm1d, "%xmm1", ModeD) Reg(Rxmm2d, "%xmm2", ModeD) Reg(Rxmm3d, "%xmm3", ModeD) Reg(Rxmm4d, "%xmm4", ModeD) Reg(Rxmm5d, "%xmm5", ModeD) Reg(Rxmm6d, "%xmm6", ModeD) Reg(Rxmm7d, "%xmm7", ModeD) Reg(Rxmm8d, "%xmm8", ModeD) Reg(Rxmm9d, "%xmm9", ModeD) Reg(Rxmm10d, "%xmm10", ModeD) Reg(Rxmm11d, "%xmm11", ModeD) Reg(Rxmm12d, "%xmm12", ModeD) Reg(Rxmm13d, "%xmm13", ModeD) Reg(Rxmm14d, "%xmm14", ModeD) Reg(Rxmm15d, "%xmm15", ModeD) Reg(Rrip, "%rip", ModeQ) Reg(Rrsp, "%rsp", ModeQ) Reg(Rrbp, "%rbp", ModeQ)