HPCToolkit
instruction-set.h File Reference
#include "inttypes.h"
Include dependency graph for instruction-set.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define OP(x)   (uint32_t)(((x) & 0x3F) << 26)
 
#define OP_MASK   0xFC000000 /* opcode: bits 31-26 */
 
#define MEM(oo)   OP(oo)
 
#define MEM_MASK   OP_MASK
 
#define MFC(oo, ffff)   (OP(oo) | ((ffff) & 0xFFFF))
 
#define MFC_MASK   (OP_MASK | 0xFFFF) /* opcode + function bits 15-0 */
 
#define MBR(oo, h)   (OP(oo) | (((h) & 0x3) << 14))
 
#define MBR_MASK   (OP_MASK | 0xC000) /* opcode + hint bits 15-14 */
 
#define BRA(oo)   OP(oo)
 
#define BRA_MASK   OP_MASK
 
#define OPR(oo, ff)   (OP(oo) | (((ff) & 0x7F) << 5))
 
#define OPRL(oo, ff)   (OPR((oo),(ff)) | 0x1000)
 
#define OPR_MASK
 
#define FP(oo, fff)   (OP(oo) | (((fff) & 0x7FF) << 5))
 
#define FP_MASK   (OP_MASK | 0xFFE0) /* opcode + function bits 15-5 */
 
#define PCD(oo)   OP(oo)
 
#define PCD_MASK   OP_MASK
 
#define SPCD(oo, ffff)   (OP(oo) | ((ffff) & 0x3FFFFFF))
 
#define SPCD_MASK   0xFFFFFFFF /* opcode + function bits 25-0 */
 
#define OpIntArith   OP(0x10) /* Integer arithmetic instruction opcodes */
 
#define OpIntLogic   OP(0x11) /* Integer logical instruction opcodes */
 
#define OpIntShift   OP(0x12) /* Integer shift instruction opcodes */
 
#define OpIntMult   OP(0x13) /* Integer multiply instruction opcodes */
 
#define OpIntToFlt   OP(0x14) /* Integer to FP register move opcodes */
 
#define OpFltVAX   OP(0x15) /* VAX floating-point instruction opcodes */
 
#define OpFltIEEE   OP(0x16) /* IEEE floating-point instruction opcodes */
 
#define OpFltOp   OP(0x17) /* Floating-point Operate instruction opcodes */
 
#define OpMisc   OP(0x18) /* Miscellaneous instruction opcodes */
 
#define OpFltToInt   OP(0x1C) /* FP to integer register move opcodes */
 
#define OpJump   OP(0x1A) /* Jump instruction opcodes */
 
#define LDA   MEM(0x08)
 
#define LDAH   MEM(0x09)
 
#define LDBU   MEM(0x0A)
 
#define UNOP   MEM(0x0B) /*pseudo*/
 
#define LDQ_U   MEM(0x0B)
 
#define LDWU   MEM(0x0C)
 
#define STW   MEM(0x0D)
 
#define STB   MEM(0x0E)
 
#define STQ_U   MEM(0x0F)
 
#define LDF   MEM(0x20)
 
#define LDG   MEM(0x21)
 
#define LDS   MEM(0x22)
 
#define LDT   MEM(0x23)
 
#define STF   MEM(0x24)
 
#define STG   MEM(0x25)
 
#define STS   MEM(0x26)
 
#define STT   MEM(0x27)
 
#define LDL   MEM(0x28)
 
#define LDQ   MEM(0x29)
 
#define LDL_L   MEM(0x2A)
 
#define LDQ_L   MEM(0x2B)
 
#define STL   MEM(0x2C)
 
#define STQ   MEM(0x2D)
 
#define STL_C   MEM(0x2E)
 
#define STQ_C   MEM(0x2F)
 
#define TRAPB   MFC(0x18,0x0000)
 
#define DRAINT   MFC(0x18,0x0000) /*alias*/
 
#define EXCB   MFC(0x18,0x0400)
 
#define MB   MFC(0x18,0x4000)
 
#define WMB   MFC(0x18,0x4400)
 
#define FETCH   MFC(0x18,0x8000)
 
#define FETCH_M   MFC(0x18,0xA000)
 
#define RPCC   MFC(0x18,0xC000)
 
#define RC   MFC(0x18,0xE000)
 
#define ECB   MFC(0x18,0xE800)
 
#define RS   MFC(0x18,0xF000)
 
#define WH64   MFC(0x18,0xF800)
 
#define JMP   MBR(0x1A,0)
 
#define JSR   MBR(0x1A,1)
 
#define RET   MBR(0x1A,2)
 
#define JCR   MBR(0x1A,3) /*alias*/
 
#define JSR_COROUTINE   MBR(0x1A,3)
 
#define BR   BRA(0x30)
 
#define FBEQ   BRA(0x31)
 
#define FBLT   BRA(0x32)
 
#define FBLE   BRA(0x33)
 
#define BSR   BRA(0x34)
 
#define FBNE   BRA(0x35)
 
#define FBGE   BRA(0x36)
 
#define FBGT   BRA(0x37)
 
#define BLBC   BRA(0x38)
 
#define BEQ   BRA(0x39)
 
#define BLT   BRA(0x3A)
 
#define BLE   BRA(0x3B)
 
#define BLBS   BRA(0x3C)
 
#define BNE   BRA(0x3D)
 
#define BGE   BRA(0x3E)
 
#define BGT   BRA(0x3F)
 
#define SEXTL   OPR(0x10,0x00) /*pseudo*/
 
#define ADDL   OPR(0x10,0x00)
 
#define S4ADDL   OPR(0x10,0x02)
 
#define NEGL   OPR(0x10,0x09) /*pseudo*/
 
#define SUBL   OPR(0x10,0x09)
 
#define S4SUBL   OPR(0x10,0x0B)
 
#define CMPBGE   OPR(0x10,0x0F)
 
#define S8ADDL   OPR(0x10,0x12)
 
#define S8SUBL   OPR(0x10,0x1B)
 
#define CMPULT   OPR(0x10,0x1D)
 
#define ADDQ   OPR(0x10,0x20)
 
#define S4ADDQ   OPR(0x10,0x22)
 
#define NEGQ   OPR(0x10,0x29) /*pseudo*/
 
#define SUBQ   OPR(0x10,0x29)
 
#define S4SUBQ   OPR(0x10,0x2B)
 
#define CMPEQ   OPR(0x10,0x2D)
 
#define S8ADDQ   OPR(0x10,0x32)
 
#define S8SUBQ   OPR(0x10,0x3B)
 
#define CMPULE   OPR(0x10,0x3D)
 
#define ADDL_V   OPR(0x10,0x40)
 
#define NEGL_V   OPR(0x10,0x49) /*pseudo*/
 
#define SUBL_V   OPR(0x10,0x49)
 
#define CMPLT   OPR(0x10,0x4D)
 
#define ADDQ_V   OPR(0x10,0x60)
 
#define NEGQ_V   OPR(0x10,0x69) /*pseudo*/
 
#define SUBQ_V   OPR(0x10,0x69)
 
#define CMPLE   OPR(0x10,0x6D)
 
#define AND   OPR(0x11,0x00)
 
#define ANDNOT   OPR(0x11,0x08) /*alias*/
 
#define BIC   OPR(0x11,0x08)
 
#define CMOVLBS   OPR(0x11,0x14)
 
#define CMOVLBC   OPR(0x11,0x16)
 
#define NOP   OPR(0x11,0x20) /* int nop (see unop) */ /*pseudo*/
 
#define CLR   OPR(0x11,0x20) /*pseudo*/
 
#define MOV   OPR(0x11,0x20) /*pseudo*/
 
#define OR   OPR(0x11,0x20) /*alias*/
 
#define BIS   OPR(0x11,0x20)
 
#define CMOVEQ   OPR(0x11,0x24)
 
#define CMOVNE   OPR(0x11,0x26)
 
#define NOT   OPR(0x11,0x28) /*pseudo*/
 
#define ORNOT   OPR(0x11,0x28)
 
#define XOR   OPR(0x11,0x40)
 
#define CMOVLT   OPR(0x11,0x44)
 
#define CMOVGE   OPR(0x11,0x46)
 
#define EQV   OPR(0x11,0x48)
 
#define XORNOT   OPR(0x11,0x48) /*alias*/
 
#define AMASK   OPR(0x11,0x61)
 
#define CMOVLE   OPR(0x11,0x64)
 
#define CMOVGT   OPR(0x11,0x66)
 
#define IMPLVER   OPRL(0x11,0x6C)|(31<<21)|(1<<13)
 
#define MSKBL   OPR(0x12,0x02)
 
#define EXTBL   OPR(0x12,0x06)
 
#define INSBL   OPR(0x12,0x0B)
 
#define MSKWL   OPR(0x12,0x12)
 
#define EXTWL   OPR(0x12,0x16)
 
#define INSWL   OPR(0x12,0x1B)
 
#define MSKLL   OPR(0x12,0x22)
 
#define EXTLL   OPR(0x12,0x26)
 
#define INSLL   OPR(0x12,0x2B)
 
#define ZAP   OPR(0x12,0x30)
 
#define ZAPNOT   OPR(0x12,0x31)
 
#define MSKQL   OPR(0x12,0x32)
 
#define SRL   OPR(0x12,0x34)
 
#define EXTQL   OPR(0x12,0x36)
 
#define SLL   OPR(0x12,0x39)
 
#define INSQL   OPR(0x12,0x3B)
 
#define SRA   OPR(0x12,0x3C)
 
#define MSKWH   OPR(0x12,0x52)
 
#define INSWH   OPR(0x12,0x57)
 
#define EXTWH   OPR(0x12,0x5A)
 
#define MSKLH   OPR(0x12,0x62)
 
#define INSLH   OPR(0x12,0x67)
 
#define EXTLH   OPR(0x12,0x6A)
 
#define MSKQH   OPR(0x12,0x72)
 
#define INSQH   OPR(0x12,0x77)
 
#define EXTQH   OPR(0x12,0x7A)
 
#define MULL   OPR(0x13,0x00)
 
#define MULQ   OPR(0x13,0x20)
 
#define UMULH   OPR(0x13,0x30)
 
#define MULL_V   OPR(0x13,0x40)
 
#define MULQ_V   OPR(0x13,0x60)
 
#define SEXTB   OPR(0x1C, 0x00)
 
#define SEXTW   OPR(0x1C, 0x01)
 
#define CTPOP   OPR(0x1C, 0x30)
 
#define CTLZ   OPR(0x1C, 0x32)
 
#define CTTZ   OPR(0x1C, 0x33)
 
#define ITOFS   FP(0x14,0x004)
 
#define SQRTF_C   FP(0x14,0x00A)
 
#define SQRTS_C   FP(0x14,0x00B)
 
#define ITOFF   FP(0x14,0x014)
 
#define ITOFT   FP(0x14,0x024)
 
#define SQRTG_C   FP(0x14,0x02A)
 
#define SQRTT_C   FP(0x14,0x02B)
 
#define SQRTS_M   FP(0x14,0x04B)
 
#define SQRTT_M   FP(0x14,0x06B)
 
#define SQRTF   FP(0x14,0x08A)
 
#define SQRTS   FP(0x14,0x08B)
 
#define SQRTG   FP(0x14,0x0AA)
 
#define SQRTT   FP(0x14,0x0AB)
 
#define SQRTS_D   FP(0x14,0x0CB)
 
#define SQRTT_D   FP(0x14,0x0EB)
 
#define SQRTF_UC   FP(0x14,0x10A)
 
#define SQRTS_UC   FP(0x14,0x10B)
 
#define SQRTG_UC   FP(0x14,0x12A)
 
#define SQRTT_UC   FP(0x14,0x12B)
 
#define SQRTS_UM   FP(0x14,0x14B)
 
#define SQRTT_UM   FP(0x14,0x16B)
 
#define SQRTF_U   FP(0x14,0x18A)
 
#define SQRTS_U   FP(0x14,0x18B)
 
#define SQRTG_U   FP(0x14,0x1AA)
 
#define SQRTT_U   FP(0x14,0x1AB)
 
#define SQRTS_UD   FP(0x14,0x1CB)
 
#define SQRTT_UD   FP(0x14,0x1EB)
 
#define SQRTF_SC   FP(0x14,0x40A)
 
#define SQRTG_SC   FP(0x14,0x42A)
 
#define SQRTF_S   FP(0x14,0x48A)
 
#define SQRTG_S   FP(0x14,0x4AA)
 
#define SQRTF_SUC   FP(0x14,0x50A)
 
#define SQRTS_SUC   FP(0x14,0x50B)
 
#define SQRTG_SUC   FP(0x14,0x52A)
 
#define SQRTT_SUC   FP(0x14,0x52B)
 
#define SQRTS_SUM   FP(0x14,0x54B)
 
#define SQRTT_SUM   FP(0x14,0x56B)
 
#define SQRTF_SU   FP(0x14,0x58A)
 
#define SQRTS_SU   FP(0x14,0x58B)
 
#define SQRTG_SU   FP(0x14,0x5AA)
 
#define SQRTT_SU   FP(0x14,0x5AB)
 
#define SQRTS_SUD   FP(0x14,0x5CB)
 
#define SQRTT_SUD   FP(0x14,0x5EB)
 
#define SQRTS_SUIC   FP(0x14,0x70B)
 
#define SQRTT_SUIC   FP(0x14,0x72B)
 
#define SQRTS_SUIM   FP(0x14,0x74B)
 
#define SQRTT_SUIM   FP(0x14,0x76B)
 
#define SQRTS_SUI   FP(0x14,0x78B)
 
#define SQRTT_SUI   FP(0x14,0x7AB)
 
#define SQRTS_SUID   FP(0x14,0x7CB)
 
#define SQRTT_SUID   FP(0x14,0x7EB)
 
#define ADDF_C   FP(0x15,0x000)
 
#define SUBF_C   FP(0x15,0x001)
 
#define MULF_C   FP(0x15,0x002)
 
#define DIVF_C   FP(0x15,0x003)
 
#define CVTDG_C   FP(0x15,0x01E)
 
#define ADDG_C   FP(0x15,0x020)
 
#define SUBG_C   FP(0x15,0x021)
 
#define MULG_C   FP(0x15,0x022)
 
#define DIVG_C   FP(0x15,0x023)
 
#define CVTGF_C   FP(0x15,0x02C)
 
#define CVTGD_C   FP(0x15,0x02D)
 
#define CVTGQ_C   FP(0x15,0x02F)
 
#define CVTQF_C   FP(0x15,0x03C)
 
#define CVTQG_C   FP(0x15,0x03E)
 
#define ADDF   FP(0x15,0x080)
 
#define NEGF   FP(0x15,0x081) /*pseudo*/
 
#define SUBF   FP(0x15,0x081)
 
#define MULF   FP(0x15,0x082)
 
#define DIVF   FP(0x15,0x083)
 
#define CVTDG   FP(0x15,0x09E)
 
#define ADDG   FP(0x15,0x0A0)
 
#define NEGG   FP(0x15,0x0A1) /*pseudo*/
 
#define SUBG   FP(0x15,0x0A1)
 
