Lines Matching refs:word

1361 	unsigned int word, suffix;  in analyse_instr()  local
1364 word = ppc_inst_val(instr); in analyse_instr()
1373 imm = (signed short)(word & 0xfffc); in analyse_instr()
1374 if ((word & 2) == 0) in analyse_instr()
1377 if (word & 1) in analyse_instr()
1379 if (branch_taken(word, regs, op)) in analyse_instr()
1383 if ((word & 0xfe2) == 2) in analyse_instr()
1386 (word & 0xfe3) == 1) { /* scv */ in analyse_instr()
1395 imm = word & 0x03fffffc; in analyse_instr()
1398 if ((word & 2) == 0) in analyse_instr()
1401 if (word & 1) in analyse_instr()
1405 switch ((word >> 1) & 0x3ff) { in analyse_instr()
1408 rd = 7 - ((word >> 23) & 0x7); in analyse_instr()
1409 ra = 7 - ((word >> 18) & 0x7); in analyse_instr()
1419 imm = (word & 0x400)? regs->ctr: regs->link; in analyse_instr()
1421 if (word & 1) in analyse_instr()
1423 if (branch_taken(word, regs, op)) in analyse_instr()
1446 ra = (word >> 16) & 0x1f; in analyse_instr()
1447 rb = (word >> 11) & 0x1f; in analyse_instr()
1448 rd = (word >> 21) & 0x1f; in analyse_instr()
1451 val = (word >> (6 + ra * 2 + rb)) & 1; in analyse_instr()
1458 switch ((word >> 1) & 0x3ff) { in analyse_instr()
1462 switch ((word >> 21) & 3) { in analyse_instr()
1480 rd = (word >> 21) & 0x1f; in analyse_instr()
1481 ra = (word >> 16) & 0x1f; in analyse_instr()
1482 rb = (word >> 11) & 0x1f; in analyse_instr()
1483 rc = (word >> 6) & 0x1f; in analyse_instr()
1491 prefix_r = GET_PREFIX_R(word); in analyse_instr()
1497 prefixtype = (word >> 24) & 0x3; in analyse_instr()
1505 op->val = mlsd_8lsd_ea(word, suffix, regs); in analyse_instr()
1511 if (rd & trap_compare(regs->gpr[ra], (short) word)) in analyse_instr()
1516 if (rd & trap_compare((int)regs->gpr[ra], (short) word)) in analyse_instr()
1530 switch (word & 0x3f) { in analyse_instr()
1558 op->val = regs->gpr[ra] * (short) word; in analyse_instr()
1562 imm = (short) word; in analyse_instr()
1567 imm = (unsigned short) word; in analyse_instr()
1577 imm = (short) word; in analyse_instr()
1587 imm = (short) word; in analyse_instr()
1592 imm = (short) word; in analyse_instr()
1598 imm = (short) word; in analyse_instr()
1605 imm = ((short) word) << 16; in analyse_instr()
1612 if (((word >> 1) & 0x1f) == 2) { in analyse_instr()
1616 imm = (short) (word & 0xffc1); /* d0 + d2 fields */ in analyse_instr()
1617 imm |= (word >> 15) & 0x3e; /* d1 field */ in analyse_instr()
1625 mb = (word >> 6) & 0x1f; in analyse_instr()
1626 me = (word >> 1) & 0x1f; in analyse_instr()
1633 mb = (word >> 6) & 0x1f; in analyse_instr()
1634 me = (word >> 1) & 0x1f; in analyse_instr()
1640 mb = (word >> 6) & 0x1f; in analyse_instr()
1641 me = (word >> 1) & 0x1f; in analyse_instr()
1648 op->val = regs->gpr[rd] | (unsigned short) word; in analyse_instr()
1652 imm = (unsigned short) word; in analyse_instr()
1657 op->val = regs->gpr[rd] ^ (unsigned short) word; in analyse_instr()
1661 imm = (unsigned short) word; in analyse_instr()
1666 op->val = regs->gpr[rd] & (unsigned short) word; in analyse_instr()
1671 imm = (unsigned short) word; in analyse_instr()
1678 mb = ((word >> 6) & 0x1f) | (word & 0x20); in analyse_instr()
1680 if ((word & 0x10) == 0) { in analyse_instr()
1681 sh = rb | ((word & 2) << 4); in analyse_instr()
1683 switch ((word >> 2) & 3) { in analyse_instr()
1703 switch ((word >> 1) & 7) { in analyse_instr()
1718 if (((word >> 1) & 0x1f) == 15) { in analyse_instr()
1719 mb = (word >> 6) & 0x1f; /* bc field */ in analyse_instr()
1727 switch ((word >> 1) & 0x3ff) { in analyse_instr()
1761 imm = (word & 0x10000)? 0x8002: 0xefffffffffffeffeUL; in analyse_instr()
1768 if ((word >> 20) & 1) { in analyse_instr()
1771 if (word & (0x80000 >> sh)) in analyse_instr()
1807 if (word & (0x80000 >> sh)) in analyse_instr()
1815 spr = ((word >> 16) & 0x1f) | ((word >> 6) & 0x3e0); in analyse_instr()
1825 spr = ((word >> 16) & 0x1f) | ((word >> 6) & 0x3e0); in analyse_instr()
2206 sh = rb | ((word & 2) << 4); in analyse_instr()
2222 sh = rb | ((word & 2) << 4); in analyse_instr()
2237 op->ea = xform_ea(word, regs); in analyse_instr()
2242 op->ea = xform_ea(word, regs); in analyse_instr()
2247 op->ea = xform_ea(word, regs); in analyse_instr()
2253 op->ea = xform_ea(word, regs); in analyse_instr()
2259 op->ea = xform_ea(word, regs); in analyse_instr()
2264 op->ea = xform_ea(word, regs); in analyse_instr()
2277 u = (word >> 20) & UPDATE; in analyse_instr()
2282 u = word & UPDATE; in analyse_instr()
2283 op->ea = xform_ea(word, regs); in analyse_instr()
2284 switch ((word >> 1) & 0x3ff) { in analyse_instr()
2530 op->reg = rd | ((word & 1) << 5); in analyse_instr()
2536 op->reg = rd | ((word & 1) << 5); in analyse_instr()
2542 op->reg = rd | ((word & 1) << 5); in analyse_instr()
2550 op->reg = rd | ((word & 1) << 5); in analyse_instr()
2561 op->reg = rd | ((word & 1) << 5); in analyse_instr()
2568 op->vsx_flags = ((word & 0x20) ? VSX_LDLEFT : 0) | in analyse_instr()
2573 op->reg = rd | ((word & 1) << 5); in analyse_instr()
2590 op->reg = rd | ((word & 1) << 5); in analyse_instr()
2599 op->reg = rd | ((word & 1) << 5); in analyse_instr()
2610 op->reg = rd | ((word & 1) << 5); in analyse_instr()
2617 op->vsx_flags = ((word & 0x20) ? VSX_LDLEFT : 0) | in analyse_instr()
2629 op->reg = rd | ((word & 1) << 5); in analyse_instr()
2636 op->reg = rd | ((word & 1) << 5); in analyse_instr()
2642 op->reg = rd | ((word & 1) << 5); in analyse_instr()
2649 op->reg = rd | ((word & 1) << 5); in analyse_instr()
2655 op->reg = rd | ((word & 1) << 5); in analyse_instr()
2663 op->reg = rd | ((word & 1) << 5); in analyse_instr()
2672 op->reg = rd | ((word & 1) << 5); in analyse_instr()
2681 op->reg = rd | ((word & 1) << 5); in analyse_instr()
2688 op->reg = rd | ((word & 1) << 5); in analyse_instr()
2696 op->reg = rd | ((word & 1) << 5); in analyse_instr()
2703 op->reg = rd | ((word & 1) << 5); in analyse_instr()
2711 op->reg = rd | ((word & 1) << 5); in analyse_instr()
2720 op->reg = rd | ((word & 1) << 5); in analyse_instr()
2729 op->reg = rd | ((word & 1) << 5); in analyse_instr()
2736 op->reg = rd | ((word & 1) << 5); in analyse_instr()
2744 op->reg = rd | ((word & 1) << 5); in analyse_instr()
2757 op->ea = dform_ea(word, regs); in analyse_instr()
2763 op->ea = dform_ea(word, regs); in analyse_instr()
2769 op->ea = dform_ea(word, regs); in analyse_instr()
2775 op->ea = dform_ea(word, regs); in analyse_instr()
2781 op->ea = dform_ea(word, regs); in analyse_instr()
2787 op->ea = dform_ea(word, regs); in analyse_instr()
2793 op->ea = dform_ea(word, regs); in analyse_instr()
2800 op->ea = dform_ea(word, regs); in analyse_instr()
2805 op->ea = dform_ea(word, regs); in analyse_instr()
2812 op->ea = dform_ea(word, regs); in analyse_instr()
2818 op->ea = dform_ea(word, regs); in analyse_instr()
2824 op->ea = dform_ea(word, regs); in analyse_instr()
2830 op->ea = dform_ea(word, regs); in analyse_instr()
2838 op->ea = dqform_ea(word, regs); in analyse_instr()
2844 op->ea = dsform_ea(word, regs); in analyse_instr()
2845 switch (word & 3) { in analyse_instr()
2873 op->ea = dsform_ea(word, regs); in analyse_instr()
2874 switch (word & 3) { in analyse_instr()
2892 op->ea = dqform_ea(word, regs); in analyse_instr()
2895 switch (word & 0xf) { in analyse_instr()
2906 switch (word & 7) { in analyse_instr()
2909 op->ea = dsform_ea(word, regs); in analyse_instr()
2916 op->ea = dqform_ea(word, regs); in analyse_instr()
2917 if (word & 8) in analyse_instr()
2928 op->ea = dsform_ea(word, regs); in analyse_instr()
2939 op->ea = dsform_ea(word, regs); in analyse_instr()
2949 op->ea = dqform_ea(word, regs); in analyse_instr()
2950 if (word & 8) in analyse_instr()
2962 op->ea = dsform_ea(word, regs); in analyse_instr()
2963 switch (word & 3) { in analyse_instr()
2980 prefix_r = GET_PREFIX_R(word); in analyse_instr()
2988 prefixtype = (word >> 24) & 0x3; in analyse_instr()
2993 op->ea = mlsd_8lsd_ea(word, suffix, regs); in analyse_instr()
3073 op->ea = mlsd_8lsd_ea(word, suffix, regs); in analyse_instr()
3146 if (word & 1) in analyse_instr()
3154 if (word & 1) in analyse_instr()