Home | History | Annotate | Download | only in opcodes

Lines Matching defs:SH

1165 /* The b operand of extrwi, sets SH = b + n.  */
1205 int64_t sh = (insn >> 11) & 0x1f;
1208 if (sh != 31 - me)
1210 return (mb + sh) & 0x1f;
1232 int64_t sh = (insn >> 11) & 0x1f;
1235 if (((sh + mb) & 0x1f) != 0)
1259 int64_t sh = (insn >> 11) & 0x1f;
1262 if (((sh + me + 1) & 0x1f) != 0)
1818 /* The n operand of rotrwi, sets SH = 32 - n. */
1837 /* The n operand of slwi, sets SH = n and ME = 31 - n. */
1853 int64_t sh = (insn >> 11) & 0x1f;
1855 if (sh != nme)
1857 return sh;
1860 /* The n operand of srwi, sets SH = 32 - n and MB = n. */
1883 /* The SH field in an MD form instruction. This is split. */
1902 /* The n operand of rotrdi, which writes to SH field. */
1921 /* The n operand of sldi, which writes to SH and ME fields. */
1938 int64_t sh = extract_sh6 (insn, dialect, invalid);
1940 if (me != sh)
1942 return sh;
1945 /* The n operand of srdi, which writes to SH and MB fields. */
1962 int64_t sh = extract_rrdn (insn, dialect, invalid);
1964 if (mb != sh)
1966 return sh;
1969 /* The b operand of extrdi, which sets SH field. */
1986 int64_t sh = extract_sh6 (insn, dialect, invalid);
1988 return (sh - n) & 63;
2010 int64_t sh = extract_sh6 (insn, dialect, invalid);
2012 return (mb + sh) & 63;
2034 int64_t sh = extract_sh6 (insn, dialect, invalid);
2036 return (~(mb + sh) & 63) + 1;
3538 /* The SH field in an X or M form instruction. */
3539 #define SH SE_SDW + 1
3542 #define EVUIMM SH
3544 #define FC SH
3545 #define UIM5 SH
3548 #define RRWn SH + 1
3567 /* The SH field in an MD form instruction. This is split. */
3596 /* The SH field of some variants of the tlbre and tlbwe
3737 /* The SH field in a vector shift double by bit immediate instruction. */
3837 /* SH field starting at bit position 16. */
4335 /* An M_MASK with the SH and ME fields fixed. */
4338 /* An M_MASK with the SH and MB fields fixed. */
4351 /* An MD_MASK with the SH field fixed. */
4517 /* A VX_MASK for instructions with a SH field. */
4805 /* An X form tlb instruction with the SH field specified. */
4806 #define XTLB(op, xop, sh) \
4808 | ((((uint64_t)(sh)) & 0x1f) << 11))
7033 {"rlwimi", M(20,0), M_MASK, PPCCOM, PPCVLE, {RA, RS, SH, MBE, ME}},
7036 {"rlimi", M(20,0), M_MASK, PWRCOM, PPCVLE, {RA, RS, SH, MBE, ME}},
7038 {"rlwimi.", M(20,1), M_MASK, PPCCOM, PPCVLE, {RA, RS, SH, MBE, ME}},
7041 {"rlimi.", M(20,1), M_MASK, PWRCOM, PPCVLE, {RA, RS, SH, MBE, ME}},
7043 {"rotlwi", MME(21,31,0), MMBME_MASK, PPCCOM, PPCVLE|EXT, {RA, RS, SH}},
7049 {"rlwinm", M(21,0), M_MASK, PPCCOM, PPCVLE, {RA, RS, SH, MBE, ME}},
7050 {"extlwi", M(21,0), MMB_MASK, PPCCOM, PPCVLE|EXT, {RA, RS, ELWn, SH}},
7055 {"rlinm", M(21,0), M_MASK, PWRCOM, PPCVLE, {RA, RS, SH, MBE, ME}},
7056 {"rotlwi.", MME(21,31,1), MMBME_MASK, PPCCOM, PPCVLE|EXT, {RA, RS, SH}},
7062 {"rlwinm.", M(21,1), M_MASK, PPCCOM, PPCVLE, {RA, RS, SH, MBE, ME}},
7063 {"extlwi.", M(21,1), MMB_MASK, PPCCOM, PPCVLE|EXT, {RA, RS, ELWn, SH}},
7068 {"rlinm.", M(21,1), M_MASK, PWRCOM, PPCVLE, {RA, RS, SH, MBE, ME}},
7508 {"sliq", XRC(31,184,0), X_MASK, M601, 0, {RA, RS, SH}},
7509 {"sliq.", XRC(31,184,1), X_MASK, M601, 0, {RA, RS, SH}},
7606 {"slliq", XRC(31,248,0), X_MASK, M601, 0, {RA, RS, SH}},
7607 {"slliq.", XRC(31,248,1), X_MASK, M601, 0, {RA, RS, SH}},
8720 {"sriq", XRC(31,696,0), X_MASK, M601, 0, {RA, RS, SH}},
8721 {"sriq.", XRC(31,696,1), X_MASK, M601, 0, {RA, RS, SH}},
8806 {"srliq", XRC(31,760,0), X_MASK, M601, 0, {RA, RS, SH}},
8807 {"srliq.", XRC(31,760,1), X_MASK, M601, 0, {RA, RS, SH}},
8873 {"srawi", XRC(31,824,0), X_MASK, PPCCOM, 0, {RA, RS, SH}},
8874 {"srai", XRC(31,824,0), X_MASK, PWRCOM, 0, {RA, RS, SH}},
8875 {"srawi.", XRC(31,824,1), X_MASK, PPCCOM, 0, {RA, RS, SH}},
8876 {"srai.", XRC(31,824,1), X_MASK, PWRCOM, 0, {RA, RS, SH}},
9005 {"sraiq", XRC(31,952,0), X_MASK, M601, 0, {RA, RS, SH}},
9006 {"sraiq.", XRC(31,952,1), X_MASK, M601, 0, {RA, RS, SH}},
10190 {"e_rlwimi", M(29,0), M_MASK, PPCVLE, 0, {RA, RS, SH, MB, ME}},
10193 {"e_rotlwi", MME(29,31,1), MMBME_MASK, PPCVLE, EXT, {RA, RS, SH}},
10197 {"e_rlwinm", M(29,1), M_MASK, PPCVLE, 0, {RA, RS, SH, MBE, ME}},
10198 {"e_extlwi", M(29,1), MMB_MASK, PPCVLE, EXT, {RA, RS, ELWn, SH}},
10249 {"e_slwi", EX(31,112), EX_MASK, PPCVLE, 0, {RA, RS, SH}},
10250 {"e_slwi.", EX(31,113), EX_MASK, PPCVLE, 0, {RA, RS, SH}},
10260 {"e_rlwi", EX(31,624), EX_MASK, PPCVLE, 0, {RA, RS, SH}},
10261 {"e_rlwi.", EX(31,625), EX_MASK, PPCVLE, 0, {RA, RS, SH}},
10270 {"e_srwi", EX(31,1136), EX_MASK, PPCVLE, 0, {RA, RS, SH}},
10271 {"e_srwi.", EX(31,1137), EX_MASK, PPCVLE, 0, {RA, RS, SH}},