#define MULG   FP(0x15,0x0A2)
 
#define DIVG   FP(0x15,0x0A3)
 
#define CMPGEQ   FP(0x15,0x0A5)
 
#define CMPGLT   FP(0x15,0x0A6)
 
#define CMPGLE   FP(0x15,0x0A7)
 
#define CVTGF   FP(0x15,0x0AC)
 
#define CVTGD   FP(0x15,0x0AD)
 
#define CVTGQ   FP(0x15,0x0AF)
 
#define CVTQF   FP(0x15,0x0BC)
 
#define CVTQG   FP(0x15,0x0BE)
 
#define ADDF_UC   FP(0x15,0x100)
 
#define SUBF_UC   FP(0x15,0x101)
 
#define MULF_UC   FP(0x15,0x102)
 
#define DIVF_UC   FP(0x15,0x103)
 
#define CVTDG_UC   FP(0x15,0x11E)
 
#define ADDG_UC   FP(0x15,0x120)
 
#define SUBG_UC   FP(0x15,0x121)
 
#define MULG_UC   FP(0x15,0x122)
 
#define DIVG_UC   FP(0x15,0x123)
 
#define CVTGF_UC   FP(0x15,0x12C)
 
#define CVTGD_UC   FP(0x15,0x12D)
 
#define CVTGQ_VC   FP(0x15,0x12F)
 
#define ADDF_U   FP(0x15,0x180)
 
#define SUBF_U   FP(0x15,0x181)
 
#define MULF_U   FP(0x15,0x182)
 
#define DIVF_U   FP(0x15,0x183)
 
#define CVTDG_U   FP(0x15,0x19E)
 
#define ADDG_U   FP(0x15,0x1A0)
 
#define SUBG_U   FP(0x15,0x1A1)
 
#define MULG_U   FP(0x15,0x1A2)
 
#define DIVG_U   FP(0x15,0x1A3)
 
#define CVTGF_U   FP(0x15,0x1AC)
 
#define CVTGD_U   FP(0x15,0x1AD)
 
#define CVTGQ_V   FP(0x15,0x1AF)
 
#define ADDF_SC   FP(0x15,0x400)
 
#define SUBF_SC   FP(0x15,0x401)
 
#define MULF_SC   FP(0x15,0x402)
 
#define DIVF_SC   FP(0x15,0x403)
 
#define CVTDG_SC   FP(0x15,0x41E)
 
#define ADDG_SC   FP(0x15,0x420)
 
#define SUBG_SC   FP(0x15,0x421)
 
#define MULG_SC   FP(0x15,0x422)
 
#define DIVG_SC   FP(0x15,0x423)
 
#define CVTGF_SC   FP(0x15,0x42C)
 
#define CVTGD_SC   FP(0x15,0x42D)
 
#define CVTGQ_SC   FP(0x15,0x42F)
 
#define ADDF_S   FP(0x15,0x480)
 
#define NEGF_S   FP(0x15,0x481) /*pseudo*/
 
#define SUBF_S   FP(0x15,0x481)
 
#define MULF_S   FP(0x15,0x482)
 
#define DIVF_S   FP(0x15,0x483)
 
#define CVTDG_S   FP(0x15,0x49E)
 
#define ADDG_S   FP(0x15,0x4A0)
 
#define NEGG_S   FP(0x15,0x4A1) /*pseudo*/
 
#define SUBG_S   FP(0x15,0x4A1)
 
#define MULG_S   FP(0x15,0x4A2)
 
#define DIVG_S   FP(0x15,0x4A3)
 
#define CMPGEQ_S   FP(0x15,0x4A5)
 
#define CMPGLT_S   FP(0x15,0x4A6)
 
#define CMPGLE_S   FP(0x15,0x4A7)
 
#define CVTGF_S   FP(0x15,0x4AC)
 
#define CVTGD_S   FP(0x15,0x4AD)
 
#define CVTGQ_S   FP(0x15,0x4AF)
 
#define ADDF_SUC   FP(0x15,0x500)
 
#define SUBF_SUC   FP(0x15,0x501)
 
#define MULF_SUC   FP(0x15,0x502)
 
#define DIVF_SUC   FP(0x15,0x503)
 
#define CVTDG_SUC   FP(0x15,0x51E)
 
#define ADDG_SUC   FP(0x15,0x520)
 
#define SUBG_SUC   FP(0x15,0x521)
 
#define MULG_SUC   FP(0x15,0x522)
 
#define DIVG_SUC   FP(0x15,0x523)
 
#define CVTGF_SUC   FP(0x15,0x52C)
 
#define CVTGD_SUC   FP(0x15,0x52D)
 
#define CVTGQ_SVC   FP(0x15,0x52F)
 
#define ADDF_SU   FP(0x15,0x580)
 
#define SUBF_SU   FP(0x15,0x581)
 
#define MULF_SU   FP(0x15,0x582)
 
#define DIVF_SU   FP(0x15,0x583)
 
#define CVTDG_SU   FP(0x15,0x59E)
 
#define ADDG_SU   FP(0x15,0x5A0)
 
#define SUBG_SU   FP(0x15,0x5A1)
 
#define MULG_SU   FP(0x15,0x5A2)
 
#define DIVG_SU   FP(0x15,0x5A3)
 
#define CVTGF_SU   FP(0x15,0x5AC)
 
#define CVTGD_SU   FP(0x15,0x5AD)
 
#define CVTGQ_SV   FP(0x15,0x5AF)
 
#define ADDS_C   FP(0x16,0x000)
 
#define SUBS_C   FP(0x16,0x001)
 
#define MULS_C   FP(0x16,0x002)
 
#define DIVS_C   FP(0x16,0x003)
 
#define ADDT_C   FP(0x16,0x020)
 
#define SUBT_C   FP(0x16,0x021)
 
#define MULT_C   FP(0x16,0x022)
 
#define DIVT_C   FP(0x16,0x023)
 
#define CVTTS_C   FP(0x16,0x02C)
 
#define CVTTQ_C   FP(0x16,0x02F)
 
#define CVTQS_C   FP(0x16,0x03C)
 
#define CVTQT_C   FP(0x16,0x03E)
 
#define ADDS_M   FP(0x16,0x040)
 
#define SUBS_M   FP(0x16,0x041)
 
#define MULS_M   FP(0x16,0x042)
 
#define DIVS_M   FP(0x16,0x043)
 
#define ADDT_M   FP(0x16,0x060)
 
#define SUBT_M   FP(0x16,0x061)
 
#define MULT_M   FP(0x16,0x062)
 
#define DIVT_M   FP(0x16,0x063)
 
#define CVTTS_M   FP(0x16,0x06C)
 
#define CVTTQ_M   FP(0x16,0x06F)
 
#define CVTQS_M   FP(0x16,0x07C)
 
#define CVTQT_M   FP(0x16,0x07E)
 
#define ADDS   FP(0x16,0x080)
 
#define NEGS   FP(0x16,0x081) /*pseudo*/
 
#define SUBS   FP(0x16,0x081)
 
#define MULS   FP(0x16,0x082)
 
#define DIVS   FP(0x16,0x083)
 
#define ADDT   FP(0x16,0x0A0)
 
#define NEGT   FP(0x16,0x0A1) /*pseudo*/
 
#define SUBT   FP(0x16,0x0A1)
 
#define MULT   FP(0x16,0x0A2)
 
#define DIVT   FP(0x16,0x0A3)
 
#define CMPTUN   FP(0x16,0x0A4)
 
#define CMPTEQ   FP(0x16,0x0A5)
 
#define CMPTLT   FP(0x16,0x0A6)
 
#define CMPTLE   FP(0x16,0x0A7)
 
#define CVTTS   FP(0x16,0x0AC)
 
#define CVTTQ   FP(0x16,0x0AF)
 
#define CVTQS   FP(0x16,0x0BC)
 
#define CVTQT   FP(0x16,0x0BE)
 
#define ADDS_D   FP(0x16,0x0C0)
 
#define SUBS_D   FP(0x16,0x0C1)
 
#define MULS_D   FP(0x16,0x0C2)
 
#define DIVS_D   FP(0x16,0x0C3)
 
#define ADDT_D   FP(0x16,0x0E0)
 
#define SUBT_D   FP(0x16,0x0E1)
 
#define MULT_D   FP(0x16,0x0E2)
 
#define DIVT_D   FP(0x16,0x0E3)
 
#define CVTTS_D   FP(0x16,0x0EC)
 
#define CVTTQ_D   FP(0x16,0x0EF)
 
#define CVTQS_D   FP(0x16,0x0FC)
 
#define CVTQT_D   FP(0x16,0x0FE)
 
#define ADDS_UC   FP(0x16,0x100)
 
#define SUBS_UC   FP(0x16,0x101)
 
#define MULS_UC   FP(0x16,0x102)
 
#define DIVS_UC   FP(0x16,0x103)
 
#define ADDT_UC   FP(0x16,0x120)
 
#define SUBT_UC   FP(0x16,0x121)
 
#define MULT_UC   FP(0x16,0x122)
 
#define DIVT_UC   FP(0x16,0x123)
 
#define CVTTS_UC   FP(0x16,0x12C)
 
#define CVTTQ_VC   FP(0x16,0x12F)
 
#define ADDS_UM   FP(0x16,0x140)
 
#define SUBS_UM   FP(0x16,0x141)
 
#define MULS_UM   FP(0x16,0x142)
 
#define DIVS_UM   FP(0x16,0x143)
 
#define ADDT_UM   FP(0x16,0x160)
 
#define SUBT_UM   FP(0x16,0x161)
 
#define MULT_UM   FP(0x16,0x162)
 
#define DIVT_UM   FP(0x16,0x163)
 
#define CVTTS_UM   FP(0x16,0x16C)
 
#define CVTTQ_VM   FP(0x16,0x16F)
 
#define ADDS_U   FP(0x16,0x180)
 
#define SUBS_U   FP(0x16,0x181)
 
#define MULS_U   FP(0x16,0x182)
 
#define DIVS_U   FP(0x16,0x183)
 
#define ADDT_U   FP(0x16,0x1A0)
 
#define SUBT_U   FP(0x16,0x1A1)
 
#define MULT_U   FP(0x16,0x1A2)
 
#define DIVT_U   FP(0x16,0x1A3)
 
#define CVTTS_U   FP(0x16,0x1AC)
 
#define CVTTQ_V   FP(0x16,0x1AF)
 
#define ADDS_UD   FP(0x16,0x1C0)
 
#define SUBS_UD   FP(0x16,0x1C1)
 
#define MULS_UD   FP(0x16,0x1C2)
 
#define DIVS_UD   FP(0x16,0x1C3)
 
#define ADDT_UD   FP(0x16,0x1E0)
 
#define SUBT_UD   FP(0x16,0x1E1)
 
#define MULT_UD   FP(0x16,0x1E2)
 
#define DIVT_UD   FP(0x16,0x1E3)
 
#define CVTTS_UD   FP(0x16,0x1EC)
 
#define CVTTQ_VD   FP(0x16,0x1EF)
 
#define CVTST   FP(0x16,0x2AC)
 
#define ADDS_SUC   FP(0x16,0x500)
 
#define SUBS_SUC   FP(0x16,0x501)
 
#define MULS_SUC   FP(0x16,0x502)
 
#define DIVS_SUC   FP(0x16,0x503)
 
#define ADDT_SUC   FP(0x16,0x520)
 
#define SUBT_SUC   FP(0x16,0x521)
 
#define MULT_SUC   FP(0x16,0x522)
 
#define DIVT_SUC   FP(0x16,0x523)
 
#define CVTTS_SUC   FP(0x16,0x52C)
 
#define CVTTQ_SVC   FP(0x16,0x52F)
 
#define ADDS_SUM   FP(0x16,0x540)
 
#define SUBS_SUM   FP(0x16,0x541)
 
#define MULS_SUM   FP(0x16,0x542)
 
#define DIVS_SUM   FP(0x16,0x543)
 
#define ADDT_SUM   FP(0x16,0x560)
 
#define SUBT_SUM   FP(0x16,0x561)
 
#define MULT_SUM   FP(0x16,0x562)
 
#define DIVT_SUM   FP(0x16,0x563)
 
#define CVTTS_SUM   FP(0x16,0x56C)
 
#define CVTTQ_SVM   FP(0x16,0x56F)
 
#define ADDS_SU   FP(0x16,0x580)
 
#define NEGS_SU   FP(0x16,0x581) /*pseudo*/
 
#define SUBS_SU   FP(0x16,0x581)
 
#define MULS_SU   FP(0x16,0x582)
 
#define DIVS_SU   FP(0x16,0x583)
 
#define ADDT_SU   FP(0x16,0x5A0)
 
#define NEGT_SU   FP(0x16,0x5A1) /*pseudo*/
 
#define SUBT_SU   FP(0x16,0x5A1)
 
#define MULT_SU   FP(0x16,0x5A2)
 
#define DIVT_SU   FP(0x16,0x5A3)
 
#define CMPTUN_SU   FP(0x16,0x5A4)
 
#define CMPTEQ_SU   FP(0x16,0x5A5)
 
#define CMPTLT_SU   FP(0x16,0x5A6)
 
#define CMPTLE_SU   FP(0x16,0x5A7)
 
#define CVTTS_SU   FP(0x16,0x5AC)
 
#define CVTTQ_SV   FP(0x16,0x5AF)
 
#define ADDS_SUD   FP(0x16,0x5C0)
 
#define SUBS_SUD   FP(0x16,0x5C1)
 
#define MULS_SUD   FP(0x16,0x5C2)
 
#define DIVS_SUD   FP(0x16,0x5C3)
 
#define ADDT_SUD   FP(0x16,0x5E0)
 
#define SUBT_SUD   FP(0x16,0x5E1)
 
#define MULT_SUD   FP(0x16,0x5E2)
 
#define DIVT_SUD   FP(0x16,0x5E3)
 
#define CVTTS_SUD   FP(0x16,0x5EC)
 
#define CVTTQ_SVD   FP(0x16,0x5EF)
 
#define CVTST_S   FP(0x16,0x6AC)
 
#define ADDS_SUIC   FP(0x16,0x700)
 
#define SUBS_SUIC   FP(0x16,0x701)
 
#define MULS_SUIC   FP(0x16,0x702)
 
#define DIVS_SUIC   FP(0x16,0x703)
 
#define ADDT_SUIC   FP(0x16,0x720)
 
#define SUBT_SUIC   FP(0x16,0x721)
 
#define MULT_SUIC   FP(0x16,0x722)
 
#define DIVT_SUIC   FP(0x16,0x723)
 
#define CVTTS_SUIC   FP(0x16,0x72C)
 
#define CVTTQ_SVIC   FP(0x16,0x72F)
 
#define CVTQS_SUIC   FP(0x16,0x73C)
 
#define CVTQT_SUIC   FP(0x16,0x73E)
 
#define ADDS_SUIM   FP(0x16,0x740)
 
#define SUBS_SUIM   FP(0x16,0x741)
 
#define MULS_SUIM   FP(0x16,0x742)
 
#define DIVS_SUIM   FP(0x16,0x743)
 
