Lines Matching refs:tcg_out32
442 tcg_out32 (s, OR | SAB (arg, ret, arg)); in tcg_out_mov()
449 tcg_out32 (s, ADDI | RT (ret) | RA (0) | (arg & 0xffff)); in tcg_out_movi()
451 tcg_out32 (s, ADDIS | RT (ret) | RA (0) | ((arg >> 16) & 0xffff)); in tcg_out_movi()
453 tcg_out32 (s, ORI | RS (ret) | RA (ret) | (arg & 0xffff)); in tcg_out_movi()
461 tcg_out32 (s, op1 | RT (ret) | RA (addr) | (offset & 0xffff)); in tcg_out_ldst()
464 tcg_out32 (s, op2 | RT (ret) | RA (addr) | RB (0)); in tcg_out_ldst()
474 tcg_out32 (s, B | (disp & 0x3fffffc) | mask); in tcg_out_b()
477 tcg_out32 (s, MTSPR | RS (0) | CTR); in tcg_out_b()
478 tcg_out32 (s, BCCTR | BO_ALWAYS | mask); in tcg_out_b()
493 tcg_out32 (s, LWZ | RT (0) | RA (reg)); in tcg_out_call()
494 tcg_out32 (s, MTSPR | RA (0) | CTR); in tcg_out_call()
495 tcg_out32 (s, LWZ | RT (2) | RA (reg) | 4); in tcg_out_call()
496 tcg_out32 (s, BCCTR | BO_ALWAYS | LK); in tcg_out_call()
502 tcg_out32 (s, MTSPR | RS (arg) | LR); in tcg_out_call()
503 tcg_out32 (s, BCLR | BO_ALWAYS | LK); in tcg_out_call()
556 tcg_out32 (s, (RLWINM in tcg_out_qemu_ld()
564 tcg_out32 (s, ADD | RT (r0) | RA (r0) | RB (TCG_AREG0)); in tcg_out_qemu_ld()
565 tcg_out32 (s, (LWZU in tcg_out_qemu_ld()
571 tcg_out32 (s, (RLWINM in tcg_out_qemu_ld()
580 tcg_out32 (s, CMP | BF (7) | RA (r2) | RB (r1)); in tcg_out_qemu_ld()
582 tcg_out32 (s, LWZ | RT (r1) | RA (r0) | 4); in tcg_out_qemu_ld()
583 tcg_out32 (s, CMP | BF (6) | RA (addr_reg2) | RB (r1)); in tcg_out_qemu_ld()
584 tcg_out32 (s, CRAND | BT (7, CR_EQ) | BA (6, CR_EQ) | BB (7, CR_EQ)); in tcg_out_qemu_ld()
589 tcg_out32 (s, BC | BI (7, CR_EQ) | BO_COND_TRUE); in tcg_out_qemu_ld()
605 tcg_out32 (s, EXTSB | RA (data_reg) | RS (3)); in tcg_out_qemu_ld()
608 tcg_out32 (s, EXTSH | RA (data_reg) | RS (3)); in tcg_out_qemu_ld()
635 tcg_out32 (s, B); in tcg_out_qemu_ld()
643 tcg_out32 (s, (LWZ in tcg_out_qemu_ld()
650 tcg_out32 (s, ADD | RT (r0) | RA (r0) | RB (addr_reg)); in tcg_out_qemu_ld()
668 tcg_out32 (s, LBZX | TAB (data_reg, rbase, r0)); in tcg_out_qemu_ld()
671 tcg_out32 (s, LBZX | TAB (data_reg, rbase, r0)); in tcg_out_qemu_ld()
672 tcg_out32 (s, EXTSB | RA (data_reg) | RS (data_reg)); in tcg_out_qemu_ld()
676 tcg_out32 (s, LHBRX | TAB (data_reg, rbase, r0)); in tcg_out_qemu_ld()
678 tcg_out32 (s, LHZX | TAB (data_reg, rbase, r0)); in tcg_out_qemu_ld()
682 tcg_out32 (s, LHBRX | TAB (data_reg, rbase, r0)); in tcg_out_qemu_ld()
683 tcg_out32 (s, EXTSH | RA (data_reg) | RS (data_reg)); in tcg_out_qemu_ld()
685 else tcg_out32 (s, LHAX | TAB (data_reg, rbase, r0)); in tcg_out_qemu_ld()
689 tcg_out32 (s, LWBRX | TAB (data_reg, rbase, r0)); in tcg_out_qemu_ld()
691 tcg_out32 (s, LWZX | TAB (data_reg, rbase, r0)); in tcg_out_qemu_ld()
695 tcg_out32 (s, ADDI | RT (r1) | RA (r0) | 4); in tcg_out_qemu_ld()
696 tcg_out32 (s, LWBRX | TAB (data_reg, rbase, r0)); in tcg_out_qemu_ld()
697 tcg_out32 (s, LWBRX | TAB (data_reg2, rbase, r1)); in tcg_out_qemu_ld()
701 tcg_out32 (s, ADDI | RT (r1) | RA (r0) | 4); in tcg_out_qemu_ld()
702 tcg_out32 (s, LWZX | TAB (data_reg2, rbase, r0)); in tcg_out_qemu_ld()
703 tcg_out32 (s, LWZX | TAB (data_reg, rbase, r1)); in tcg_out_qemu_ld()
706 tcg_out32 (s, LWZ | RT (0) | RA (r0)); in tcg_out_qemu_ld()
707 tcg_out32 (s, LWZ | RT (data_reg) | RA (r0) | 4); in tcg_out_qemu_ld()
711 tcg_out32 (s, LWZ | RT (data_reg2) | RA (r0)); in tcg_out_qemu_ld()
712 tcg_out32 (s, LWZ | RT (data_reg) | RA (r0) | 4); in tcg_out_qemu_ld()
752 tcg_out32 (s, (RLWINM in tcg_out_qemu_st()
760 tcg_out32 (s, ADD | RT (r0) | RA (r0) | RB (TCG_AREG0)); in tcg_out_qemu_st()
761 tcg_out32 (s, (LWZU in tcg_out_qemu_st()
767 tcg_out32 (s, (RLWINM in tcg_out_qemu_st()
776 tcg_out32 (s, CMP | (7 << 23) | RA (r2) | RB (r1)); in tcg_out_qemu_st()
778 tcg_out32 (s, LWZ | RT (r1) | RA (r0) | 4); in tcg_out_qemu_st()
779 tcg_out32 (s, CMP | BF (6) | RA (addr_reg2) | RB (r1)); in tcg_out_qemu_st()
780 tcg_out32 (s, CRAND | BT (7, CR_EQ) | BA (6, CR_EQ) | BB (7, CR_EQ)); in tcg_out_qemu_st()
785 tcg_out32 (s, BC | BI (7, CR_EQ) | BO_COND_TRUE); in tcg_out_qemu_st()
804 tcg_out32 (s, (RLWINM in tcg_out_qemu_st()
812 tcg_out32 (s, (RLWINM in tcg_out_qemu_st()
835 tcg_out32 (s, B); in tcg_out_qemu_st()
842 tcg_out32 (s, (LWZ in tcg_out_qemu_st()
849 tcg_out32 (s, ADD | RT (r0) | RA (r0) | RB (addr_reg)); in tcg_out_qemu_st()
865 tcg_out32 (s, STBX | SAB (data_reg, rbase, r0)); in tcg_out_qemu_st()
869 tcg_out32 (s, STHBRX | SAB (data_reg, rbase, r0)); in tcg_out_qemu_st()
871 tcg_out32 (s, STHX | SAB (data_reg, rbase, r0)); in tcg_out_qemu_st()
875 tcg_out32 (s, STWBRX | SAB (data_reg, rbase, r0)); in tcg_out_qemu_st()
877 tcg_out32 (s, STWX | SAB (data_reg, rbase, r0)); in tcg_out_qemu_st()
881 tcg_out32 (s, ADDI | RT (r1) | RA (r0) | 4); in tcg_out_qemu_st()
882 tcg_out32 (s, STWBRX | SAB (data_reg, rbase, r0)); in tcg_out_qemu_st()
883 tcg_out32 (s, STWBRX | SAB (data_reg2, rbase, r1)); in tcg_out_qemu_st()
887 tcg_out32 (s, STWX | SAB (data_reg2, rbase, r0)); in tcg_out_qemu_st()
888 tcg_out32 (s, ADDI | RT (r1) | RA (r0) | 4); in tcg_out_qemu_st()
889 tcg_out32 (s, STWX | SAB (data_reg, rbase, r1)); in tcg_out_qemu_st()
891 tcg_out32 (s, STW | RS (data_reg2) | RA (r0)); in tcg_out_qemu_st()
892 tcg_out32 (s, STW | RS (data_reg) | RA (r0) | 4); in tcg_out_qemu_st()
920 tcg_out32 (s, addr); /* entry point */ in tcg_target_qemu_prologue()
924 tcg_out32 (s, MFSPR | RT (0) | LR); in tcg_target_qemu_prologue()
925 tcg_out32 (s, STWU | RS (1) | RA (1) | (-frame_size & 0xffff)); in tcg_target_qemu_prologue()
927 tcg_out32 (s, (STW in tcg_target_qemu_prologue()
933 tcg_out32 (s, STW | RS (0) | RA (1) | (frame_size + LR_OFFSET)); in tcg_target_qemu_prologue()
942 tcg_out32 (s, MTSPR | RS (3) | CTR); in tcg_target_qemu_prologue()
943 tcg_out32 (s, BCCTR | BO_ALWAYS); in tcg_target_qemu_prologue()
947 tcg_out32 (s, (LWZ in tcg_target_qemu_prologue()
953 tcg_out32 (s, LWZ | RT (0) | RA (1) | (frame_size + LR_OFFSET)); in tcg_target_qemu_prologue()
954 tcg_out32 (s, MTSPR | RS (0) | LR); in tcg_target_qemu_prologue()
955 tcg_out32 (s, ADDI | RT (1) | RA (1) | frame_size); in tcg_target_qemu_prologue()
956 tcg_out32 (s, BCLR | BO_ALWAYS); in tcg_target_qemu_prologue()
977 tcg_out32 (s, ADDI | RT (rt) | RA (ra) | (si & 0xffff)); in ppc_addi()
980 tcg_out32 (s, ADDIS | RT (rt) | RA (ra) | h); in ppc_addi()
981 tcg_out32 (s, ADDI | RT (rt) | RA (rt) | (si & 0xffff)); in ppc_addi()
1051 tcg_out32 (s, op | RA (arg1) | (arg2 & 0xffff)); in tcg_out_cmp()
1055 tcg_out32 (s, op | RA (arg1) | RB (0)); in tcg_out_cmp()
1058 tcg_out32 (s, op | RA (arg1) | RB (arg2)); in tcg_out_cmp()
1068 tcg_out32 (s, bc | reloc_pc14_val (s->code_ptr, l->u.value)); in tcg_out_bc()
1073 tcg_out32 (s, bc | (val & 0xfffc)); in tcg_out_bc()
1100 tcg_out32 (s, op | BT (7, CR_EQ) | BA (6, CR_EQ) | BB (7, CR_EQ)); in tcg_out_cr7eq_from_cond()
1114 tcg_out32 (s, op | BT (7, CR_EQ) | BA (5, CR_EQ) | BB (7, b->bit2)); in tcg_out_cr7eq_from_cond()
1115 tcg_out32 (s, CROR | BT (7, CR_EQ) | BA (5, b->bit1) | BB (7, CR_EQ)); in tcg_out_cr7eq_from_cond()
1136 tcg_out32 (s, XORI | RS (arg1) | RA (0) | arg2); in tcg_out_setcond()
1140 tcg_out32 (s, XOR | SAB (arg1, 0, 0)); in tcg_out_setcond()
1146 tcg_out32 (s, XOR | SAB (arg1, 0, arg2)); in tcg_out_setcond()
1148 tcg_out32 (s, CNTLZW | RS (arg) | RA (0)); in tcg_out_setcond()
1149 tcg_out32 (s, (RLWINM in tcg_out_setcond()
1167 tcg_out32 (s, XORI | RS (arg1) | RA (0) | arg2); in tcg_out_setcond()
1171 tcg_out32 (s, XOR | SAB (arg1, 0, 0)); in tcg_out_setcond()
1177 tcg_out32 (s, XOR | SAB (arg1, 0, arg2)); in tcg_out_setcond()
1181 tcg_out32 (s, ADDIC | RT (0) | RA (arg) | 0xffff); in tcg_out_setcond()
1182 tcg_out32 (s, SUBFE | TAB (arg0, 0, arg)); in tcg_out_setcond()
1185 tcg_out32 (s, ADDIC | RT (arg0) | RA (arg) | 0xffff); in tcg_out_setcond()
1186 tcg_out32 (s, SUBFE | TAB (arg0, arg0, arg)); in tcg_out_setcond()
1214 if (crop) tcg_out32 (s, crop); in tcg_out_setcond()
1215 tcg_out32 (s, MFCR | RT (0)); in tcg_out_setcond()
1216 tcg_out32 (s, (RLWINM in tcg_out_setcond()
1235 tcg_out32 (s, MFCR | RT (0)); in tcg_out_setcond2()
1236 tcg_out32 (s, (RLWINM in tcg_out_setcond2()
1325 tcg_out32 (s, B | (val & 0x3fffffc)); in tcg_out_op()
1338 tcg_out32 (s, MTSPR | RS (args[0]) | CTR); in tcg_out_op()
1339 tcg_out32 (s, BCCTR | BO_ALWAYS); in tcg_out_op()
1350 tcg_out32 (s, EXTSB | RS (args[0]) | RA (args[0])); in tcg_out_op()
1375 tcg_out32 (s, ADD | TAB (args[0], args[1], args[2])); in tcg_out_op()
1381 tcg_out32 (s, SUBF | TAB (args[0], args[2], args[1])); in tcg_out_op()
1419 tcg_out32 (s, (RLWINM in tcg_out_op()
1432 tcg_out32 (s, ANDI | RS (args[1]) | RA (args[0]) | c); in tcg_out_op()
1434 tcg_out32 (s, ANDIS | RS (args[1]) | RA (args[0]) in tcg_out_op()
1438 tcg_out32 (s, AND | SAB (args[1], args[0], 0)); in tcg_out_op()
1443 tcg_out32 (s, AND | SAB (args[1], args[0], args[2])); in tcg_out_op()
1448 tcg_out32 (s, ORI | RS (args[1]) | RA (args[0]) in tcg_out_op()
1451 tcg_out32 (s, ORIS | RS (args[0]) | RA (args[0]) in tcg_out_op()
1455 tcg_out32 (s, ORIS | RS (args[1]) | RA (args[0]) in tcg_out_op()
1460 tcg_out32 (s, OR | SAB (args[1], args[0], args[2])); in tcg_out_op()
1465 tcg_out32 (s, XORI | RS (args[1]) | RA (args[0]) in tcg_out_op()
1468 tcg_out32 (s, XORIS | RS (args[1]) | RA (args[0]) in tcg_out_op()
1472 tcg_out32 (s, XOR | SAB (args[1], args[0], 0)); in tcg_out_op()
1476 tcg_out32 (s, XOR | SAB (args[1], args[0], args[2])); in tcg_out_op()
1479 tcg_out32 (s, ANDC | SAB (args[1], args[0], args[2])); in tcg_out_op()
1482 tcg_out32 (s, ORC | SAB (args[1], args[0], args[2])); in tcg_out_op()
1485 tcg_out32 (s, EQV | SAB (args[1], args[0], args[2])); in tcg_out_op()
1488 tcg_out32 (s, NAND | SAB (args[1], args[0], args[2])); in tcg_out_op()
1491 tcg_out32 (s, NOR | SAB (args[1], args[0], args[2])); in tcg_out_op()
1497 tcg_out32 (s, MULLI | RT (args[0]) | RA (args[1]) in tcg_out_op()
1501 tcg_out32 (s, MULLW | TAB (args[0], args[1], 0)); in tcg_out_op()
1505 tcg_out32 (s, MULLW | TAB (args[0], args[1], args[2])); in tcg_out_op()
1509 tcg_out32 (s, DIVW | TAB (args[0], args[1], args[2])); in tcg_out_op()
1513 tcg_out32 (s, DIVWU | TAB (args[0], args[1], args[2])); in tcg_out_op()
1517 tcg_out32 (s, DIVW | TAB (0, args[1], args[2])); in tcg_out_op()
1518 tcg_out32 (s, MULLW | TAB (0, 0, args[2])); in tcg_out_op()
1519 tcg_out32 (s, SUBF | TAB (args[0], 0, args[1])); in tcg_out_op()
1523 tcg_out32 (s, DIVWU | TAB (0, args[1], args[2])); in tcg_out_op()
1524 tcg_out32 (s, MULLW | TAB (0, 0, args[2])); in tcg_out_op()
1525 tcg_out32 (s, SUBF | TAB (args[0], 0, args[1])); in tcg_out_op()
1530 tcg_out32 (s, MULLW | TAB (0, args[2], args[3])); in tcg_out_op()
1531 tcg_out32 (s, MULHWU | TAB (args[1], args[2], args[3])); in tcg_out_op()
1535 tcg_out32 (s, MULLW | TAB (args[0], args[2], args[3])); in tcg_out_op()
1536 tcg_out32 (s, MULHWU | TAB (args[1], args[2], args[3])); in tcg_out_op()
1542 tcg_out32 (s, (RLWINM in tcg_out_op()
1552 tcg_out32 (s, SLW | SAB (args[1], args[0], args[2])); in tcg_out_op()
1556 tcg_out32 (s, (RLWINM in tcg_out_op()
1566 tcg_out32 (s, SRW | SAB (args[1], args[0], args[2])); in tcg_out_op()
1570 tcg_out32 (s, SRAWI | RS (args[1]) | RA (args[0]) | SH (args[2])); in tcg_out_op()
1572 tcg_out32 (s, SRAW | SAB (args[1], args[0], args[2])); in tcg_out_op()
1584 tcg_out32 (s, op); in tcg_out_op()
1593 tcg_out32 (s, RLWINM in tcg_out_op()
1603 tcg_out32 (s, SUBFIC | RT (0) | RA (args[2]) | 32); in tcg_out_op()
1604 tcg_out32 (s, RLWNM in tcg_out_op()
1616 tcg_out32 (s, ADDC | TAB (0, args[2], args[4])); in tcg_out_op()
1617 tcg_out32 (s, ADDE | TAB (args[1], args[3], args[5])); in tcg_out_op()
1621 tcg_out32 (s, ADDC | TAB (args[0], args[2], args[4])); in tcg_out_op()
1622 tcg_out32 (s, ADDE | TAB (args[1], args[3], args[5])); in tcg_out_op()
1627 tcg_out32 (s, SUBFC | TAB (0, args[4], args[2])); in tcg_out_op()
1628 tcg_out32 (s, SUBFE | TAB (args[1], args[5], args[3])); in tcg_out_op()
1632 tcg_out32 (s, SUBFC | TAB (args[0], args[4], args[2])); in tcg_out_op()
1633 tcg_out32 (s, SUBFE | TAB (args[1], args[5], args[3])); in tcg_out_op()
1652 tcg_out32 (s, NEG | RT (args[0]) | RA (args[1])); in tcg_out_op()
1656 tcg_out32 (s, NOR | SAB (args[1], args[0], args[1])); in tcg_out_op()
1691 tcg_out32 (s, EXTSB | RS (args[1]) | RA (args[0])); in tcg_out_op()
1694 tcg_out32 (s, RLWINM in tcg_out_op()
1703 tcg_out32 (s, EXTSH | RS (args[1]) | RA (args[0])); in tcg_out_op()
1706 tcg_out32 (s, RLWINM in tcg_out_op()
1728 tcg_out32 (s, RLWINM in tcg_out_op()
1737 tcg_out32 (s, RLWINM in tcg_out_op()
1746 tcg_out32 (s, OR | SAB (0, args[0], args[0])); in tcg_out_op()
1761 tcg_out32 (s, RLWINM in tcg_out_op()
1770 tcg_out32 (s, RLWIMI in tcg_out_op()
1779 tcg_out32 (s, RLWIMI in tcg_out_op()