Lines Matching refs:MIPSInst
313 /* In case some other massaging is needed, keep MIPSInst as wrapper */
315 #define MIPSInst(x) x
318 #define MIPSInst_OPCODE(x) (MIPSInst(x) >> I_OPCODE_SFT)
321 #define MIPSInst_JTARGET(x) (MIPSInst(x) & 0x03ffffff)
324 #define MIPSInst_RS(x) ((MIPSInst(x) & 0x03e00000) >> I_RS_SFT)
327 #define MIPSInst_RT(x) ((MIPSInst(x) & 0x001f0000) >> I_RT_SFT)
330 #define MIPSInst_SIMM(x) ((int)((short)(MIPSInst(x) & 0xffff)))
331 #define MIPSInst_UIMM(x) (MIPSInst(x) & 0xffff)
334 #define MIPSInst_CACHEOP(x) ((MIPSInst(x) & 0x001c0000) >> I_CACHEOP_SFT)
337 #define MIPSInst_CACHESEL(x) ((MIPSInst(x) & 0x00030000) >> I_CACHESEL_SFT)
340 #define MIPSInst_RD(x) ((MIPSInst(x) & 0x0000f800) >> I_RD_SFT)
343 #define MIPSInst_RE(x) ((MIPSInst(x) & 0x000007c0) >> I_RE_SFT)
346 #define MIPSInst_FUNC(x) (MIPSInst(x) & 0x0000003f)
349 #define MIPSInst_FFMT(x) ((MIPSInst(x) & 0x01e00000) >> I_FFMT_SFT)
352 #define MIPSInst_FT(x) ((MIPSInst(x) & 0x001f0000) >> I_FT_SFT)
355 #define MIPSInst_FS(x) ((MIPSInst(x) & 0x0000f800) >> I_FS_SFT)
358 #define MIPSInst_FD(x) ((MIPSInst(x) & 0x000007c0) >> I_FD_SFT)
361 #define MIPSInst_FR(x) ((MIPSInst(x) & 0x03e00000) >> I_FR_SFT)
364 #define MIPSInst_FMA_FUNC(x) ((MIPSInst(x) & 0x0000003c) >> I_FMA_FUNC_SFT)
367 #define MIPSInst_FMA_FFMT(x) (MIPSInst(x) & 0x00000003)