#define ADDT_SUIM   FP(0x16,0x760)
 
#define SUBT_SUIM   FP(0x16,0x761)
 
#define MULT_SUIM   FP(0x16,0x762)
 
#define DIVT_SUIM   FP(0x16,0x763)
 
#define CVTTS_SUIM   FP(0x16,0x76C)
 
#define CVTTQ_SVIM   FP(0x16,0x76F)
 
#define CVTQS_SUIM   FP(0x16,0x77C)
 
#define CVTQT_SUIM   FP(0x16,0x77E)
 
#define ADDS_SUI   FP(0x16,0x780)
 
#define NEGS_SUI   FP(0x16,0x781) /*pseudo*/
 
#define SUBS_SUI   FP(0x16,0x781)
 
#define MULS_SUI   FP(0x16,0x782)
 
#define DIVS_SUI   FP(0x16,0x783)
 
#define ADDT_SUI   FP(0x16,0x7A0)
 
#define NEGT_SUI   FP(0x16,0x7A1) /*pseudo*/
 
#define SUBT_SUI   FP(0x16,0x7A1)
 
#define MULT_SUI   FP(0x16,0x7A2)
 
#define DIVT_SUI   FP(0x16,0x7A3)
 
#define CVTTS_SUI   FP(0x16,0x7AC)
 
#define CVTTQ_SVI   FP(0x16,0x7AF)
 
#define CVTQS_SUI   FP(0x16,0x7BC)
 
#define CVTQT_SUI   FP(0x16,0x7BE)
 
#define ADDS_SUID   FP(0x16,0x7C0)
 
#define SUBS_SUID   FP(0x16,0x7C1)
 
#define MULS_SUID   FP(0x16,0x7C2)
 
#define DIVS_SUID   FP(0x16,0x7C3)
 
#define ADDT_SUID   FP(0x16,0x7E0)
 
#define SUBT_SUID   FP(0x16,0x7E1)
 
#define MULT_SUID   FP(0x16,0x7E2)
 
#define DIVT_SUID   FP(0x16,0x7E3)
 
#define CVTTS_SUID   FP(0x16,0x7EC)
 
#define CVTTQ_SVID   FP(0x16,0x7EF)
 
#define CVTQS_SUID   FP(0x16,0x7FC)
 
#define CVTQT_SUID   FP(0x16,0x7FE)
 
#define CVTLQ   FP(0x17,0x010)
 
#define FNOP   FP(0x17,0x020) /*pseudo*/
 
#define FCLR   FP(0x17,0x020) /*pseudo*/
 
#define FABS   FP(0x17,0x020) /*pseudo*/
 
#define FMOV   FP(0x17,0x020) /*pseudo*/
 
#define CPYS   FP(0x17,0x020)
 
#define FNEG   FP(0x17,0x021) /*pseudo*/
 
#define CPYSN   FP(0x17,0x021)
 
#define CPYSE   FP(0x17,0x022)
 
#define MT_FPCR   FP(0x17,0x024)
 
#define MF_FPCR   FP(0x17,0x025)
 
#define FCMOVEQ   FP(0x17,0x02A)
 
#define FCMOVNE   FP(0x17,0x02B)
 
#define FCMOVLT   FP(0x17,0x02C)
 
#define FCMOVGE   FP(0x17,0x02D)
 
#define FCMOVLE   FP(0x17,0x02E)
 
#define FCMOVGT   FP(0x17,0x02F)
 
#define CVTQL   FP(0x17,0x030)
 
#define CVTQL_V   FP(0x17,0x130)
 
#define CVTQL_SV   FP(0x17,0x530)
 
#define FTOIT   FP(0x1C, 0x70)
 
#define FTOIS   FP(0x1C, 0x78)
 
#define PERR   OPR(0x1C, 0x31)
 
#define UNPKBW   OPR(0x1C, 0x34)
 
#define UNPKBL   OPR(0x1C, 0x35)
 
#define PKWB   OPR(0x1C, 0x36)
 
#define PKLB   OPR(0x1C, 0x37)
 
#define MINSB8   OPR(0x1C, 0x38)
 
#define MINSW4   OPR(0x1C, 0x39)
 
#define MINUB8   OPR(0x1C, 0x3A)
 
#define MINUW4   OPR(0x1C, 0x3B)
 
#define MAXUB8   OPR(0x1C, 0x3C)
 
#define MAXUW4   OPR(0x1C, 0x3D)
 
#define MAXSB8   OPR(0x1C, 0x3E)
 
#define MAXSW4   OPR(0x1C, 0x3F)
 
#define HALT   SPCD(0x00,0x0000)
 
#define DRAINA   SPCD(0x00,0x0002)
 
#define BPT   SPCD(0x00,0x0080)
 
#define CALLSYS   SPCD(0x00,0x0083)
 
#define CHMK   SPCD(0x00,0x0083)
 
#define IMB   SPCD(0x00,0x0086)
 
#define CALL_PAL   PCD(0x00)
 
#define PAL   PCD(0x00) /*alias*/
 
#define PAL19   PCD(0x19)
 
#define PAL1B   PCD(0x1B)
 
#define PAL1D   PCD(0x1D)
 
#define PAL1E   PCD(0x1E)
 
#define PAL1F   PCD(0x1F)
 
#define HW_MFPR   PCD(0x19) /* Move data from processor register */
 
#define HW_LD   PCD(0x1B) /* Load data from memory */
 
#define HW_MTPR   PCD(0x1D) /* Move data to processor register */
 
#define HW_REI   PCD(0x1E) /* Return from PALmode exception */
 
#define HW_ST   PCD(0x1F) /* Store data in memory */
 
#define REG_A_MASK   0x03e00000 /* Register format; bits 25-21 */
 
#define REG_A_SHIFT   21
 
#define REG_A(INSN)   (((INSN) & REG_A_MASK) >> REG_A_SHIFT)
 
#define REG_B_MASK   0x001f0000 /* Register format; bits 20-16 */
 
#define REG_B_SHIFT   16
 
#define REG_B(INSN)   (((INSN) & REG_B_MASK) >> REG_B_SHIFT)
 
#define REG_C_MASK   0x0000001f /* Register format; bits 4-0 */
 
#define REG_C_SHIFT   0
 
#define REG_C(INSN)   (((INSN) & REG_C_MASK) >> REG_C_SHIFT)
 
#define IMM_MASK   0x001fe000 /* bits 20-13 */
 
#define IMM_SIGN   0x00000000 /* unsigned */
 
#define IMM_SHIFT   13
 
#define IMM(INSN)   (((INSN) & IMM_MASK) >> IMM_SHIFT)
 
#define MEM_DISP_MASK   0x0000ffff /* bits 15-0 */
 
#define MEM_DISP_SIGN   0x00008000 /* bit 15 */
 
#define MEM_DISP_SHIFT   0
 
#define MEM_DISP(INSN)   (((INSN) & MEM_DISP_MASK) >> MEM_DISP_SHIFT)
 
#define BR_DISP_MASK   0x001fffff /* bits 20-0 */
 
#define BR_DISP_SIGN   0x00100000 /* bit 20 */
 
#define BR_DISP_SHIFT   0
 
#define BR_DISP(INSN)   (((INSN) & BR_DISP_MASK) >> BR_DISP_SHIFT)
 
#define REG_V0   0 /* $v0-v1: Used for expr. eval. and to hold int type fnct */
 
#define REG_T0   1 /* $t0-t7: Temporary registers used for expr. eval. Not */
 
#define REG_T1   2 /* preserved across procedure calls. */
 
#define REG_T2   3
 
#define REG_T3   4
 
#define REG_T4   5
 
#define REG_T5   6
 
#define REG_T6   7
 
#define REG_T7   8
 
#define REG_S0   9 /* $s0-s5: Saved registers. Preserved across procedure */
 
#define REG_S1   10 /* calls. */
 
#define REG_S2   11
 
#define REG_S3   12
 
#define REG_S4   13
 
#define REG_S5   14
 
#define REG_FP   15 /* $fp or $s6: Contains the frame pointer (if needed); */
 
#define REG_S6   15 /* otherwise a saved register (such as s0-s5) */
 
#define REG_A0   16 /* $a0-a5: Used to pass the first six integer type actual*/
 
#define REG_A1   17 /* arguments. Not preserved across procedure calls. */
 
#define REG_A2   18
 
#define REG_A3   19
 
#define REG_A4   20
 
#define REG_A5   21
 
#define REG_T8   22 /* $t8-t11: Temporary registers used for expr. eval. */
 
#define REG_T9   23 /* Not preserved across procedure calls. */
 
#define REG_T10   24
 
#define REG_T11   25
 
#define REG_RA   26 /* $ra: Contains the return address. Preserved across */
 
#define REG_PV   27 /* $pv: Contains the procedure value and used for expr. */
 
#define REG_AT   28 /* $at: AT Reserved for the assembler. Not preserved. */
 
#define REG_GP   29 /* $gp: Contains the global pointer. Not preserved. */
 
#define REG_SP   30 /* $sp: Contains the stack pointer. Preserved. */
 
#define REG_31   31 /* $31: always 0 */
 

Macro Definition Documentation

◆ ADDF

#define ADDF   FP(0x15,0x080)

Definition at line 462 of file instruction-set.h.

◆ ADDF_C

#define ADDF_C   FP(0x15,0x000)

Definition at line 448 of file instruction-set.h.

◆ ADDF_S

#define ADDF_S   FP(0x15,0x480)

Definition at line 517 of file instruction-set.h.

◆ ADDF_SC

#define ADDF_SC   FP(0x15,0x400)

Definition at line 505 of file instruction-set.h.

◆ ADDF_SU

#define ADDF_SU   FP(0x15,0x580)

Definition at line 546 of file instruction-set.h.

◆ ADDF_SUC

#define ADDF_SUC   FP(0x15,0x500)

Definition at line 534 of file instruction-set.h.

◆ ADDF_U

#define ADDF_U   FP(0x15,0x180)

Definition at line 493 of file instruction-set.h.

◆ ADDF_UC

#define ADDF_UC   FP(0x15,0x100)

Definition at line 481 of file instruction-set.h.

◆ ADDG

#define ADDG   FP(0x15,0x0A0)

Definition at line 468 of file instruction-set.h.

◆ ADDG_C

#define ADDG_C   FP(0x15,0x020)

Definition at line 453 of file instruction-set.h.

◆ ADDG_S

#define ADDG_S   FP(0x15,0x4A0)

Definition at line 523 of file instruction-set.h.

◆ ADDG_SC

#define ADDG_SC   FP(0x15,0x420)

Definition at line 510 of file instruction-set.h.

◆ ADDG_SU

#define ADDG_SU   FP(0x15,0x5A0)

Definition at line 551 of file instruction-set.h.

◆ ADDG_SUC

#define ADDG_SUC   FP(0x15,0x520)

Definition at line 539 of file instruction-set.h.

◆ ADDG_U

#define ADDG_U   FP(0x15,0x1A0)

Definition at line 498 of file instruction-set.h.

◆ ADDG_UC

#define ADDG_UC   FP(0x15,0x120)

Definition at line 486 of file instruction-set.h.

◆ ADDL

#define ADDL   OPR(0x10,0x00)

Definition at line 296 of file instruction-set.h.

◆ ADDL_V

#define ADDL_V   OPR(0x10,0x40)

Definition at line 314 of file instruction-set.h.

◆ ADDQ

#define ADDQ   OPR(0x10,0x20)

Definition at line 305 of file instruction-set.h.

◆ ADDQ_V

#define ADDQ_V   OPR(0x10,0x60)

Definition at line 318 of file instruction-set.h.

◆ ADDS

#define ADDS   FP(0x16,0x080)

Definition at line 583 of file instruction-set.h.

◆ ADDS_C

#define ADDS_C   FP(0x16,0x000)

Definition at line 559 of file instruction-set.h.

◆ ADDS_D

#define ADDS_D   FP(0x16,0x0C0)

Definition at line 601 of file instruction-set.h.

◆ ADDS_M

#define ADDS_M   FP(0x16,0x040)

Definition at line 571 of file instruction-set.h.

◆ ADDS_SU

#define ADDS_SU   FP(0x16,0x580)

Definition at line 674 of file instruction-set.h.

◆ ADDS_SUC

#define ADDS_SUC   FP(0x16,0x500)

Definition at line 654 of file instruction-set.h.

◆ ADDS_SUD

#define ADDS_SUD   FP(0x16,0x5C0)

Definition at line 690 of file instruction-set.h.

◆ ADDS_SUI

#define ADDS_SUI   FP(0x16,0x780)

Definition at line 725 of file instruction-set.h.

◆ ADDS_SUIC

#define ADDS_SUIC   FP(0x16,0x700)

Definition at line 701 of file instruction-set.h.

◆ ADDS_SUID

#define ADDS_SUID   FP(0x16,0x7C0)

Definition at line 739 of file instruction-set.h.

◆ ADDS_SUIM

#define ADDS_SUIM   FP(0x16,0x740)

Definition at line 713 of file instruction-set.h.

◆ ADDS_SUM

#define ADDS_SUM   FP(0x16,0x540)

Definition at line 664 of file instruction-set.h.

◆ ADDS_U

#define ADDS_U   FP(0x16,0x180)

Definition at line 633 of file instruction-set.h.

◆ ADDS_UC

#define ADDS_UC   FP(0x16,0x100)

Definition at line 613 of file instruction-set.h.

◆ ADDS_UD

#define ADDS_UD   FP(0x16,0x1C0)

Definition at line 643 of file instruction-set.h.

◆ ADDS_UM

#define ADDS_UM   FP(0x16,0x140)

Definition at line 623 of file instruction-set.h.

◆ ADDT

#define ADDT   FP(0x16,0x0A0)

Definition at line 588 of file instruction-set.h.

◆ ADDT_C

#define ADDT_C   FP(0x16,0x020)

Definition at line 563 of file instruction-set.h.

◆ ADDT_D

#define ADDT_D   FP(0x16,0x0E0)

Definition at line 605 of file instruction-set.h.

◆ ADDT_M

#define ADDT_M   FP(0x16,0x060)

Definition at line 575 of file instruction-set.h.

◆ ADDT_SU

#define ADDT_SU   FP(0x16,0x5A0)

Definition at line 679 of file instruction-set.h.

◆ ADDT_SUC

#define ADDT_SUC   FP(0x16,0x520)

Definition at line 658 of file instruction-set.h.

◆ ADDT_SUD

#define ADDT_SUD   FP(0x16,0x5E0)

Definition at line 694 of file instruction-set.h.

◆ ADDT_SUI

#define ADDT_SUI   FP(0x16,0x7A0)

Definition at line 730 of file instruction-set.h.

◆ ADDT_SUIC

#define ADDT_SUIC   FP(0x16,0x720)

Definition at line 705 of file instruction-set.h.

◆ ADDT_SUID

#define ADDT_SUID   FP(0x16,0x7E0)

Definition at line 743 of file instruction-set.h.

◆ ADDT_SUIM

#define ADDT_SUIM   FP(0x16,0x760)

Definition at line 717 of file instruction-set.h.

◆ ADDT_SUM

#define ADDT_SUM   FP(0x16,0x560)

