• Home
  • Raw
  • Download

Lines Matching refs:tcg_out32

440     tcg_out32 (s, OR | SAB (arg, ret, arg));  in tcg_out_mov()
447 tcg_out32 (s, op | RA (ra) | RS (rs) | sh | mb); in tcg_out_rld()
453 tcg_out32 (s, ADDI | RT (ret) | RA (0) | (arg & 0xffff)); in tcg_out_movi32()
455 tcg_out32 (s, ADDIS | RT (ret) | RA (0) | ((arg >> 16) & 0xffff)); in tcg_out_movi32()
457 tcg_out32 (s, ORI | RS (ret) | RA (ret) | (arg & 0xffff)); in tcg_out_movi32()
477 if (h16) tcg_out32 (s, ORIS | RS (ret) | RA (ret) | h16); in tcg_out_movi()
478 if (l16) tcg_out32 (s, ORI | RS (ret) | RA (ret) | l16); in tcg_out_movi()
494 tcg_out32 (s, B | (disp & 0x3fffffc) | mask); in tcg_out_b()
497 tcg_out32 (s, MTSPR | RS (0) | CTR); in tcg_out_b()
498 tcg_out32 (s, BCCTR | BO_ALWAYS | mask); in tcg_out_b()
509 tcg_out32 (s, MTSPR | RS (arg) | LR); in tcg_out_call()
510 tcg_out32 (s, BCLR | BO_ALWAYS | LK); in tcg_out_call()
521 tcg_out32 (s, LD | RT (0) | RA (reg)); in tcg_out_call()
522 tcg_out32 (s, MTSPR | RA (0) | CTR); in tcg_out_call()
523 tcg_out32 (s, LD | RT (11) | RA (reg) | 16); in tcg_out_call()
524 tcg_out32 (s, LD | RT (2) | RA (reg) | 8); in tcg_out_call()
525 tcg_out32 (s, BCCTR | BO_ALWAYS | LK); in tcg_out_call()
533 tcg_out32 (s, op1 | RT (ret) | RA (addr) | (offset & 0xffff)); in tcg_out_ldst()
536 tcg_out32 (s, op2 | RT (ret) | RA (addr) | RB (0)); in tcg_out_ldst()
544 tcg_out32 (s, op1 | RT (ret) | RA (addr) | (offset & 0xffff)); in tcg_out_ldsta()
547 tcg_out32 (s, op2 | RT (ret) | RA (addr) | RB (0)); in tcg_out_ldsta()
575 tcg_out32 (s, (RLWINM in tcg_out_tlb_read()
583 tcg_out32 (s, ADD | RT (r0) | RA (r0) | RB (TCG_AREG0)); in tcg_out_tlb_read()
584 tcg_out32 (s, (LWZU | RT (r1) | RA (r0) | offset)); in tcg_out_tlb_read()
585 tcg_out32 (s, (RLWINM in tcg_out_tlb_read()
601 tcg_out32 (s, ADD | TAB (r0, r0, TCG_AREG0)); in tcg_out_tlb_read()
602 tcg_out32 (s, LD_ADDR | RT (r1) | RA (r0) | offset); in tcg_out_tlb_read()
639 tcg_out32 (s, CMP | BF (7) | RA (r2) | RB (r1) | CMP_L); in tcg_out_qemu_ld()
643 tcg_out32 (s, BC | BI (7, CR_EQ) | BO_COND_TRUE); in tcg_out_qemu_ld()
654 tcg_out32 (s, EXTSB | RA (data_reg) | RS (3)); in tcg_out_qemu_ld()
657 tcg_out32 (s, EXTSH | RA (data_reg) | RS (3)); in tcg_out_qemu_ld()
660 tcg_out32 (s, EXTSW | RA (data_reg) | RS (3)); in tcg_out_qemu_ld()
671 tcg_out32 (s, B); in tcg_out_qemu_ld()
679 tcg_out32 (s, (LD in tcg_out_qemu_ld()
686 tcg_out32 (s, ADD | RT (r0) | RA (r0) | RB (addr_reg)); in tcg_out_qemu_ld()
706 tcg_out32 (s, LBZX | TAB (data_reg, rbase, r0)); in tcg_out_qemu_ld()
709 tcg_out32 (s, LBZX | TAB (data_reg, rbase, r0)); in tcg_out_qemu_ld()
710 tcg_out32 (s, EXTSB | RA (data_reg) | RS (data_reg)); in tcg_out_qemu_ld()
714 tcg_out32 (s, LHBRX | TAB (data_reg, rbase, r0)); in tcg_out_qemu_ld()
716 tcg_out32 (s, LHZX | TAB (data_reg, rbase, r0)); in tcg_out_qemu_ld()
720 tcg_out32 (s, LHBRX | TAB (data_reg, rbase, r0)); in tcg_out_qemu_ld()
721 tcg_out32 (s, EXTSH | RA (data_reg) | RS (data_reg)); in tcg_out_qemu_ld()
723 else tcg_out32 (s, LHAX | TAB (data_reg, rbase, r0)); in tcg_out_qemu_ld()
727 tcg_out32 (s, LWBRX | TAB (data_reg, rbase, r0)); in tcg_out_qemu_ld()
729 tcg_out32 (s, LWZX | TAB (data_reg, rbase, r0)); in tcg_out_qemu_ld()
733 tcg_out32 (s, LWBRX | TAB (data_reg, rbase, r0)); in tcg_out_qemu_ld()
734 tcg_out32 (s, EXTSW | RA (data_reg) | RS (data_reg)); in tcg_out_qemu_ld()
736 else tcg_out32 (s, LWAX | TAB (data_reg, rbase, r0)); in tcg_out_qemu_ld()
741 tcg_out32 (s, ADDI | RT (r1) | RA (r0) | 4); in tcg_out_qemu_ld()
742 tcg_out32 (s, LWBRX | TAB (data_reg, rbase, r0)); in tcg_out_qemu_ld()
743 tcg_out32 (s, LWBRX | TAB ( r1, rbase, r1)); in tcg_out_qemu_ld()
746 else tcg_out32 (s, LDX | TAB (data_reg, rbase, r0)); in tcg_out_qemu_ld()
750 tcg_out32 (s, LWBRX | RT (data_reg) | RB (r0)); in tcg_out_qemu_ld()
751 tcg_out32 (s, LWBRX | RT ( r1) | RA (r0)); in tcg_out_qemu_ld()
754 else tcg_out32 (s, LD | RT (data_reg) | RA (r0)); in tcg_out_qemu_ld()
785 tcg_out32 (s, CMP | BF (7) | RA (r2) | RB (r1) | CMP_L); in tcg_out_qemu_st()
789 tcg_out32 (s, BC | BI (7, CR_EQ) | BO_COND_TRUE); in tcg_out_qemu_st()
800 tcg_out32 (s, B); in tcg_out_qemu_st()
807 tcg_out32 (s, (LD in tcg_out_qemu_st()
814 tcg_out32 (s, ADD | RT (r0) | RA (r0) | RB (addr_reg)); in tcg_out_qemu_st()
833 tcg_out32 (s, STBX | SAB (data_reg, rbase, r0)); in tcg_out_qemu_st()
837 tcg_out32 (s, STHBRX | SAB (data_reg, rbase, r0)); in tcg_out_qemu_st()
839 tcg_out32 (s, STHX | SAB (data_reg, rbase, r0)); in tcg_out_qemu_st()
843 tcg_out32 (s, STWBRX | SAB (data_reg, rbase, r0)); in tcg_out_qemu_st()
845 tcg_out32 (s, STWX | SAB (data_reg, rbase, r0)); in tcg_out_qemu_st()
849 tcg_out32 (s, STWBRX | SAB (data_reg, rbase, r0)); in tcg_out_qemu_st()
850 tcg_out32 (s, ADDI | RT (r1) | RA (r0) | 4); in tcg_out_qemu_st()
852 tcg_out32 (s, STWBRX | SAB (0, rbase, r1)); in tcg_out_qemu_st()
854 else tcg_out32 (s, STDX | SAB (data_reg, rbase, r0)); in tcg_out_qemu_st()
885 tcg_out32 (s, addr >> 32); tcg_out32 (s, addr); /* entry point */ in tcg_target_qemu_prologue()
890 tcg_out32 (s, MFSPR | RT (0) | LR); in tcg_target_qemu_prologue()
891 tcg_out32 (s, STDU | RS (1) | RA (1) | (-frame_size & 0xffff)); in tcg_target_qemu_prologue()
893 tcg_out32 (s, (STD in tcg_target_qemu_prologue()
899 tcg_out32 (s, STD | RS (0) | RA (1) | (frame_size + 16)); in tcg_target_qemu_prologue()
908 tcg_out32 (s, MTSPR | RS (3) | CTR); in tcg_target_qemu_prologue()
909 tcg_out32 (s, BCCTR | BO_ALWAYS); in tcg_target_qemu_prologue()
915 tcg_out32 (s, (LD in tcg_target_qemu_prologue()
921 tcg_out32 (s, LD | RT (0) | RA (1) | (frame_size + 16)); in tcg_target_qemu_prologue()
922 tcg_out32 (s, MTSPR | RS (0) | LR); in tcg_target_qemu_prologue()
923 tcg_out32 (s, ADDI | RT (1) | RA (1) | frame_size); in tcg_target_qemu_prologue()
924 tcg_out32 (s, BCLR | BO_ALWAYS); in tcg_target_qemu_prologue()
951 tcg_out32 (s, ADDI | RT (rt) | RA (ra) | (si & 0xffff)); in ppc_addi32()
954 tcg_out32 (s, ADDIS | RT (rt) | RA (ra) | h); in ppc_addi32()
955 tcg_out32 (s, ADDI | RT (rt) | RA (rt) | (si & 0xffff)); in ppc_addi32()
967 tcg_out32 (s, ADD | RT (rt) | RA (ra)); in ppc_addi64()
1037 tcg_out32 (s, op | RA (arg1) | (arg2 & 0xffff)); in tcg_out_cmp()
1041 tcg_out32 (s, op | RA (arg1) | RB (0)); in tcg_out_cmp()
1044 tcg_out32 (s, op | RA (arg1) | RB (arg2)); in tcg_out_cmp()
1064 tcg_out32 (s, XORI | RS (arg1) | RA (0) | arg2); in tcg_out_setcond()
1068 tcg_out32 (s, XOR | SAB (arg1, 0, 0)); in tcg_out_setcond()
1074 tcg_out32 (s, XOR | SAB (arg1, 0, arg2)); in tcg_out_setcond()
1078 tcg_out32 (s, CNTLZD | RS (arg) | RA (0)); in tcg_out_setcond()
1082 tcg_out32 (s, CNTLZW | RS (arg) | RA (0)); in tcg_out_setcond()
1083 tcg_out32 (s, (RLWINM in tcg_out_setcond()
1102 tcg_out32 (s, XORI | RS (arg1) | RA (0) | arg2); in tcg_out_setcond()
1106 tcg_out32 (s, XOR | SAB (arg1, 0, 0)); in tcg_out_setcond()
1112 tcg_out32 (s, XOR | SAB (arg1, 0, arg2)); in tcg_out_setcond()
1116 tcg_out32 (s, ADDIC | RT (0) | RA (arg) | 0xffff); in tcg_out_setcond()
1117 tcg_out32 (s, SUBFE | TAB (arg0, 0, arg)); in tcg_out_setcond()
1120 tcg_out32 (s, ADDIC | RT (arg0) | RA (arg) | 0xffff); in tcg_out_setcond()
1121 tcg_out32 (s, SUBFE | TAB (arg0, arg0, arg)); in tcg_out_setcond()
1149 if (crop) tcg_out32 (s, crop); in tcg_out_setcond()
1150 tcg_out32 (s, MFCR | RT (0)); in tcg_out_setcond()
1151 tcg_out32 (s, (RLWINM in tcg_out_setcond()
1171 tcg_out32 (s, bc | reloc_pc14_val (s->code_ptr, l->u.value)); in tcg_out_bc()
1176 tcg_out32 (s, bc | (val & 0xfffc)); in tcg_out_bc()
1233 tcg_out32 (s, B | (val & 0x3fffffc)); in tcg_out_op()
1246 tcg_out32 (s, MTSPR | RS (args[0]) | CTR); in tcg_out_op()
1247 tcg_out32 (s, BCCTR | BO_ALWAYS); in tcg_out_op()
1263 tcg_out32 (s, EXTSB | RS (args[0]) | RA (args[0])); in tcg_out_op()
1303 tcg_out32 (s, ADD | TAB (args[0], args[1], args[2])); in tcg_out_op()
1309 tcg_out32 (s, SUBF | TAB (args[0], args[2], args[1])); in tcg_out_op()
1316 tcg_out32 (s, ANDI | RS (args[1]) | RA (args[0]) | args[2]); in tcg_out_op()
1318 tcg_out32 (s, ANDIS | RS (args[1]) | RA (args[0]) in tcg_out_op()
1325 tcg_out32 (s, AND | SAB (args[1], args[0], 0)); in tcg_out_op()
1329 tcg_out32 (s, AND | SAB (args[1], args[0], args[2])); in tcg_out_op()
1335 tcg_out32 (s, ORI | RS (args[1]) | RA (args[0]) in tcg_out_op()
1338 tcg_out32 (s, ORIS | RS (args[0]) | RA (args[0]) in tcg_out_op()
1342 tcg_out32 (s, ORIS | RS (args[1]) | RA (args[0]) in tcg_out_op()
1347 tcg_out32 (s, OR | SAB (args[1], args[0], args[2])); in tcg_out_op()
1353 tcg_out32 (s, XORI | RS (args[1]) | RA (args[0]) in tcg_out_op()
1356 tcg_out32 (s, XORIS | RS (args[1]) | RA (args[0]) in tcg_out_op()
1363 tcg_out32 (s, XOR | SAB (args[1], args[0], 0)); in tcg_out_op()
1367 tcg_out32 (s, XOR | SAB (args[1], args[0], args[2])); in tcg_out_op()
1373 tcg_out32 (s, MULLI | RT (args[0]) | RA (args[1]) in tcg_out_op()
1377 tcg_out32 (s, MULLW | TAB (args[0], args[1], 0)); in tcg_out_op()
1381 tcg_out32 (s, MULLW | TAB (args[0], args[1], args[2])); in tcg_out_op()
1385 tcg_out32 (s, DIVW | TAB (args[0], args[1], args[2])); in tcg_out_op()
1389 tcg_out32 (s, DIVWU | TAB (args[0], args[1], args[2])); in tcg_out_op()
1393 tcg_out32 (s, DIVW | TAB (0, args[1], args[2])); in tcg_out_op()
1394 tcg_out32 (s, MULLW | TAB (0, 0, args[2])); in tcg_out_op()
1395 tcg_out32 (s, SUBF | TAB (args[0], 0, args[1])); in tcg_out_op()
1399 tcg_out32 (s, DIVWU | TAB (0, args[1], args[2])); in tcg_out_op()
1400 tcg_out32 (s, MULLW | TAB (0, 0, args[2])); in tcg_out_op()
1401 tcg_out32 (s, SUBF | TAB (args[0], 0, args[1])); in tcg_out_op()
1406 tcg_out32 (s, (RLWINM in tcg_out_op()
1416 tcg_out32 (s, SLW | SAB (args[1], args[0], args[2])); in tcg_out_op()
1420 tcg_out32 (s, (RLWINM in tcg_out_op()
1430 tcg_out32 (s, SRW | SAB (args[1], args[0], args[2])); in tcg_out_op()
1434 tcg_out32 (s, SRAWI | RS (args[1]) | RA (args[0]) | SH (args[2])); in tcg_out_op()
1436 tcg_out32 (s, SRAW | SAB (args[1], args[0], args[2])); in tcg_out_op()
1449 tcg_out32 (s, NEG | RT (args[0]) | RA (args[1])); in tcg_out_op()
1456 tcg_out32 (s, ADD | TAB (args[0], args[1], args[2])); in tcg_out_op()
1462 tcg_out32 (s, SUBF | TAB (args[0], args[2], args[1])); in tcg_out_op()
1469 tcg_out32 (s, SLD | SAB (args[1], args[0], args[2])); in tcg_out_op()
1475 tcg_out32 (s, SRD | SAB (args[1], args[0], args[2])); in tcg_out_op()
1480 tcg_out32 (s, SRADI | RA (args[0]) | RS (args[1]) | sh); in tcg_out_op()
1483 tcg_out32 (s, SRAD | SAB (args[1], args[0], args[2])); in tcg_out_op()
1487 tcg_out32 (s, MULLD | TAB (args[0], args[1], args[2])); in tcg_out_op()
1490 tcg_out32 (s, DIVD | TAB (args[0], args[1], args[2])); in tcg_out_op()
1493 tcg_out32 (s, DIVDU | TAB (args[0], args[1], args[2])); in tcg_out_op()
1496 tcg_out32 (s, DIVD | TAB (0, args[1], args[2])); in tcg_out_op()
1497 tcg_out32 (s, MULLD | TAB (0, 0, args[2])); in tcg_out_op()
1498 tcg_out32 (s, SUBF | TAB (args[0], 0, args[1])); in tcg_out_op()
1501 tcg_out32 (s, DIVDU | TAB (0, args[1], args[2])); in tcg_out_op()
1502 tcg_out32 (s, MULLD | TAB (0, 0, args[2])); in tcg_out_op()
1503 tcg_out32 (s, SUBF | TAB (args[0], 0, args[1])); in tcg_out_op()
1553 tcg_out32 (s, c | RS (args[1]) | RA (args[0])); in tcg_out_op()