Lines Matching refs:MIPSInst
336 /* In case some other massaging is needed, keep MIPSInst as wrapper */
338 #define MIPSInst(x) x
341 #define MIPSInst_OPCODE(x) (MIPSInst(x) >> I_OPCODE_SFT)
344 #define MIPSInst_JTARGET(x) (MIPSInst(x) & 0x03ffffff)
347 #define MIPSInst_RS(x) ((MIPSInst(x) & 0x03e00000) >> I_RS_SFT)
350 #define MIPSInst_RT(x) ((MIPSInst(x) & 0x001f0000) >> I_RT_SFT)
353 #define MIPSInst_SIMM(x) ((int)((short)(MIPSInst(x) & 0xffff)))
354 #define MIPSInst_UIMM(x) (MIPSInst(x) & 0xffff)
357 #define MIPSInst_CACHEOP(x) ((MIPSInst(x) & 0x001c0000) >> I_CACHEOP_SFT)
360 #define MIPSInst_CACHESEL(x) ((MIPSInst(x) & 0x00030000) >> I_CACHESEL_SFT)
363 #define MIPSInst_RD(x) ((MIPSInst(x) & 0x0000f800) >> I_RD_SFT)
366 #define MIPSInst_RE(x) ((MIPSInst(x) & 0x000007c0) >> I_RE_SFT)
369 #define MIPSInst_FUNC(x) (MIPSInst(x) & 0x0000003f)
372 #define MIPSInst_FFMT(x) ((MIPSInst(x) & 0x01e00000) >> I_FFMT_SFT)
375 #define MIPSInst_FT(x) ((MIPSInst(x) & 0x001f0000) >> I_FT_SFT)
378 #define MIPSInst_FS(x) ((MIPSInst(x) & 0x0000f800) >> I_FS_SFT)
381 #define MIPSInst_FD(x) ((MIPSInst(x) & 0x000007c0) >> I_FD_SFT)
384 #define MIPSInst_FR(x) ((MIPSInst(x) & 0x03e00000) >> I_FR_SFT)
387 #define MIPSInst_FMA_FUNC(x) ((MIPSInst(x) & 0x0000003c) >> I_FMA_FUNC_SFT)
390 #define MIPSInst_FMA_FFMT(x) (MIPSInst(x) & 0x00000003)