Definition at line 668 of file instruction-set.h.

◆ ADDT_U

#define ADDT_U   FP(0x16,0x1A0)

Definition at line 637 of file instruction-set.h.

◆ ADDT_UC

#define ADDT_UC   FP(0x16,0x120)

Definition at line 617 of file instruction-set.h.

◆ ADDT_UD

#define ADDT_UD   FP(0x16,0x1E0)

Definition at line 647 of file instruction-set.h.

◆ ADDT_UM

#define ADDT_UM   FP(0x16,0x160)

Definition at line 627 of file instruction-set.h.

◆ AMASK

#define AMASK   OPR(0x11,0x61)

Definition at line 345 of file instruction-set.h.

◆ AND

#define AND   OPR(0x11,0x00)

Definition at line 325 of file instruction-set.h.

◆ ANDNOT

#define ANDNOT   OPR(0x11,0x08) /*alias*/

Definition at line 326 of file instruction-set.h.

◆ BEQ

#define BEQ   BRA(0x39)

Definition at line 276 of file instruction-set.h.

◆ BGE

#define BGE   BRA(0x3E)

Definition at line 281 of file instruction-set.h.

◆ BGT

#define BGT   BRA(0x3F)

Definition at line 282 of file instruction-set.h.

◆ BIC

#define BIC   OPR(0x11,0x08)

Definition at line 327 of file instruction-set.h.

◆ BIS

#define BIS   OPR(0x11,0x20)

Definition at line 334 of file instruction-set.h.

◆ BLBC

#define BLBC   BRA(0x38)

Definition at line 275 of file instruction-set.h.

◆ BLBS

#define BLBS   BRA(0x3C)

Definition at line 279 of file instruction-set.h.

◆ BLE

#define BLE   BRA(0x3B)

Definition at line 278 of file instruction-set.h.

◆ BLT

#define BLT   BRA(0x3A)

Definition at line 277 of file instruction-set.h.

◆ BNE

#define BNE   BRA(0x3D)

Definition at line 280 of file instruction-set.h.

◆ BPT

#define BPT   SPCD(0x00,0x0080)

Definition at line 802 of file instruction-set.h.

◆ BR

#define BR   BRA(0x30)

Definition at line 267 of file instruction-set.h.

◆ BR_DISP

#define BR_DISP (   INSN)    (((INSN) & BR_DISP_MASK) >> BR_DISP_SHIFT)

Definition at line 869 of file instruction-set.h.

◆ BR_DISP_MASK

#define BR_DISP_MASK   0x001fffff /* bits 20-0 */

Definition at line 866 of file instruction-set.h.

◆ BR_DISP_SHIFT

#define BR_DISP_SHIFT   0

Definition at line 868 of file instruction-set.h.

◆ BR_DISP_SIGN

#define BR_DISP_SIGN   0x00100000 /* bit 20 */

Definition at line 867 of file instruction-set.h.

◆ BRA

#define BRA (   oo)    OP(oo)

Definition at line 141 of file instruction-set.h.

◆ BRA_MASK

#define BRA_MASK   OP_MASK

Definition at line 142 of file instruction-set.h.

◆ BSR

#define BSR   BRA(0x34)

Definition at line 271 of file instruction-set.h.

◆ CALL_PAL

#define CALL_PAL   PCD(0x00)

Definition at line 806 of file instruction-set.h.

◆ CALLSYS

#define CALLSYS   SPCD(0x00,0x0083)

Definition at line 803 of file instruction-set.h.

◆ CHMK

#define CHMK   SPCD(0x00,0x0083)

Definition at line 804 of file instruction-set.h.

◆ CLR

#define CLR   OPR(0x11,0x20) /*pseudo*/

Definition at line 331 of file instruction-set.h.

◆ CMOVEQ

#define CMOVEQ   OPR(0x11,0x24)

Definition at line 335 of file instruction-set.h.

◆ CMOVGE

#define CMOVGE   OPR(0x11,0x46)

Definition at line 342 of file instruction-set.h.

◆ CMOVGT

#define CMOVGT   OPR(0x11,0x66)

Definition at line 347 of file instruction-set.h.

◆ CMOVLBC

#define CMOVLBC   OPR(0x11,0x16)

Definition at line 329 of file instruction-set.h.

◆ CMOVLBS

#define CMOVLBS   OPR(0x11,0x14)

Definition at line 328 of file instruction-set.h.

◆ CMOVLE

#define CMOVLE   OPR(0x11,0x64)

Definition at line 346 of file instruction-set.h.

◆ CMOVLT

#define CMOVLT   OPR(0x11,0x44)

Definition at line 341 of file instruction-set.h.

◆ CMOVNE

#define CMOVNE   OPR(0x11,0x26)

Definition at line 336 of file instruction-set.h.

◆ CMPBGE

#define CMPBGE   OPR(0x10,0x0F)

Definition at line 301 of file instruction-set.h.

◆ CMPEQ

#define CMPEQ   OPR(0x10,0x2D)

Definition at line 310 of file instruction-set.h.

◆ CMPGEQ

#define CMPGEQ   FP(0x15,0x0A5)

Definition at line 473 of file instruction-set.h.

◆ CMPGEQ_S

#define CMPGEQ_S   FP(0x15,0x4A5)

Definition at line 528 of file instruction-set.h.

◆ CMPGLE

#define CMPGLE   FP(0x15,0x0A7)

Definition at line 475 of file instruction-set.h.

◆ CMPGLE_S

#define CMPGLE_S   FP(0x15,0x4A7)

Definition at line 530 of file instruction-set.h.

◆ CMPGLT

#define CMPGLT   FP(0x15,0x0A6)

Definition at line 474 of file instruction-set.h.

◆ CMPGLT_S

#define CMPGLT_S   FP(0x15,0x4A6)

Definition at line 529 of file instruction-set.h.

◆ CMPLE

#define CMPLE   OPR(0x10,0x6D)

Definition at line 321 of file instruction-set.h.

◆ CMPLT

#define CMPLT   OPR(0x10,0x4D)

Definition at line 317 of file instruction-set.h.

◆ CMPTEQ

#define CMPTEQ   FP(0x16,0x0A5)

Definition at line 594 of file instruction-set.h.

◆ CMPTEQ_SU

#define CMPTEQ_SU   FP(0x16,0x5A5)

Definition at line 685 of file instruction-set.h.

◆ CMPTLE

#define CMPTLE   FP(0x16,0x0A7)

Definition at line 596 of file instruction-set.h.

◆ CMPTLE_SU

#define CMPTLE_SU   FP(0x16,0x5A7)

Definition at line 687 of file instruction-set.h.

◆ CMPTLT

#define CMPTLT   FP(0x16,0x0A6)

Definition at line 595 of file instruction-set.h.

◆ CMPTLT_SU

#define CMPTLT_SU   FP(0x16,0x5A6)

Definition at line 686 of file instruction-set.h.

◆ CMPTUN

#define CMPTUN   FP(0x16,0x0A4)

Definition at line 593 of file instruction-set.h.

◆ CMPTUN_SU

#define CMPTUN_SU   FP(0x16,0x5A4)

Definition at line 684 of file instruction-set.h.

◆ CMPULE

#define CMPULE   OPR(0x10,0x3D)

Definition at line 313 of file instruction-set.h.

◆ CMPULT

#define CMPULT   OPR(0x10,0x1D)

Definition at line 304 of file instruction-set.h.

◆ CPYS

#define CPYS   FP(0x17,0x020)

Definition at line 757 of file instruction-set.h.

◆ CPYSE

#define CPYSE   FP(0x17,0x022)

Definition at line 760 of file instruction-set.h.

◆ CPYSN

#define CPYSN   FP(0x17,0x021)

Definition at line 759 of file instruction-set.h.

◆ CTLZ

#define CTLZ   OPR(0x1C, 0x32)

Definition at line 387 of file instruction-set.h.

◆ CTPOP

#define CTPOP   OPR(0x1C, 0x30)

Definition at line 386 of file instruction-set.h.

◆ CTTZ

#define CTTZ   OPR(0x1C, 0x33)

Definition at line 388 of file instruction-set.h.

◆ CVTDG

#define CVTDG   FP(0x15,0x09E)

Definition at line 467 of file instruction-set.h.

◆ CVTDG_C

#define CVTDG_C   FP(0x15,0x01E)

Definition at line 452 of file instruction-set.h.

◆ CVTDG_S

#define CVTDG_S   FP(0x15,0x49E)

Definition at line 522 of file instruction-set.h.

◆ CVTDG_SC

#define CVTDG_SC   FP(0x15,0x41E)

Definition at line 509 of file instruction-set.h.

◆ CVTDG_SU

#define CVTDG_SU   FP(0x15,0x59E)

Definition at line 550 of file instruction-set.h.

◆ CVTDG_SUC

#define CVTDG_SUC   FP(0x15,0x51E)

Definition at line 538 of file instruction-set.h.

◆ CVTDG_U

#define CVTDG_U   FP(0x15,0x19E)

Definition at line 497 of file instruction-set.h.

◆ CVTDG_UC

#define CVTDG_UC   FP(0x15,0x11E)

Definition at line 485 of file instruction-set.h.

◆ CVTGD

#define CVTGD   FP(0x15,0x0AD)

Definition at line 477 of file instruction-set.h.

◆ CVTGD_C

#define CVTGD_C   FP(0x15,0x02D)

Definition at line 458 of file instruction-set.h.

◆ CVTGD_S

#define CVTGD_S   FP(0x15,0x4AD)

Definition at line 532 of file instruction-set.h.

◆ CVTGD_SC

#define CVTGD_SC   FP(0x15,0x42D)

Definition at line 515 of file instruction-set.h.

◆ CVTGD_SU

#define CVTGD_SU   FP(0x15,0x5AD)

Definition at line 556 of file instruction-set.h.

◆ CVTGD_SUC

#define CVTGD_SUC   FP(0x15,0x52D)

Definition at line 544 of file instruction-set.h.

◆ CVTGD_U

#define CVTGD_U   FP(0x15,0x1AD)

Definition at line 503 of file instruction-set.h.

◆ CVTGD_UC

#define CVTGD_UC   FP(0x15,0x12D)

Definition at line 491 of file instruction-set.h.

◆ CVTGF

#define CVTGF   FP(0x15,0x0AC)

Definition at line 476 of file instruction-set.h.

◆ CVTGF_C

#define CVTGF_C   FP(0x15,0x02C)

Definition at line 457 of file instruction-set.h.

◆ CVTGF_S

#define CVTGF_S   FP(0x15,0x4AC)

Definition at line 531 of file instruction-set.h.

◆ CVTGF_SC

#define CVTGF_SC   FP(0x15,0x42C)

Definition at line 514 of file instruction-set.h.

◆ CVTGF_SU

#define CVTGF_SU   FP(0x15,0x5AC)

Definition at line 555 of file instruction-set.h.

◆ CVTGF_SUC

#define CVTGF_SUC   FP(0x15,0x52C)

Definition at line 543 of file instruction-set.h.

◆ CVTGF_U

#define CVTGF_U   FP(0x15,0x1AC)

Definition at line 502 of file instruction-set.h.

◆ CVTGF_UC

#define CVTGF_UC   FP(0x15,0x12C)

Definition at line 490 of file instruction-set.h.

◆ CVTGQ

#define CVTGQ   FP(0x15,0x0AF)

Definition at line 478 of file instruction-set.h.

◆ CVTGQ_C

#define CVTGQ_C   FP(0x15,0x02F)

Definition at line 459 of file instruction-set.h.

◆ CVTGQ_S

#define CVTGQ_S   FP(0x15,0x4AF)

Definition at line 533 of file instruction-set.h.

◆ CVTGQ_SC

#define CVTGQ_SC   FP(0x15,0x42F)

Definition at line 516 of file instruction-set.h.

◆ CVTGQ_SV

#define CVTGQ_SV   FP(0x15,0x5AF)

Definition at line 557 of file instruction-set.h.

◆ CVTGQ_SVC

#define CVTGQ_SVC   FP(0x15,0x52F)

Definition at line 545 of file instruction-set.h.

◆ CVTGQ_V

#define CVTGQ_V   FP(0x15,0x1AF)

Definition at line 504 of file instruction-set.h.

◆ CVTGQ_VC

#define CVTGQ_VC   FP(0x15,0x12F)

Definition at line 492 of file instruction-set.h.

◆ CVTLQ

#define CVTLQ   FP(0x17,0x010)

Definition at line 752 of file instruction-set.h.

◆ CVTQF

#define CVTQF   FP(0x15,0x0BC)

Definition at line 479 of file instruction-set.h.

◆ CVTQF_C

#define CVTQF_C   FP(0x15,0x03C)

Definition at line 460 of file instruction-set.h.

◆ CVTQG

#define CVTQG   FP(0x15,0x0BE)

Definition at line 480 of file instruction-set.h.

◆ CVTQG_C

#define CVTQG_C   FP(0x15,0x03E)

Definition at line 461 of file instruction-set.h.

◆ CVTQL

#define CVTQL   FP(0x17,0x030)

Definition at line 769 of file instruction-set.h.

◆ CVTQL_SV

#define CVTQL_SV   FP(0x17,0x530)

Definition at line 771 of file instruction-set.h.

◆ CVTQL_V

#define CVTQL_V   FP(0x17,0x130)

Definition at line 770 of file instruction-set.h.

◆ CVTQS

#define CVTQS   FP(0x16,0x0BC)

Definition at line 599 of file instruction-set.h.

◆ CVTQS_C

#define CVTQS_C   FP(0x16,0x03C)

Definition at line 569 of file instruction-set.h.

◆ CVTQS_D

#define CVTQS_D   FP(0x16,0x0FC)

Definition at line 611 of file instruction-set.h.

◆ CVTQS_M

#define CVTQS_M   FP(0x16,0x07C)

Definition at line 581 of file instruction-set.h.

◆ CVTQS_SUI

#define CVTQS_SUI   FP(0x16,0x7BC)

Definition at line 737 of file instruction-set.h.

◆ CVTQS_SUIC

#define CVTQS_SUIC   FP(0x16,0x73C)

Definition at line 711 of file instruction-set.h.

◆ CVTQS_SUID

#define CVTQS_SUID   FP(0x16,0x7FC)

Definition at line 749 of file instruction-set.h.

◆ CVTQS_SUIM

#define CVTQS_SUIM   FP(0x16,0x77C)

Definition at line 723 of file instruction-set.h.

◆ CVTQT

#define CVTQT   FP(0x16,0x0BE)

Definition at line 600 of file instruction-set.h.

◆ CVTQT_C

#define CVTQT_C   FP(0x16,0x03E)

Definition at line 570 of file instruction-set.h.

◆ CVTQT_D

#define CVTQT_D   FP(0x16,0x0FE)

Definition at line 612 of file instruction-set.h.

◆ CVTQT_M

#define CVTQT_M   FP(0x16,0x07E)

Definition at line 582 of file instruction-set.h.

◆ CVTQT_SUI

#define CVTQT_SUI   FP(0x16,0x7BE)

Definition at line 738 of file instruction-set.h.

◆ CVTQT_SUIC

