Home
last modified time | relevance | path

Searched refs:MIPSInst (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/mips/include/asm/
H A Dinst.h20 #define MIPSInst(x) x macro
23 #define MIPSInst_OPCODE(x) (MIPSInst(x) >> I_OPCODE_SFT)
26 #define MIPSInst_JTARGET(x) (MIPSInst(x) & 0x03ffffff)
29 #define MIPSInst_RS(x) ((MIPSInst(x) & 0x03e00000) >> I_RS_SFT)
32 #define MIPSInst_RT(x) ((MIPSInst(x) & 0x001f0000) >> I_RT_SFT)
35 #define MIPSInst_SIMM(x) ((int)((short)(MIPSInst(x) & 0xffff)))
36 #define MIPSInst_UIMM(x) (MIPSInst(x) & 0xffff)
45 #define MIPSInst_RD(x) ((MIPSInst(x) & 0x0000f800) >> I_RD_SFT)
48 #define MIPSInst_RE(x) ((MIPSInst(x) & 0x000007c0) >> I_RE_SFT)
51 #define MIPSInst_FUNC(x) (MIPSInst(x) & 0x0000003f)
[all …]