• Home
  • Raw
  • Download

Lines Matching refs:instword

1201 static int emulate_string_inst(struct pt_regs *regs, u32 instword)  in emulate_string_inst()  argument
1203 u8 rT = (instword >> 21) & 0x1f; in emulate_string_inst()
1204 u8 rA = (instword >> 16) & 0x1f; in emulate_string_inst()
1205 u8 NB_RB = (instword >> 11) & 0x1f; in emulate_string_inst()
1211 if ((instword & PPC_INST_STRING_MASK) == PPC_INST_LSWX) in emulate_string_inst()
1217 switch (instword & PPC_INST_STRING_MASK) { in emulate_string_inst()
1240 switch ((instword & PPC_INST_STRING_MASK)) { in emulate_string_inst()
1273 static int emulate_popcntb_inst(struct pt_regs *regs, u32 instword) in emulate_popcntb_inst() argument
1278 ra = (instword >> 16) & 0x1f; in emulate_popcntb_inst()
1279 rs = (instword >> 21) & 0x1f; in emulate_popcntb_inst()
1290 static int emulate_isel(struct pt_regs *regs, u32 instword) in emulate_isel() argument
1292 u8 rT = (instword >> 21) & 0x1f; in emulate_isel()
1293 u8 rA = (instword >> 16) & 0x1f; in emulate_isel()
1294 u8 rB = (instword >> 11) & 0x1f; in emulate_isel()
1295 u8 BC = (instword >> 6) & 0x1f; in emulate_isel()
1331 u32 instword; in emulate_instruction() local
1338 if (get_user(instword, (u32 __user *)(regs->nip))) in emulate_instruction()
1342 if ((instword & PPC_INST_MFSPR_PVR_MASK) == PPC_INST_MFSPR_PVR) { in emulate_instruction()
1344 rd = (instword >> 21) & 0x1f; in emulate_instruction()
1350 if ((instword & PPC_INST_DCBA_MASK) == PPC_INST_DCBA) { in emulate_instruction()
1356 if ((instword & PPC_INST_MCRXR_MASK) == PPC_INST_MCRXR) { in emulate_instruction()
1357 int shift = (instword >> 21) & 0x1c; in emulate_instruction()
1367 if ((instword & PPC_INST_STRING_GEN_MASK) == PPC_INST_STRING) { in emulate_instruction()
1372 return emulate_string_inst(regs, instword); in emulate_instruction()
1376 if ((instword & PPC_INST_POPCNTB_MASK) == PPC_INST_POPCNTB) { in emulate_instruction()
1378 return emulate_popcntb_inst(regs, instword); in emulate_instruction()
1382 if ((instword & PPC_INST_ISEL_MASK) == PPC_INST_ISEL) { in emulate_instruction()
1384 return emulate_isel(regs, instword); in emulate_instruction()
1388 if ((instword & PPC_INST_SYNC_MASK) == PPC_INST_SYNC) { in emulate_instruction()
1396 if ((((instword & PPC_INST_MFSPR_DSCR_USER_MASK) == in emulate_instruction()
1398 ((instword & PPC_INST_MFSPR_DSCR_MASK) == in emulate_instruction()
1402 rd = (instword >> 21) & 0x1f; in emulate_instruction()
1407 if ((((instword & PPC_INST_MTSPR_DSCR_USER_MASK) == in emulate_instruction()
1409 ((instword & PPC_INST_MTSPR_DSCR_MASK) == in emulate_instruction()
1413 rd = (instword >> 21) & 0x1f; in emulate_instruction()
1717 u32 instword, rd; in facility_unavailable_exception() local
1761 if (get_user(instword, (u32 __user *)(regs->nip))) { in facility_unavailable_exception()
1767 if ((instword & PPC_INST_MTSPR_DSCR_USER_MASK) in facility_unavailable_exception()
1769 rd = (instword >> 21) & 0x1f; in facility_unavailable_exception()
1777 if ((instword & PPC_INST_MFSPR_DSCR_USER_MASK) in facility_unavailable_exception()