#define CVTQT_SUIC   FP(0x16,0x73E)

Definition at line 712 of file instruction-set.h.

◆ CVTQT_SUID

#define CVTQT_SUID   FP(0x16,0x7FE)

Definition at line 750 of file instruction-set.h.

◆ CVTQT_SUIM

#define CVTQT_SUIM   FP(0x16,0x77E)

Definition at line 724 of file instruction-set.h.

◆ CVTST

#define CVTST   FP(0x16,0x2AC)

Definition at line 653 of file instruction-set.h.

◆ CVTST_S

#define CVTST_S   FP(0x16,0x6AC)

Definition at line 700 of file instruction-set.h.

◆ CVTTQ

#define CVTTQ   FP(0x16,0x0AF)

Definition at line 598 of file instruction-set.h.

◆ CVTTQ_C

#define CVTTQ_C   FP(0x16,0x02F)

Definition at line 568 of file instruction-set.h.

◆ CVTTQ_D

#define CVTTQ_D   FP(0x16,0x0EF)

Definition at line 610 of file instruction-set.h.

◆ CVTTQ_M

#define CVTTQ_M   FP(0x16,0x06F)

Definition at line 580 of file instruction-set.h.

◆ CVTTQ_SV

#define CVTTQ_SV   FP(0x16,0x5AF)

Definition at line 689 of file instruction-set.h.

◆ CVTTQ_SVC

#define CVTTQ_SVC   FP(0x16,0x52F)

Definition at line 663 of file instruction-set.h.

◆ CVTTQ_SVD

#define CVTTQ_SVD   FP(0x16,0x5EF)

Definition at line 699 of file instruction-set.h.

◆ CVTTQ_SVI

#define CVTTQ_SVI   FP(0x16,0x7AF)

Definition at line 736 of file instruction-set.h.

◆ CVTTQ_SVIC

#define CVTTQ_SVIC   FP(0x16,0x72F)

Definition at line 710 of file instruction-set.h.

◆ CVTTQ_SVID

#define CVTTQ_SVID   FP(0x16,0x7EF)

Definition at line 748 of file instruction-set.h.

◆ CVTTQ_SVIM

#define CVTTQ_SVIM   FP(0x16,0x76F)

Definition at line 722 of file instruction-set.h.

◆ CVTTQ_SVM

#define CVTTQ_SVM   FP(0x16,0x56F)

Definition at line 673 of file instruction-set.h.

◆ CVTTQ_V

#define CVTTQ_V   FP(0x16,0x1AF)

Definition at line 642 of file instruction-set.h.

◆ CVTTQ_VC

#define CVTTQ_VC   FP(0x16,0x12F)

Definition at line 622 of file instruction-set.h.

◆ CVTTQ_VD

#define CVTTQ_VD   FP(0x16,0x1EF)

Definition at line 652 of file instruction-set.h.

◆ CVTTQ_VM

#define CVTTQ_VM   FP(0x16,0x16F)

Definition at line 632 of file instruction-set.h.

◆ CVTTS

#define CVTTS   FP(0x16,0x0AC)

Definition at line 597 of file instruction-set.h.

◆ CVTTS_C

#define CVTTS_C   FP(0x16,0x02C)

Definition at line 567 of file instruction-set.h.

◆ CVTTS_D

#define CVTTS_D   FP(0x16,0x0EC)

Definition at line 609 of file instruction-set.h.

◆ CVTTS_M

#define CVTTS_M   FP(0x16,0x06C)

Definition at line 579 of file instruction-set.h.

◆ CVTTS_SU

#define CVTTS_SU   FP(0x16,0x5AC)

Definition at line 688 of file instruction-set.h.

◆ CVTTS_SUC

#define CVTTS_SUC   FP(0x16,0x52C)

Definition at line 662 of file instruction-set.h.

◆ CVTTS_SUD

#define CVTTS_SUD   FP(0x16,0x5EC)

Definition at line 698 of file instruction-set.h.

◆ CVTTS_SUI

#define CVTTS_SUI   FP(0x16,0x7AC)

Definition at line 735 of file instruction-set.h.

◆ CVTTS_SUIC

#define CVTTS_SUIC   FP(0x16,0x72C)

Definition at line 709 of file instruction-set.h.

◆ CVTTS_SUID

#define CVTTS_SUID   FP(0x16,0x7EC)

Definition at line 747 of file instruction-set.h.

◆ CVTTS_SUIM

#define CVTTS_SUIM   FP(0x16,0x76C)

Definition at line 721 of file instruction-set.h.

◆ CVTTS_SUM

#define CVTTS_SUM   FP(0x16,0x56C)

Definition at line 672 of file instruction-set.h.

◆ CVTTS_U

#define CVTTS_U   FP(0x16,0x1AC)

Definition at line 641 of file instruction-set.h.

◆ CVTTS_UC

#define CVTTS_UC   FP(0x16,0x12C)

Definition at line 621 of file instruction-set.h.

◆ CVTTS_UD

#define CVTTS_UD   FP(0x16,0x1EC)

Definition at line 651 of file instruction-set.h.

◆ CVTTS_UM

#define CVTTS_UM   FP(0x16,0x16C)

Definition at line 631 of file instruction-set.h.

◆ DIVF

#define DIVF   FP(0x15,0x083)

Definition at line 466 of file instruction-set.h.

◆ DIVF_C

#define DIVF_C   FP(0x15,0x003)

Definition at line 451 of file instruction-set.h.

◆ DIVF_S

#define DIVF_S   FP(0x15,0x483)

Definition at line 521 of file instruction-set.h.

◆ DIVF_SC

#define DIVF_SC   FP(0x15,0x403)

Definition at line 508 of file instruction-set.h.

◆ DIVF_SU

#define DIVF_SU   FP(0x15,0x583)

Definition at line 549 of file instruction-set.h.

◆ DIVF_SUC

#define DIVF_SUC   FP(0x15,0x503)

Definition at line 537 of file instruction-set.h.

◆ DIVF_U

#define DIVF_U   FP(0x15,0x183)

Definition at line 496 of file instruction-set.h.

◆ DIVF_UC

#define DIVF_UC   FP(0x15,0x103)

Definition at line 484 of file instruction-set.h.

◆ DIVG

#define DIVG   FP(0x15,0x0A3)

Definition at line 472 of file instruction-set.h.

◆ DIVG_C

#define DIVG_C   FP(0x15,0x023)

Definition at line 456 of file instruction-set.h.

◆ DIVG_S

#define DIVG_S   FP(0x15,0x4A3)

Definition at line 527 of file instruction-set.h.

◆ DIVG_SC

#define DIVG_SC   FP(0x15,0x423)

Definition at line 513 of file instruction-set.h.

◆ DIVG_SU

#define DIVG_SU   FP(0x15,0x5A3)

Definition at line 554 of file instruction-set.h.

◆ DIVG_SUC

#define DIVG_SUC   FP(0x15,0x523)

Definition at line 542 of file instruction-set.h.

◆ DIVG_U

#define DIVG_U   FP(0x15,0x1A3)

Definition at line 501 of file instruction-set.h.

◆ DIVG_UC

#define DIVG_UC   FP(0x15,0x123)

Definition at line 489 of file instruction-set.h.

◆ DIVS

#define DIVS   FP(0x16,0x083)

Definition at line 587 of file instruction-set.h.

◆ DIVS_C

#define DIVS_C   FP(0x16,0x003)

Definition at line 562 of file instruction-set.h.

◆ DIVS_D

#define DIVS_D   FP(0x16,0x0C3)

Definition at line 604 of file instruction-set.h.

◆ DIVS_M

#define DIVS_M   FP(0x16,0x043)

Definition at line 574 of file instruction-set.h.

◆ DIVS_SU

#define DIVS_SU   FP(0x16,0x583)

Definition at line 678 of file instruction-set.h.

◆ DIVS_SUC

#define DIVS_SUC   FP(0x16,0x503)

Definition at line 657 of file instruction-set.h.

◆ DIVS_SUD

#define DIVS_SUD   FP(0x16,0x5C3)

Definition at line 693 of file instruction-set.h.

◆ DIVS_SUI

#define DIVS_SUI   FP(0x16,0x783)

Definition at line 729 of file instruction-set.h.

◆ DIVS_SUIC

#define DIVS_SUIC   FP(0x16,0x703)

Definition at line 704 of file instruction-set.h.

◆ DIVS_SUID

#define DIVS_SUID   FP(0x16,0x7C3)

Definition at line 742 of file instruction-set.h.

◆ DIVS_SUIM

#define DIVS_SUIM   FP(0x16,0x743)

Definition at line 716 of file instruction-set.h.

◆ DIVS_SUM

#define DIVS_SUM   FP(0x16,0x543)

Definition at line 667 of file instruction-set.h.

◆ DIVS_U

#define DIVS_U   FP(0x16,0x183)

Definition at line 636 of file instruction-set.h.

◆ DIVS_UC

#define DIVS_UC   FP(0x16,0x103)

Definition at line 616 of file instruction-set.h.

◆ DIVS_UD

#define DIVS_UD   FP(0x16,0x1C3)

Definition at line 646 of file instruction-set.h.

◆ DIVS_UM

#define DIVS_UM   FP(0x16,0x143)

Definition at line 626 of file instruction-set.h.

◆ DIVT

#define DIVT   FP(0x16,0x0A3)

Definition at line 592 of file instruction-set.h.

◆ DIVT_C

#define DIVT_C   FP(0x16,0x023)

Definition at line 566 of file instruction-set.h.

◆ DIVT_D

#define DIVT_D   FP(0x16,0x0E3)

Definition at line 608 of file instruction-set.h.

◆ DIVT_M

#define DIVT_M   FP(0x16,0x063)

Definition at line 578 of file instruction-set.h.

◆ DIVT_SU

#define DIVT_SU   FP(0x16,0x5A3)

Definition at line 683 of file instruction-set.h.

◆ DIVT_SUC

#define DIVT_SUC   FP(0x16,0x523)

Definition at line 661 of file instruction-set.h.

◆ DIVT_SUD

#define DIVT_SUD   FP(0x16,0x5E3)

Definition at line 697 of file instruction-set.h.

◆ DIVT_SUI

#define DIVT_SUI   FP(0x16,0x7A3)

Definition at line 734 of file instruction-set.h.

◆ DIVT_SUIC

#define DIVT_SUIC   FP(0x16,0x723)

Definition at line 708 of file instruction-set.h.

◆ DIVT_SUID

#define DIVT_SUID   FP(0x16,0x7E3)

Definition at line 746 of file instruction-set.h.

◆ DIVT_SUIM

#define DIVT_SUIM   FP(0x16,0x763)

Definition at line 720 of file instruction-set.h.

◆ DIVT_SUM

#define DIVT_SUM   FP(0x16,0x563)

Definition at line 671 of file instruction-set.h.

◆ DIVT_U

#define DIVT_U   FP(0x16,0x1A3)

Definition at line 640 of file instruction-set.h.

◆ DIVT_UC

#define DIVT_UC   FP(0x16,0x123)

Definition at line 620 of file instruction-set.h.

◆ DIVT_UD

#define DIVT_UD   FP(0x16,0x1E3)

Definition at line 650 of file instruction-set.h.

◆ DIVT_UM

#define DIVT_UM   FP(0x16,0x163)

Definition at line 630 of file instruction-set.h.

◆ DRAINA

#define DRAINA   SPCD(0x00,0x0002)

Definition at line 801 of file instruction-set.h.

◆ DRAINT

#define DRAINT   MFC(0x18,0x0000) /*alias*/

Definition at line 240 of file instruction-set.h.

◆ ECB

#define ECB   MFC(0x18,0xE800)

Definition at line 248 of file instruction-set.h.

◆ EQV

#define EQV   OPR(0x11,0x48)

Definition at line 343 of file instruction-set.h.

◆ EXCB

#define EXCB   MFC(0x18,0x0400)

Definition at line 241 of file instruction-set.h.

◆ EXTBL

#define EXTBL   OPR(0x12,0x06)

Definition at line 352 of file instruction-set.h.

◆ EXTLH

#define EXTLH   OPR(0x12,0x6A)

Definition at line 373 of file instruction-set.h.

◆ EXTLL

#define EXTLL   OPR(0x12,0x26)

Definition at line 358 of file instruction-set.h.

◆ EXTQH

#define EXTQH   OPR(0x12,0x7A)

Definition at line 376 of file instruction-set.h.

◆ EXTQL

#define EXTQL   OPR(0x12,0x36)

Definition at line 364 of file instruction-set.h.

◆ EXTWH

#define EXTWH   OPR(0x12,0x5A)

Definition at line 370 of file instruction-set.h.

◆ EXTWL

#define EXTWL   OPR(0x12,0x16)

Definition at line 355 of file instruction-set.h.

◆ FABS

#define FABS   FP(0x17,0x020) /*pseudo*/

Definition at line 755 of file instruction-set.h.

◆ FBEQ

#define FBEQ   BRA(0x31)

Definition at line 268 of file instruction-set.h.

◆ FBGE

#define FBGE   BRA(0x36)

Definition at line 273 of file instruction-set.h.

◆ FBGT

#define FBGT   BRA(0x37)

Definition at line 274 of file instruction-set.h.

◆ FBLE

#define FBLE   BRA(0x33)

Definition at line 270 of file instruction-set.h.

◆ FBLT

#define FBLT   BRA(0x32)

Definition at line 269 of file instruction-set.h.

◆ FBNE

#define FBNE   BRA(0x35)

Definition at line 272 of file instruction-set.h.

◆ FCLR

#define FCLR   FP(0x17,0x020) /*pseudo*/

Definition at line 754 of file instruction-set.h.

◆ FCMOVEQ

#define FCMOVEQ   FP(0x17,0x02A)

Definition at line 763 of file instruction-set.h.

◆ FCMOVGE

#define FCMOVGE   FP(0x17,0x02D)

Definition at line 766 of file instruction-set.h.

◆ FCMOVGT

#define FCMOVGT   FP(0x17,0x02F)

Definition at line 768 of file instruction-set.h.

◆ FCMOVLE

#define FCMOVLE   FP(0x17,0x02E)

Definition at line 767 of file instruction-set.h.

◆ FCMOVLT

#define FCMOVLT   FP(0x17,0x02C)

Definition at line 765 of file instruction-set.h.

◆ FCMOVNE

#define FCMOVNE   FP(0x17,0x02B)

Definition at line 764 of file instruction-set.h.

◆ FETCH

#define FETCH   MFC(0x18,0x8000)

Definition at line 244 of file instruction-set.h.

◆ FETCH_M

#define FETCH_M   MFC(0x18,0xA000)

Definition at line 245 of file instruction-set.h.

◆ FMOV

#define FMOV   FP(0x17,0x020) /*pseudo*/

Definition at line 756 of file instruction-set.h.

◆ FNEG

#define FNEG   FP(0x17,0x021) /*pseudo*/

Definition at line 758 of file instruction-set.h.

◆ FNOP

#define FNOP   FP(0x17,0x020) /*pseudo*/

Definition at line 753 of file instruction-set.h.

◆ FP

