Lines Matching refs:RS
376 #define RS(r) ((r)<<21) macro
389 #define SAB(s,a,b) (RS(s) | RA(a) | RB(b))
430 tcg_out32 (s, op | RA (ra) | RS (rs) | sh | mb); in tcg_out_rld()
440 tcg_out32 (s, ORI | RS (ret) | RA (ret) | (arg & 0xffff)); in tcg_out_movi32()
459 if (h16) tcg_out32 (s, ORIS | RS (ret) | RA (ret) | h16); in tcg_out_movi()
460 if (l16) tcg_out32 (s, ORI | RS (ret) | RA (ret) | l16); in tcg_out_movi()
518 tcg_out32 (s, MTSPR | RS (0) | CTR); in tcg_out_b()
549 | RS (addr_reg) in tcg_out_tlb_read()
559 | RS (addr_reg) in tcg_out_tlb_read()
625 tcg_out32 (s, EXTSB | RA (data_reg) | RS (3)); in tcg_out_qemu_ld()
628 tcg_out32 (s, EXTSH | RA (data_reg) | RS (3)); in tcg_out_qemu_ld()
631 tcg_out32 (s, EXTSW | RA (data_reg) | RS (3)); in tcg_out_qemu_ld()
680 tcg_out32 (s, EXTSB | RA (data_reg) | RS (data_reg)); in tcg_out_qemu_ld()
689 tcg_out32 (s, EXTSH | RA (data_reg) | RS (data_reg)); in tcg_out_qemu_ld()
700 tcg_out32 (s, EXTSW | RA (data_reg) | RS (data_reg)); in tcg_out_qemu_ld()
787 tcg_out32 (s, STB | RS (data_reg) | RA (r0)); in tcg_out_qemu_st()
790 if (bswap) tcg_out32 (s, STHBRX | RS (data_reg) | RA (0) | RB (r0)); in tcg_out_qemu_st()
791 else tcg_out32 (s, STH | RS (data_reg) | RA (r0)); in tcg_out_qemu_st()
794 if (bswap) tcg_out32 (s, STWBRX | RS (data_reg) | RA (0) | RB (r0)); in tcg_out_qemu_st()
795 else tcg_out32 (s, STW | RS (data_reg) | RA (r0)); in tcg_out_qemu_st()
799 tcg_out32 (s, STWBRX | RS (data_reg) | RA (0) | RB (r0)); in tcg_out_qemu_st()
802 tcg_out32 (s, STWBRX | RS (0) | RA (0) | RB (r1)); in tcg_out_qemu_st()
804 else tcg_out32 (s, STD | RS (data_reg) | RA (r0)); in tcg_out_qemu_st()
837 tcg_out32 (s, STDU | RS (1) | RA (1) | (-frame_size & 0xffff)); in tcg_target_qemu_prologue()
840 | RS (tcg_target_callee_save_regs[i]) in tcg_target_qemu_prologue()
845 tcg_out32 (s, STD | RS (0) | RA (1) | (frame_size + 16)); in tcg_target_qemu_prologue()
847 tcg_out32 (s, MTSPR | RS (3) | CTR); in tcg_target_qemu_prologue()
861 tcg_out32 (s, MTSPR | RS (0) | LR); in tcg_target_qemu_prologue()
1068 tcg_out32 (s, MTSPR | RS (args[0]) | CTR); in tcg_out_op()
1085 tcg_out32 (s, EXTSB | RS (args[0]) | RA (args[0])); in tcg_out_op()
1138 tcg_out32 (s, ANDI | RS (args[1]) | RA (args[0]) | args[2]); in tcg_out_op()
1140 tcg_out32 (s, ANDIS | RS (args[1]) | RA (args[0]) in tcg_out_op()
1157 tcg_out32 (s, ORI | RS (args[1]) | RA (args[0]) in tcg_out_op()
1160 tcg_out32 (s, ORIS | RS (args[0]) | RA (args[0]) in tcg_out_op()
1164 tcg_out32 (s, ORIS | RS (args[1]) | RA (args[0]) in tcg_out_op()
1175 tcg_out32 (s, XORI | RS (args[1]) | RA (args[0]) in tcg_out_op()
1178 tcg_out32 (s, XORIS | RS (args[1]) | RA (args[0]) in tcg_out_op()
1230 | RS (args[1]) in tcg_out_op()
1244 | RS (args[1]) in tcg_out_op()
1256 tcg_out32 (s, SRAWI | RS (args[1]) | RA (args[0]) | SH (args[2])); in tcg_out_op()
1302 tcg_out32 (s, SRADI | RA (args[0]) | RS (args[1]) | sh); in tcg_out_op()
1374 tcg_out32 (s, c | RS (args[1]) | RA (args[0])); in tcg_out_op()