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. */
3838 /* SH field starting at bit position 16. */
4336 /* An M_MASK with the SH and ME fields fixed. */
4339 /* An M_MASK with the SH and MB fields fixed. */
4352 /* An MD_MASK with the SH field fixed. */
4527 /* A VX_MASK for instructions with a SH field. */
4821 /* An X form tlb instruction with the SH field specified. */
4822 #define XTLB(op, xop, sh) \
4824 | ((((uint64_t)(sh)) & 0x1f) << 11))
7061 {"rlwimi", M(20,0), M_MASK, PPCCOM, PPCVLE, {RA, RS, SH, MBE, ME}},
7064 {"rlimi", M(20,0), M_MASK, PWRCOM, PPCVLE, {RA, RS, SH, MBE, ME}},
7066 {"rlwimi.", M(20,1), M_MASK, PPCCOM, PPCVLE, {RA, RS, SH, MBE, ME}},
7069 {"rlimi.", M(20,1), M_MASK, PWRCOM, PPCVLE, {RA, RS, SH, MBE, ME}},
7071 {"rotlwi", MME(21,31,0), MMBME_MASK, PPCCOM, PPCVLE|EXT, {RA, RS, SH}},
7077 {"rlwinm", M(21,0), M_MASK, PPCCOM, PPCVLE, {RA, RS, SH, MBE, ME}},
7078 {"extlwi", M(21,0), MMB_MASK, PPCCOM, PPCVLE|EXT, {RA, RS, ELWn, SH}},
7083 {"rlinm", M(21,0), M_MASK, PWRCOM, PPCVLE, {RA, RS, SH, MBE, ME}},
7084 {"rotlwi.", MME(21,31,1), MMBME_MASK, PPCCOM, PPCVLE|EXT, {RA, RS, SH}},
7090 {"rlwinm.", M(21,1), M_MASK, PPCCOM, PPCVLE, {RA, RS, SH, MBE, ME}},
7091 {"extlwi.", M(21,1), MMB_MASK, PPCCOM, PPCVLE|EXT, {RA, RS, ELWn, SH}},
7096 {"rlinm.", M(21,1), M_MASK, PWRCOM, PPCVLE, {RA, RS, SH, MBE, ME}},
7539 {"sliq", XRC(31,184,0), X_MASK, M601, 0, {RA, RS, SH}},
7540 {"sliq.", XRC(31,184,1), X_MASK, M601, 0, {RA, RS, SH}},
7637 {"slliq", XRC(31,248,0), X_MASK, M601, 0, {RA, RS, SH}},
7638 {"slliq.", XRC(31,248,1), X_MASK, M601, 0, {RA, RS, SH}},
8778 {"sriq", XRC(31,696,0), X_MASK, M601, 0, {RA, RS, SH}},
8779 {"sriq.", XRC(31,696,1), X_MASK, M601, 0, {RA, RS, SH}},
8864 {"srliq", XRC(31,760,0), X_MASK, M601, 0, {RA, RS, SH}},
8865 {"srliq.", XRC(31,760,1), X_MASK, M601, 0, {RA, RS, SH}},
8932 {"srawi", XRC(31,824,0), X_MASK, PPCCOM, 0, {RA, RS, SH}},
8933 {"srai", XRC(31,824,0), X_MASK, PWRCOM, 0, {RA, RS, SH}},
8934 {"srawi.", XRC(31,824,1), X_MASK, PPCCOM, 0, {RA, RS, SH}},
8935 {"srai.", XRC(31,824,1), X_MASK, PWRCOM, 0, {RA, RS, SH}},
9068 {"sraiq", XRC(31,952,0), X_MASK, M601, 0, {RA, RS, SH}},
9069 {"sraiq.", XRC(31,952,1), X_MASK, M601, 0, {RA, RS, SH}},
10255 {"e_rlwimi", M(29,0), M_MASK, PPCVLE, 0, {RA, RS, SH, MB, ME}},
10258 {"e_rotlwi", MME(29,31,1), MMBME_MASK, PPCVLE, EXT, {RA, RS, SH}},
10262 {"e_rlwinm", M(29,1), M_MASK, PPCVLE, 0, {RA, RS, SH, MBE, ME}},
10263 {"e_extlwi", M(29,1), MMB_MASK, PPCVLE, EXT, {RA, RS, ELWn, SH}},
10314 {"e_slwi", EX(31,112), EX_MASK, PPCVLE, 0, {RA, RS, SH}},
10315 {"e_slwi.", EX(31,113), EX_MASK, PPCVLE, 0, {RA, RS, SH}},
10325 {"e_rlwi", EX(31,624), EX_MASK, PPCVLE, 0, {RA, RS, SH}},
10326 {"e_rlwi.", EX(31,625), EX_MASK, PPCVLE, 0, {RA, RS, SH}},
10335 {"e_srwi", EX(31,1136), EX_MASK, PPCVLE, 0, {RA, RS, SH}},
10336 {"e_srwi.", EX(31,1137), EX_MASK, PPCVLE, 0, {RA, RS, SH}},