#define FP (   oo,
  fff 
)    (OP(oo) | (((fff) & 0x7FF) << 5))

Definition at line 156 of file instruction-set.h.

◆ FP_MASK

#define FP_MASK   (OP_MASK | 0xFFE0) /* opcode + function bits 15-5 */

Definition at line 157 of file instruction-set.h.

◆ FTOIS

#define FTOIS   FP(0x1C, 0x78)

Definition at line 774 of file instruction-set.h.

◆ FTOIT

#define FTOIT   FP(0x1C, 0x70)

Definition at line 773 of file instruction-set.h.

◆ HALT

#define HALT   SPCD(0x00,0x0000)

Definition at line 800 of file instruction-set.h.

◆ HW_LD

#define HW_LD   PCD(0x1B) /* Load data from memory */

Definition at line 819 of file instruction-set.h.

◆ HW_MFPR

#define HW_MFPR   PCD(0x19) /* Move data from processor register */

Definition at line 818 of file instruction-set.h.

◆ HW_MTPR

#define HW_MTPR   PCD(0x1D) /* Move data to processor register */

Definition at line 820 of file instruction-set.h.

◆ HW_REI

#define HW_REI   PCD(0x1E) /* Return from PALmode exception */

Definition at line 821 of file instruction-set.h.

◆ HW_ST

#define HW_ST   PCD(0x1F) /* Store data in memory */

Definition at line 822 of file instruction-set.h.

◆ IMB

#define IMB   SPCD(0x00,0x0086)

Definition at line 805 of file instruction-set.h.

◆ IMM

#define IMM (   INSN)    (((INSN) & IMM_MASK) >> IMM_SHIFT)

Definition at line 850 of file instruction-set.h.

◆ IMM_MASK

#define IMM_MASK   0x001fe000 /* bits 20-13 */

Definition at line 847 of file instruction-set.h.

◆ IMM_SHIFT

#define IMM_SHIFT   13

Definition at line 849 of file instruction-set.h.

◆ IMM_SIGN

#define IMM_SIGN   0x00000000 /* unsigned */

Definition at line 848 of file instruction-set.h.

◆ IMPLVER

#define IMPLVER   OPRL(0x11,0x6C)|(31<<21)|(1<<13)

Definition at line 348 of file instruction-set.h.

◆ INSBL

#define INSBL   OPR(0x12,0x0B)

Definition at line 353 of file instruction-set.h.

◆ INSLH

#define INSLH   OPR(0x12,0x67)

Definition at line 372 of file instruction-set.h.

◆ INSLL

#define INSLL   OPR(0x12,0x2B)

Definition at line 359 of file instruction-set.h.

◆ INSQH

#define INSQH   OPR(0x12,0x77)

Definition at line 375 of file instruction-set.h.

◆ INSQL

#define INSQL   OPR(0x12,0x3B)

Definition at line 366 of file instruction-set.h.

◆ INSWH

#define INSWH   OPR(0x12,0x57)

Definition at line 369 of file instruction-set.h.

◆ INSWL

#define INSWL   OPR(0x12,0x1B)

Definition at line 356 of file instruction-set.h.

◆ ITOFF

#define ITOFF   FP(0x14,0x014)

Definition at line 399 of file instruction-set.h.

◆ ITOFS

#define ITOFS   FP(0x14,0x004)

Definition at line 396 of file instruction-set.h.

◆ ITOFT

#define ITOFT   FP(0x14,0x024)

Definition at line 400 of file instruction-set.h.

◆ JCR

#define JCR   MBR(0x1A,3) /*alias*/

Definition at line 262 of file instruction-set.h.

◆ JMP

#define JMP   MBR(0x1A,0)

Definition at line 259 of file instruction-set.h.

◆ JSR

#define JSR   MBR(0x1A,1)

Definition at line 260 of file instruction-set.h.

◆ JSR_COROUTINE

#define JSR_COROUTINE   MBR(0x1A,3)

Definition at line 263 of file instruction-set.h.

◆ LDA

#define LDA   MEM(0x08)

Definition at line 203 of file instruction-set.h.

◆ LDAH

#define LDAH   MEM(0x09)

Definition at line 204 of file instruction-set.h.

◆ LDBU

#define LDBU   MEM(0x0A)

Definition at line 205 of file instruction-set.h.

◆ LDF

#define LDF   MEM(0x20)

Definition at line 213 of file instruction-set.h.

◆ LDG

#define LDG   MEM(0x21)

Definition at line 214 of file instruction-set.h.

◆ LDL

#define LDL   MEM(0x28)

Definition at line 222 of file instruction-set.h.

◆ LDL_L

#define LDL_L   MEM(0x2A)

Definition at line 224 of file instruction-set.h.

◆ LDQ

#define LDQ   MEM(0x29)

Definition at line 223 of file instruction-set.h.

◆ LDQ_L

#define LDQ_L   MEM(0x2B)

Definition at line 225 of file instruction-set.h.

◆ LDQ_U

#define LDQ_U   MEM(0x0B)

Definition at line 207 of file instruction-set.h.

◆ LDS

#define LDS   MEM(0x22)

Definition at line 215 of file instruction-set.h.

◆ LDT

#define LDT   MEM(0x23)

Definition at line 216 of file instruction-set.h.

◆ LDWU

#define LDWU   MEM(0x0C)

Definition at line 208 of file instruction-set.h.

◆ MAXSB8

#define MAXSB8   OPR(0x1C, 0x3E)

Definition at line 791 of file instruction-set.h.

◆ MAXSW4

#define MAXSW4   OPR(0x1C, 0x3F)

Definition at line 792 of file instruction-set.h.

◆ MAXUB8

#define MAXUB8   OPR(0x1C, 0x3C)

Definition at line 789 of file instruction-set.h.

◆ MAXUW4

#define MAXUW4   OPR(0x1C, 0x3D)

Definition at line 790 of file instruction-set.h.

◆ MB

#define MB   MFC(0x18,0x4000)

Definition at line 242 of file instruction-set.h.

◆ MBR

#define MBR (   oo,
 
)    (OP(oo) | (((h) & 0x3) << 14))

Definition at line 135 of file instruction-set.h.

◆ MBR_MASK

#define MBR_MASK   (OP_MASK | 0xC000) /* opcode + hint bits 15-14 */

Definition at line 136 of file instruction-set.h.

◆ MEM

#define MEM (   oo)    OP(oo)

Definition at line 127 of file instruction-set.h.

◆ MEM_DISP

#define MEM_DISP (   INSN)    (((INSN) & MEM_DISP_MASK) >> MEM_DISP_SHIFT)

Definition at line 857 of file instruction-set.h.

◆ MEM_DISP_MASK

#define MEM_DISP_MASK   0x0000ffff /* bits 15-0 */

Definition at line 854 of file instruction-set.h.

◆ MEM_DISP_SHIFT

#define MEM_DISP_SHIFT   0

Definition at line 856 of file instruction-set.h.

◆ MEM_DISP_SIGN

#define MEM_DISP_SIGN   0x00008000 /* bit 15 */

Definition at line 855 of file instruction-set.h.

◆ MEM_MASK

#define MEM_MASK   OP_MASK

Definition at line 128 of file instruction-set.h.

◆ MF_FPCR

#define MF_FPCR   FP(0x17,0x025)

Definition at line 762 of file instruction-set.h.

◆ MFC

#define MFC (   oo,
  ffff 
)    (OP(oo) | ((ffff) & 0xFFFF))

Definition at line 131 of file instruction-set.h.

◆ MFC_MASK

#define MFC_MASK   (OP_MASK | 0xFFFF) /* opcode + function bits 15-0 */

Definition at line 132 of file instruction-set.h.

◆ MINSB8

#define MINSB8   OPR(0x1C, 0x38)

Definition at line 785 of file instruction-set.h.

◆ MINSW4

#define MINSW4   OPR(0x1C, 0x39)

Definition at line 786 of file instruction-set.h.

◆ MINUB8

#define MINUB8   OPR(0x1C, 0x3A)

Definition at line 787 of file instruction-set.h.

◆ MINUW4

#define MINUW4   OPR(0x1C, 0x3B)

Definition at line 788 of file instruction-set.h.

◆ MOV

#define MOV   OPR(0x11,0x20) /*pseudo*/

Definition at line 332 of file instruction-set.h.

◆ MSKBL

#define MSKBL   OPR(0x12,0x02)

Definition at line 351 of file instruction-set.h.

◆ MSKLH

#define MSKLH   OPR(0x12,0x62)

Definition at line 371 of file instruction-set.h.

◆ MSKLL

#define MSKLL   OPR(0x12,0x22)

Definition at line 357 of file instruction-set.h.

◆ MSKQH

#define MSKQH   OPR(0x12,0x72)

Definition at line 374 of file instruction-set.h.

◆ MSKQL

#define MSKQL   OPR(0x12,0x32)

Definition at line 362 of file instruction-set.h.

◆ MSKWH

#define MSKWH   OPR(0x12,0x52)

Definition at line 368 of file instruction-set.h.

◆ MSKWL

#define MSKWL   OPR(0x12,0x12)

Definition at line 354 of file instruction-set.h.

◆ MT_FPCR

#define MT_FPCR   FP(0x17,0x024)

Definition at line 761 of file instruction-set.h.

◆ MULF

#define MULF   FP(0x15,0x082)

Definition at line 465 of file instruction-set.h.

◆ MULF_C

#define MULF_C   FP(0x15,0x002)

Definition at line 450 of file instruction-set.h.

◆ MULF_S

#define MULF_S   FP(0x15,0x482)

Definition at line 520 of file instruction-set.h.

◆ MULF_SC

#define MULF_SC   FP(0x15,0x402)

Definition at line 507 of file instruction-set.h.

◆ MULF_SU

#define MULF_SU   FP(0x15,0x582)

Definition at line 548 of file instruction-set.h.

◆ MULF_SUC

#define MULF_SUC   FP(0x15,0x502)

Definition at line 536 of file instruction-set.h.

◆ MULF_U

#define MULF_U   FP(0x15,0x182)

Definition at line 495 of file instruction-set.h.

◆ MULF_UC

#define MULF_UC   FP(0x15,0x102)

Definition at line 483 of file instruction-set.h.

◆ MULG

#define MULG   FP(0x15,0x0A2)

Definition at line 471 of file instruction-set.h.

◆ MULG_C

#define MULG_C   FP(0x15,0x022)

Definition at line 455 of file instruction-set.h.

◆ MULG_S

#define MULG_S   FP(0x15,0x4A2)

Definition at line 526 of file instruction-set.h.

◆ MULG_SC

#define MULG_SC   FP(0x15,0x422)

Definition at line 512 of file instruction-set.h.

◆ MULG_SU

#define MULG_SU   FP(0x15,0x5A2)

Definition at line 553 of file instruction-set.h.

◆ MULG_SUC

#define MULG_SUC   FP(0x15,0x522)

Definition at line 541 of file instruction-set.h.

◆ MULG_U

#define MULG_U   FP(0x15,0x1A2)

Definition at line 500 of file instruction-set.h.

◆ MULG_UC

#define MULG_UC   FP(0x15,0x122)

Definition at line 488 of file instruction-set.h.

◆ MULL

#define MULL   OPR(0x13,0x00)

Definition at line 378 of file instruction-set.h.

◆ MULL_V

#define MULL_V   OPR(0x13,0x40)

Definition at line 381 of file instruction-set.h.

◆ MULQ

#define MULQ   OPR(0x13,0x20)

Definition at line 379 of file instruction-set.h.

◆ MULQ_V

#define MULQ_V   OPR(0x13,0x60)

Definition at line 382 of file instruction-set.h.

◆ MULS

#define MULS   FP(0x16,0x082)

Definition at line 586 of file instruction-set.h.

◆ MULS_C

#define MULS_C   FP(0x16,0x002)

Definition at line 561 of file instruction-set.h.

◆ MULS_D

#define MULS_D   FP(0x16,0x0C2)

Definition at line 603 of file instruction-set.h.

◆ MULS_M

#define MULS_M   FP(0x16,0x042)

Definition at line 573 of file instruction-set.h.

◆ MULS_SU

#define MULS_SU   FP(0x16,0x582)

Definition at line 677 of file instruction-set.h.

◆ MULS_SUC

#define MULS_SUC   FP(0x16,0x502)

Definition at line 656 of file instruction-set.h.

◆ MULS_SUD

#define MULS_SUD   FP(0x16,0x5C2)

Definition at line 692 of file instruction-set.h.

◆ MULS_SUI

#define MULS_SUI   FP(0x16,0x782)

Definition at line 728 of file instruction-set.h.

◆ MULS_SUIC

#define MULS_SUIC   FP(0x16,0x702)

Definition at line 703 of file instruction-set.h.

◆ MULS_SUID

#define MULS_SUID   FP(0x16,0x7C2)

Definition at line 741 of file instruction-set.h.

◆ MULS_SUIM

#define MULS_SUIM   FP(0x16,0x742)

Definition at line 715 of file instruction-set.h.

◆ MULS_SUM

#define MULS_SUM   FP(0x16,0x542)

Definition at line 666 of file instruction-set.h.

◆ MULS_U

#define MULS_U   FP(0x16,0x182)

Definition at line 635 of file instruction-set.h.

◆ MULS_UC

#define MULS_UC   FP(0x16,0x102)

Definition at line 615 of file instruction-set.h.

◆ MULS_UD

#define MULS_UD   FP(0x16,0x1C2)

Definition at line 645 of file instruction-set.h.

◆ MULS_UM

#define MULS_UM   FP(0x16,0x142)

Definition at line 625 of file instruction-set.h.

◆ MULT

#define MULT   FP(0x16,0x0A2)

Definition at line 591 of file instruction-set.h.

◆ MULT_C

#define MULT_C   FP(0x16,0x022)

Definition at line 565 of file instruction-set.h.

◆ MULT_D

#define MULT_D   FP(0x16,0x0E2)

Definition at line 607 of file instruction-set.h.

◆ MULT_M

#define MULT_M   FP(0x16,0x062)

Definition at line 577 of file instruction-set.h.

◆ MULT_SU

#define MULT_SU   FP(0x16,0x5A2)

Definition at line 682 of file instruction-set.h.

◆ MULT_SUC

#define MULT_SUC   FP(0x16,0x522)

Definition at line 660 of file instruction-set.h.

◆ MULT_SUD

#define MULT_SUD   FP(0x16,0x5E2)

Definition at line 696 of file instruction-set.h.

◆ MULT_SUI

#define MULT_SUI   FP(0x16,0x7A2)

Definition at line 733 of file instruction-set.h.

◆ MULT_SUIC

#define MULT_SUIC   FP(0x16,0x722)

Definition at line 707 of file instruction-set.h.

◆ MULT_SUID

#define MULT_SUID   FP(0x16,0x7E2)

Definition at line 745 of file instruction-set.h.

◆ MULT_SUIM

#define MULT_SUIM   FP(0x16,0x762)

Definition at line 719 of file instruction-set.h.

◆ MULT_SUM

#define MULT_SUM   FP(0x16,0x562)

Definition at line 670 of file instruction-set.h.

◆ MULT_U

