ref: c2f922830897fb3dee6c271860a28985726d7c0f
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) Reg(Rrip, "%rip", ModeQ) Reg(Rrsp, "%rsp", ModeQ) Reg(Rrbp, "%rbp", ModeQ)