Lines Matching defs:instword

1220 static int emulate_string_inst(struct pt_regs *regs, u32 instword)
1222 u8 rT = (instword >> 21) & 0x1f;
1223 u8 rA = (instword >> 16) & 0x1f;
1224 u8 NB_RB = (instword >> 11) & 0x1f;
1230 if ((instword & PPC_INST_STRING_MASK) == PPC_INST_LSWX)
1236 switch (instword & PPC_INST_STRING_MASK) {
1259 switch ((instword & PPC_INST_STRING_MASK)) {
1292 static int emulate_popcntb_inst(struct pt_regs *regs, u32 instword)
1297 ra = (instword >> 16) & 0x1f;
1298 rs = (instword >> 21) & 0x1f;
1309 static int emulate_isel(struct pt_regs *regs, u32 instword)
1311 u8 rT = (instword >> 21) & 0x1f;
1312 u8 rA = (instword >> 16) & 0x1f;
1313 u8 rB = (instword >> 11) & 0x1f;
1314 u8 BC = (instword >> 6) & 0x1f;
1350 u32 instword;
1356 if (get_user(instword, (u32 __user *)(regs->nip)))
1360 if ((instword & PPC_INST_MFSPR_PVR_MASK) == PPC_INST_MFSPR_PVR) {
1362 rd = (instword >> 21) & 0x1f;
1368 if ((instword & PPC_INST_DCBA_MASK) == PPC_INST_DCBA) {
1374 if ((instword & PPC_INST_MCRXR_MASK) == PPC_INST_MCRXR) {
1375 int shift = (instword >> 21) & 0x1c;
1385 if ((instword & PPC_INST_STRING_GEN_MASK) == PPC_INST_STRING) {
1390 return emulate_string_inst(regs, instword);
1394 if ((instword & PPC_INST_POPCNTB_MASK) == PPC_INST_POPCNTB) {
1396 return emulate_popcntb_inst(regs, instword);
1400 if ((instword & PPC_INST_ISEL_MASK) == PPC_INST_ISEL) {
1402 return emulate_isel(regs, instword);
1406 if ((instword & PPC_INST_SYNC_MASK) == PPC_INST_SYNC) {
1414 if ((((instword & PPC_INST_MFSPR_DSCR_USER_MASK) ==
1416 ((instword & PPC_INST_MFSPR_DSCR_MASK) ==
1420 rd = (instword >> 21) & 0x1f;
1425 if ((((instword & PPC_INST_MTSPR_DSCR_USER_MASK) ==
1427 ((instword & PPC_INST_MTSPR_DSCR_MASK) ==
1431 rd = (instword >> 21) & 0x1f;
1758 u32 instword, rd;
1800 if (get_user(instword, (u32 __user *)(regs->nip))) {
1806 if ((instword & PPC_INST_MTSPR_DSCR_USER_MASK)
1808 rd = (instword >> 21) & 0x1f;
1816 if ((instword & PPC_INST_MFSPR_DSCR_USER_MASK)