#define MULT_U   FP(0x16,0x1A2)

Definition at line 639 of file instruction-set.h.

◆ MULT_UC

#define MULT_UC   FP(0x16,0x122)

Definition at line 619 of file instruction-set.h.

◆ MULT_UD

#define MULT_UD   FP(0x16,0x1E2)

Definition at line 649 of file instruction-set.h.

◆ MULT_UM

#define MULT_UM   FP(0x16,0x162)

Definition at line 629 of file instruction-set.h.

◆ NEGF

#define NEGF   FP(0x15,0x081) /*pseudo*/

Definition at line 463 of file instruction-set.h.

◆ NEGF_S

#define NEGF_S   FP(0x15,0x481) /*pseudo*/

Definition at line 518 of file instruction-set.h.

◆ NEGG

#define NEGG   FP(0x15,0x0A1) /*pseudo*/

Definition at line 469 of file instruction-set.h.

◆ NEGG_S

#define NEGG_S   FP(0x15,0x4A1) /*pseudo*/

Definition at line 524 of file instruction-set.h.

◆ NEGL

#define NEGL   OPR(0x10,0x09) /*pseudo*/

Definition at line 298 of file instruction-set.h.

◆ NEGL_V

#define NEGL_V   OPR(0x10,0x49) /*pseudo*/

Definition at line 315 of file instruction-set.h.

◆ NEGQ

#define NEGQ   OPR(0x10,0x29) /*pseudo*/

Definition at line 307 of file instruction-set.h.

◆ NEGQ_V

#define NEGQ_V   OPR(0x10,0x69) /*pseudo*/

Definition at line 319 of file instruction-set.h.

◆ NEGS

#define NEGS   FP(0x16,0x081) /*pseudo*/

Definition at line 584 of file instruction-set.h.

◆ NEGS_SU

#define NEGS_SU   FP(0x16,0x581) /*pseudo*/

Definition at line 675 of file instruction-set.h.

◆ NEGS_SUI

#define NEGS_SUI   FP(0x16,0x781) /*pseudo*/

Definition at line 726 of file instruction-set.h.

◆ NEGT

#define NEGT   FP(0x16,0x0A1) /*pseudo*/

Definition at line 589 of file instruction-set.h.

◆ NEGT_SU

#define NEGT_SU   FP(0x16,0x5A1) /*pseudo*/

Definition at line 680 of file instruction-set.h.

◆ NEGT_SUI

#define NEGT_SUI   FP(0x16,0x7A1) /*pseudo*/

Definition at line 731 of file instruction-set.h.

◆ NOP

#define NOP   OPR(0x11,0x20) /* int nop (see unop) */ /*pseudo*/

Definition at line 330 of file instruction-set.h.

◆ NOT

#define NOT   OPR(0x11,0x28) /*pseudo*/

Definition at line 338 of file instruction-set.h.

◆ OP

#define OP (   x)    (uint32_t)(((x) & 0x3F) << 26)

Definition at line 121 of file instruction-set.h.

◆ OP_MASK

#define OP_MASK   0xFC000000 /* opcode: bits 31-26 */

Definition at line 122 of file instruction-set.h.

◆ OpFltIEEE

#define OpFltIEEE   OP(0x16) /* IEEE floating-point instruction opcodes */

Definition at line 184 of file instruction-set.h.

◆ OpFltOp

#define OpFltOp   OP(0x17) /* Floating-point Operate instruction opcodes */

Definition at line 185 of file instruction-set.h.

◆ OpFltToInt

#define OpFltToInt   OP(0x1C) /* FP to integer register move opcodes */

Definition at line 191 of file instruction-set.h.

◆ OpFltVAX

#define OpFltVAX   OP(0x15) /* VAX floating-point instruction opcodes */

Definition at line 183 of file instruction-set.h.

◆ OpIntArith

#define OpIntArith   OP(0x10) /* Integer arithmetic instruction opcodes */

Definition at line 176 of file instruction-set.h.

◆ OpIntLogic

#define OpIntLogic   OP(0x11) /* Integer logical instruction opcodes */

Definition at line 177 of file instruction-set.h.

◆ OpIntMult

#define OpIntMult   OP(0x13) /* Integer multiply instruction opcodes */

Definition at line 179 of file instruction-set.h.

◆ OpIntShift

#define OpIntShift   OP(0x12) /* Integer shift instruction opcodes */

Definition at line 178 of file instruction-set.h.

◆ OpIntToFlt

#define OpIntToFlt   OP(0x14) /* Integer to FP register move opcodes */

Definition at line 182 of file instruction-set.h.

◆ OpJump

#define OpJump   OP(0x1A) /* Jump instruction opcodes */

Definition at line 194 of file instruction-set.h.

◆ OpMisc

#define OpMisc   OP(0x18) /* Miscellaneous instruction opcodes */

Definition at line 188 of file instruction-set.h.

◆ OPR

#define OPR (   oo,
  ff 
)    (OP(oo) | (((ff) & 0x7F) << 5))

Definition at line 148 of file instruction-set.h.

◆ OPR_MASK

#define OPR_MASK
Value:
(OP_MASK | 0x1FE0) /* opcode + litbit 12 +
function bits 11-5 */
#define OP_MASK

Definition at line 150 of file instruction-set.h.

◆ OPRL

#define OPRL (   oo,
  ff 
)    (OPR((oo),(ff)) | 0x1000)

Definition at line 149 of file instruction-set.h.

◆ OR

#define OR   OPR(0x11,0x20) /*alias*/

Definition at line 333 of file instruction-set.h.

◆ ORNOT

#define ORNOT   OPR(0x11,0x28)

Definition at line 339 of file instruction-set.h.

◆ PAL

#define PAL   PCD(0x00) /*alias*/

Definition at line 807 of file instruction-set.h.

◆ PAL19

#define PAL19   PCD(0x19)

Definition at line 808 of file instruction-set.h.

◆ PAL1B

#define PAL1B   PCD(0x1B)

Definition at line 809 of file instruction-set.h.

◆ PAL1D

#define PAL1D   PCD(0x1D)

Definition at line 810 of file instruction-set.h.

◆ PAL1E

#define PAL1E   PCD(0x1E)

Definition at line 811 of file instruction-set.h.

◆ PAL1F

#define PAL1F   PCD(0x1F)

Definition at line 812 of file instruction-set.h.

◆ PCD

#define PCD (   oo)    OP(oo)

Definition at line 162 of file instruction-set.h.

◆ PCD_MASK

#define PCD_MASK   OP_MASK

Definition at line 163 of file instruction-set.h.

◆ PERR

#define PERR   OPR(0x1C, 0x31)

Definition at line 780 of file instruction-set.h.

◆ PKLB

#define PKLB   OPR(0x1C, 0x37)

Definition at line 784 of file instruction-set.h.

◆ PKWB

#define PKWB   OPR(0x1C, 0x36)

Definition at line 783 of file instruction-set.h.

◆ RC

#define RC   MFC(0x18,0xE000)

Definition at line 247 of file instruction-set.h.

◆ REG_31

#define REG_31   31 /* $31: always 0 */

Definition at line 924 of file instruction-set.h.

◆ REG_A

#define REG_A (   INSN)    (((INSN) & REG_A_MASK) >> REG_A_SHIFT)

Definition at line 830 of file instruction-set.h.

◆ REG_A0

#define REG_A0   16 /* $a0-a5: Used to pass the first six integer type actual*/

Definition at line 905 of file instruction-set.h.

◆ REG_A1

#define REG_A1   17 /* arguments. Not preserved across procedure calls. */

Definition at line 906 of file instruction-set.h.

◆ REG_A2

#define REG_A2   18

Definition at line 907 of file instruction-set.h.

◆ REG_A3

#define REG_A3   19

Definition at line 908 of file instruction-set.h.

◆ REG_A4

#define REG_A4   20

Definition at line 909 of file instruction-set.h.

◆ REG_A5

#define REG_A5   21

Definition at line 910 of file instruction-set.h.

◆ REG_A_MASK

#define REG_A_MASK   0x03e00000 /* Register format; bits 25-21 */

Definition at line 828 of file instruction-set.h.

◆ REG_A_SHIFT

#define REG_A_SHIFT   21

Definition at line 829 of file instruction-set.h.

◆ REG_AT

#define REG_AT   28 /* $at: AT Reserved for the assembler. Not preserved. */

Definition at line 921 of file instruction-set.h.

◆ REG_B

#define REG_B (   INSN)    (((INSN) & REG_B_MASK) >> REG_B_SHIFT)

Definition at line 834 of file instruction-set.h.

◆ REG_B_MASK

#define REG_B_MASK   0x001f0000 /* Register format; bits 20-16 */

Definition at line 832 of file instruction-set.h.

◆ REG_B_SHIFT

#define REG_B_SHIFT   16

Definition at line 833 of file instruction-set.h.

◆ REG_C

#define REG_C (   INSN)    (((INSN) & REG_C_MASK) >> REG_C_SHIFT)

Definition at line 838 of file instruction-set.h.

◆ REG_C_MASK

#define REG_C_MASK   0x0000001f /* Register format; bits 4-0 */

Definition at line 836 of file instruction-set.h.

◆ REG_C_SHIFT

#define REG_C_SHIFT   0

Definition at line 837 of file instruction-set.h.

◆ REG_FP

#define REG_FP   15 /* $fp or $s6: Contains the frame pointer (if needed); */

Definition at line 902 of file instruction-set.h.

◆ REG_GP

#define REG_GP   29 /* $gp: Contains the global pointer. Not preserved. */

Definition at line 922 of file instruction-set.h.

◆ REG_PV

#define REG_PV   27 /* $pv: Contains the procedure value and used for expr. */

Definition at line 919 of file instruction-set.h.

◆ REG_RA

#define REG_RA   26 /* $ra: Contains the return address. Preserved across */

Definition at line 917 of file instruction-set.h.

◆ REG_S0

#define REG_S0   9 /* $s0-s5: Saved registers. Preserved across procedure */

Definition at line 895 of file instruction-set.h.

◆ REG_S1

#define REG_S1   10 /* calls. */

Definition at line 896 of file instruction-set.h.

◆ REG_S2

#define REG_S2   11

Definition at line 897 of file instruction-set.h.

◆ REG_S3

#define REG_S3   12

Definition at line 898 of file instruction-set.h.

◆ REG_S4

#define REG_S4   13

Definition at line 899 of file instruction-set.h.

◆ REG_S5

#define REG_S5   14

Definition at line 900 of file instruction-set.h.

◆ REG_S6

#define REG_S6   15 /* otherwise a saved register (such as s0-s5) */

Definition at line 903 of file instruction-set.h.

◆ REG_SP

#define REG_SP   30 /* $sp: Contains the stack pointer. Preserved. */

Definition at line 923 of file instruction-set.h.

◆ REG_T0

#define REG_T0   1 /* $t0-t7: Temporary registers used for expr. eval. Not */

Definition at line 886 of file instruction-set.h.

◆ REG_T1

#define REG_T1   2 /* preserved across procedure calls. */

Definition at line 887 of file instruction-set.h.

◆ REG_T10

#define REG_T10   24

Definition at line 914 of file instruction-set.h.

◆ REG_T11

#define REG_T11   25

Definition at line 915 of file instruction-set.h.

◆ REG_T2

#define REG_T2   3

Definition at line 888 of file instruction-set.h.

◆ REG_T3

#define REG_T3   4

Definition at line 889 of file instruction-set.h.

◆ REG_T4

#define REG_T4   5

Definition at line 890 of file instruction-set.h.

◆ REG_T5

#define REG_T5   6

Definition at line 891 of file instruction-set.h.

◆ REG_T6

#define REG_T6   7

Definition at line 892 of file instruction-set.h.

◆ REG_T7

#define REG_T7   8

Definition at line 893 of file instruction-set.h.

◆ REG_T8

#define REG_T8   22 /* $t8-t11: Temporary registers used for expr. eval. */

Definition at line 912 of file instruction-set.h.

◆ REG_T9

#define REG_T9   23 /* Not preserved across procedure calls. */

Definition at line 913 of file instruction-set.h.

◆ REG_V0

#define REG_V0   0 /* $v0-v1: Used for expr. eval. and to hold int type fnct */

Definition at line 884 of file instruction-set.h.

◆ RET

#define RET   MBR(0x1A,2)

Definition at line 261 of file instruction-set.h.

◆ RPCC

#define RPCC   MFC(0x18,0xC000)

Definition at line 246 of file instruction-set.h.

◆ RS

#define RS   MFC(0x18,0xF000)

Definition at line 249 of file instruction-set.h.

◆ S4ADDL

#define S4ADDL   OPR(0x10,0x02)

Definition at line 297 of file instruction-set.h.

◆ S4ADDQ

#define S4ADDQ   OPR(0x10,0x22)

Definition at line 306 of file instruction-set.h.

◆ S4SUBL

#define S4SUBL   OPR(0x10,0x0B)

Definition at line 300 of file instruction-set.h.

◆ S4SUBQ

#define S4SUBQ   OPR(0x10,0x2B)

Definition at line 309 of file instruction-set.h.

◆ S8ADDL

#define S8ADDL   OPR(0x10,0x12)

Definition at line 302 of file instruction-set.h.

◆ S8ADDQ

#define S8ADDQ   OPR(0x10,0x32)

Definition at line 311 of file instruction-set.h.

◆ S8SUBL

#define S8SUBL   OPR(0x10,0x1B)

Definition at line 303 of file instruction-set.h.

◆ S8SUBQ

#define S8SUBQ   OPR(0x10,0x3B)

Definition at line 312 of file instruction-set.h.

◆ SEXTB

#define SEXTB   OPR(0x1C, 0x00)

Definition at line 384 of file instruction-set.h.

◆ SEXTL

#define SEXTL   OPR(0x10,0x00) /*pseudo*/

Definition at line 295 of file instruction-set.h.

◆ SEXTW

#define SEXTW   OPR(0x1C, 0x01)

Definition at line 385 of file instruction-set.h.

◆ SLL

#define SLL   OPR(0x12,0x39)

Definition at line 365 of file instruction-set.h.

◆ SPCD

#define SPCD (   oo,
  ffff 
)    (OP(oo) | ((ffff) & 0x3FFFFFF))

Definition at line 166 of file instruction-set.h.

◆ SPCD_MASK

#define SPCD_MASK   0xFFFFFFFF /* opcode + function bits 25-0 */

Definition at line 167 of file instruction-set.h.

◆ SQRTF

#define SQRTF   FP(0x14,0x08A)

Definition at line 405 of file instruction-set.h.

◆ SQRTF_C

#define SQRTF_C   FP(0x14,0x00A)

Definition at line 397 of file instruction-set.h.

◆ SQRTF_S

#define SQRTF_S   FP(0x14,0x48A)

Definition at line 425 of file instruction-set.h.

◆ SQRTF_SC

#define SQRTF_SC   FP(0x14,0x40A)

Definition at line 423 of file instruction-set.h.

◆ SQRTF_SU

#define SQRTF_SU   FP(0x14,0x58A)

Definition at line 433 of file instruction-set.h.

◆ SQRTF_SUC

#define SQRTF_SUC   FP(0x14,0x50A)

Definition at line 427 of file instruction-set.h.

◆ SQRTF_U

#define SQRTF_U   FP(0x14,0x18A)

Definition at line 417 of file instruction-set.h.

◆ SQRTF_UC

#define SQRTF_UC   FP(0x14,0x10A)

Definition at line 411 of file instruction-set.h.

◆ SQRTG

#define SQRTG   FP(0x14,0x0AA)

Definition at line 407 of file instruction-set.h.

◆ SQRTG_C

#define SQRTG_C   FP(0x14,0x02A)

Definition at line 401 of file instruction-set.h.

◆ SQRTG_S

#define SQRTG_S   FP(0x14,0x4AA)

Definition at line 426 of file instruction-set.h.

◆ SQRTG_SC

#define SQRTG_SC   FP(0x14,0x42A)

Definition at line 424 of file instruction-set.h.

◆ SQRTG_SU

#define SQRTG_SU   FP(0x14,0x5AA)

Definition at line 435 of file instruction-set.h.

◆ SQRTG_SUC

#define SQRTG_SUC   FP(0x14,0x52A)

Definition at line 429 of file instruction-set.h.

◆ SQRTG_U

#define SQRTG_U   FP(0x14,0x1AA)

Definition at line 419 of file instruction-set.h.

◆ SQRTG_UC

#define SQRTG_UC   FP(0x14,0x12A)

Definition at line 413 of file instruction-set.h.

◆ SQRTS

#define SQRTS   FP(0x14,0x08B)

Definition at line 406 of file instruction-set.h.

◆ SQRTS_C

#define SQRTS_C   FP(0x14,0x00B)

Definition at line 398 of file instruction-set.h.

◆ SQRTS_D

#define SQRTS_D   FP(0x14,0x0CB)

Definition at line 409 of file instruction-set.h.

◆ SQRTS_M

#define SQRTS_M   FP(0x14,0x04B)

Definition at line 403 of file instruction-set.h.

◆ SQRTS_SU

#define SQRTS_SU   FP(0x14,0x58B)

Definition at line 434 of file instruction-set.h.

◆ SQRTS_SUC

#define SQRTS_SUC   FP(0x14,0x50B)

Definition at line 428 of file instruction-set.h.

◆ SQRTS_SUD

#define SQRTS_SUD   FP(0x14,0x5CB)

Definition at line 437 of file instruction-set.h.

◆ SQRTS_SUI

#define SQRTS_SUI   FP(0x14,0x78B)

Definition at line 443 of file instruction-set.h.

◆ SQRTS_SUIC

#define SQRTS_SUIC   FP(0x14,0x70B)

Definition at line 439 of file instruction-set.h.

◆ SQRTS_SUID

#define SQRTS_SUID   FP(0x14,0x7CB)

Definition at line 445 of file instruction-set.h.

◆ SQRTS_SUIM

#define SQRTS_SUIM   FP(0x14,0x74B)

Definition at line 441 of file instruction-set.h.

◆ SQRTS_SUM

#define SQRTS_SUM   FP(0x14,0x54B)

Definition at line 431 of file instruction-set.h.

◆ SQRTS_U

#define SQRTS_U   FP(0x14,0x18B)

Definition at line 418 of file instruction-set.h.

◆ SQRTS_UC

#define SQRTS_UC   FP(0x14,0x10B)

Definition at line 412 of file instruction-set.h.

◆ SQRTS_UD

#define SQRTS_UD   FP(0x14,0x1CB)

Definition at line 421 of file instruction-set.h.

◆ SQRTS_UM

#define SQRTS_UM   FP(0x14,0x14B)

Definition at line 415 of file instruction-set.h.

◆ SQRTT

#define SQRTT   FP(0x14,0x0AB)

Definition at line 408 of file instruction-set.h.

◆ SQRTT_C

#define SQRTT_C   FP(0x14,0x02B)

Definition at line 402 of file instruction-set.h.

◆ SQRTT_D

#define SQRTT_D   FP(0x14,0x0EB)

Definition at line 410 of file instruction-set.h.

◆ SQRTT_M

#define SQRTT_M   FP(0x14,0x06B)

Definition at line 404 of file instruction-set.h.

◆ SQRTT_SU

#define SQRTT_SU   FP(0x14,0x5AB)

Definition at line 436 of file instruction-set.h.

◆ SQRTT_SUC

#define SQRTT_SUC   FP(0x14,0x52B)

Definition at line 430 of file instruction-set.h.

◆ SQRTT_SUD

#define SQRTT_SUD   FP(0x14,0x5EB)

Definition at line 438 of file instruction-set.h.

◆ SQRTT_SUI

#define SQRTT_SUI   FP(0x14,0x7AB)

Definition at line 444 of file instruction-set.h.

◆ SQRTT_SUIC

#define SQRTT_SUIC   FP(0x14,0x72B)

Definition at line 440 of file instruction-set.h.

◆ SQRTT_SUID

#define SQRTT_SUID   FP(0x14,0x7EB)

Definition at line 446 of file instruction-set.h.

◆ SQRTT_SUIM

#define SQRTT_SUIM   FP(0x14,0x76B)

Definition at line 442 of file instruction-set.h.

◆ SQRTT_SUM

#define SQRTT_SUM   FP(0x14,0x56B)

Definition at line 432 of file instruction-set.h.

◆ SQRTT_U

#define SQRTT_U   FP(0x14,0x1AB)

Definition at line 420 of file instruction-set.h.

◆ SQRTT_UC

#define SQRTT_UC   FP(0x14,0x12B)

Definition at line 414 of file instruction-set.h.

◆ SQRTT_UD

#define SQRTT_UD   FP(0x14,0x1EB)

Definition at line 422 of file instruction-set.h.

◆ SQRTT_UM

#define SQRTT_UM   FP(0x14,0x16B)

Definition at line 416 of file instruction-set.h.

◆ SRA

#define SRA   OPR(0x12,0x3C)

Definition at line 367 of file instruction-set.h.

◆ SRL

#define SRL   OPR(0x12,0x34)

Definition at line 363 of file instruction-set.h.

◆ STB

#define STB   MEM(0x0E)

Definition at line 210 of file instruction-set.h.

◆ STF

#define STF   MEM(0x24)

Definition at line 217 of file instruction-set.h.

◆ STG

#define STG   MEM(0x25)

Definition at line 218 of file instruction-set.h.

◆ STL

#define STL   MEM(0x2C)

Definition at line 226 of file instruction-set.h.

◆ STL_C

#define STL_C   MEM(0x2E)

Definition at line 228 of file instruction-set.h.

◆ STQ

#define STQ   MEM(0x2D)

Definition at line 227 of file instruction-set.h.

◆ STQ_C

#define STQ_C   MEM(0x2F)

Definition at line 229 of file instruction-set.h.

◆ STQ_U

#define STQ_U   MEM(0x0F)

Definition at line 211 of file instruction-set.h.

◆ STS

#define STS   MEM(0x26)

Definition at line 219 of file instruction-set.h.

◆ STT

#define STT   MEM(0x27)

Definition at line 220 of file instruction-set.h.

◆ STW

#define STW   MEM(0x0D)

Definition at line 209 of file instruction-set.h.

◆ SUBF

#define SUBF   FP(0x15,0x081)

Definition at line 464 of file instruction-set.h.

◆ SUBF_C

#define SUBF_C   FP(0x15,0x001)

Definition at line 449 of file instruction-set.h.

◆ SUBF_S

#define SUBF_S   FP(0x15,0x481)

Definition at line 519 of file instruction-set.h.

◆ SUBF_SC

#define SUBF_SC   FP(0x15,0x401)

Definition at line 506 of file instruction-set.h.

◆ SUBF_SU

#define SUBF_SU   FP(0x15,0x581)

Definition at line 547 of file instruction-set.h.

◆ SUBF_SUC

#define SUBF_SUC   FP(0x15,0x501)

Definition at line 535 of file instruction-set.h.

◆ SUBF_U

#define SUBF_U   FP(0x15,0x181)

Definition at line 494 of file instruction-set.h.

◆ SUBF_UC

#define SUBF_UC   FP(0x15,0x101)

Definition at line 482 of file instruction-set.h.

◆ SUBG

#define SUBG   FP(0x15,0x0A1)

Definition at line 470 of file instruction-set.h.

◆ SUBG_C

#define SUBG_C   FP(0x15,0x021)

Definition at line 454 of file instruction-set.h.

◆ SUBG_S

#define SUBG_S   FP(0x15,0x4A1)

Definition at line 525 of file instruction-set.h.

◆ SUBG_SC

#define SUBG_SC   FP(0x15,0x421)

Definition at line 511 of file instruction-set.h.

◆ SUBG_SU

#define SUBG_SU   FP(0x15,0x5A1)

Definition at line 552 of file instruction-set.h.

◆ SUBG_SUC

#define SUBG_SUC   FP(0x15,0x521)

Definition at line 540 of file instruction-set.h.

◆ SUBG_U

#define SUBG_U   FP(0x15,0x1A1)

Definition at line 499 of file instruction-set.h.

◆ SUBG_UC

#define SUBG_UC   FP(0x15,0x121)

Definition at line 487 of file instruction-set.h.

◆ SUBL

#define SUBL   OPR(0x10,0x09)

Definition at line 299 of file instruction-set.h.

◆ SUBL_V

#define SUBL_V   OPR(0x10,0x49)

Definition at line 316 of file instruction-set.h.

◆ SUBQ

#define SUBQ   OPR(0x10,0x29)

Definition at line 308 of file instruction-set.h.

◆ SUBQ_V

#define SUBQ_V   OPR(0x10,0x69)

Definition at line 320 of file instruction-set.h.

◆ SUBS

#define SUBS   FP(0x16,0x081)

Definition at line 585 of file instruction-set.h.

◆ SUBS_C

#define SUBS_C   FP(0x16,0x001)

Definition at line 560 of file instruction-set.h.

◆ SUBS_D

#define SUBS_D   FP(0x16,0x0C1)

Definition at line 602 of file instruction-set.h.

◆ SUBS_M

#define SUBS_M   FP(0x16,0x041)

Definition at line 572 of file instruction-set.h.

◆ SUBS_SU

#define SUBS_SU   FP(0x16,0x581)

Definition at line 676 of file instruction-set.h.

◆ SUBS_SUC

#define SUBS_SUC   FP(0x16,0x501)

Definition at line 655 of file instruction-set.h.

◆ SUBS_SUD

#define SUBS_SUD   FP(0x16,0x5C1)

Definition at line 691 of file instruction-set.h.

◆ SUBS_SUI

#define SUBS_SUI   FP(0x16,0x781)

Definition at line 727 of file instruction-set.h.

◆ SUBS_SUIC

#define SUBS_SUIC   FP(0x16,0x701)

Definition at line 702 of file instruction-set.h.

◆ SUBS_SUID

#define SUBS_SUID   FP(0x16,0x7C1)

Definition at line 740 of file instruction-set.h.

◆ SUBS_SUIM

#define SUBS_SUIM   FP(0x16,0x741)

Definition at line 714 of file instruction-set.h.

◆ SUBS_SUM

#define SUBS_SUM   FP(0x16,0x541)

Definition at line 665 of file instruction-set.h.

◆ SUBS_U

#define SUBS_U   FP(0x16,0x181)

Definition at line 634 of file instruction-set.h.

◆ SUBS_UC

#define SUBS_UC   FP(0x16,0x101)

Definition at line 614 of file instruction-set.h.

◆ SUBS_UD

#define SUBS_UD   FP(0x16,0x1C1)

Definition at line 644 of file instruction-set.h.

◆ SUBS_UM

#define SUBS_UM   FP(0x16,0x141)

Definition at line 624 of file instruction-set.h.

◆ SUBT

#define SUBT   FP(0x16,0x0A1)

Definition at line 590 of file instruction-set.h.

◆ SUBT_C

#define SUBT_C   FP(0x16,0x021)

Definition at line 564 of file instruction-set.h.

◆ SUBT_D

#define SUBT_D   FP(0x16,0x0E1)

Definition at line 606 of file instruction-set.h.

◆ SUBT_M

#define SUBT_M   FP(0x16,0x061)

Definition at line 576 of file instruction-set.h.

◆ SUBT_SU

#define SUBT_SU   FP(0x16,0x5A1)

Definition at line 681 of file instruction-set.h.

◆ SUBT_SUC

#define SUBT_SUC   FP(0x16,0x521)

Definition at line 659 of file instruction-set.h.

◆ SUBT_SUD

#define SUBT_SUD   FP(0x16,0x5E1)

Definition at line 695 of file instruction-set.h.

◆ SUBT_SUI

#define SUBT_SUI   FP(0x16,0x7A1)

Definition at line 732 of file instruction-set.h.

◆ SUBT_SUIC

#define SUBT_SUIC   FP(0x16,0x721)

Definition at line 706 of file instruction-set.h.

◆ SUBT_SUID

#define SUBT_SUID   FP(0x16,0x7E1)

Definition at line 744 of file instruction-set.h.

◆ SUBT_SUIM

#define SUBT_SUIM   FP(0x16,0x761)

Definition at line 718 of file instruction-set.h.

◆ SUBT_SUM

#define SUBT_SUM   FP(0x16,0x561)

Definition at line 669 of file instruction-set.h.

◆ SUBT_U

#define SUBT_U   FP(0x16,0x1A1)

Definition at line 638 of file instruction-set.h.

◆ SUBT_UC

#define SUBT_UC   FP(0x16,0x121)

Definition at line 618 of file instruction-set.h.

◆ SUBT_UD

#define SUBT_UD   FP(0x16,0x1E1)

Definition at line 648 of file instruction-set.h.

◆ SUBT_UM

#define SUBT_UM   FP(0x16,0x161)

Definition at line 628 of file instruction-set.h.

◆ TRAPB

#define TRAPB   MFC(0x18,0x0000)

Definition at line 239 of file instruction-set.h.

◆ UMULH

#define UMULH   OPR(0x13,0x30)

Definition at line 380 of file instruction-set.h.

◆ UNOP

#define UNOP   MEM(0x0B) /*pseudo*/

Definition at line 206 of file instruction-set.h.

◆ UNPKBL

#define UNPKBL   OPR(0x1C, 0x35)

Definition at line 782 of file instruction-set.h.

◆ UNPKBW

#define UNPKBW   OPR(0x1C, 0x34)

Definition at line 781 of file instruction-set.h.

◆ WH64

#define WH64   MFC(0x18,0xF800)

Definition at line 250 of file instruction-set.h.

◆ WMB

#define WMB   MFC(0x18,0x4400)

Definition at line 243 of file instruction-set.h.

◆ XOR

#define XOR   OPR(0x11,0x40)

Definition at line 340 of file instruction-set.h.

◆ XORNOT

#define XORNOT   OPR(0x11,0x48) /*alias*/

Definition at line 344 of file instruction-set.h.

◆ ZAP

#define ZAP   OPR(0x12,0x30)

Definition at line 360 of file instruction-set.h.

◆ ZAPNOT

#define ZAPNOT   OPR(0x12,0x31)

Definition at line 361 of file instruction-set.h.