Lines Matching refs:ra
199 MemOperand::MemOperand(Register ra, Register rb) in MemOperand() argument
200 : ra_(ra), offset_(0), rb_(rb) {} in MemOperand()
202 MemOperand::MemOperand(Register ra, Register rb, int64_t offset) in MemOperand() argument
203 : ra_(ra), offset_(offset), rb_(rb) {} in MemOperand()
619 void Assembler::d_form(Instr instr, Register rt, Register ra, in d_form() argument
634 emit(instr | rt.code() * B21 | ra.code() * B16 | (kImm16Mask & val)); in d_form()
637 void Assembler::xo_form(Instr instr, Register rt, Register ra, Register rb, in xo_form() argument
639 emit(instr | rt.code() * B21 | ra.code() * B16 | rb.code() * B11 | o | r); in xo_form()
642 void Assembler::md_form(Instr instr, Register ra, Register rs, int shift, in md_form() argument
649 emit(instr | rs.code() * B21 | ra.code() * B16 | sh0_4 * B11 | m0_4 * B6 | in md_form()
653 void Assembler::mds_form(Instr instr, Register ra, Register rs, Register rb, in mds_form() argument
658 emit(instr | rs.code() * B21 | ra.code() * B16 | rb.code() * B11 | m0_4 * B6 | in mds_form()
730 void Assembler::xoris(Register ra, Register rs, const Operand& imm) { in xoris() argument
731 d_form(XORIS, rs, ra, imm.immediate(), false); in xoris()
734 void Assembler::rlwinm(Register ra, Register rs, int sh, int mb, int me, in rlwinm() argument
739 emit(RLWINMX | rs.code() * B21 | ra.code() * B16 | sh * B11 | mb * B6 | in rlwinm()
743 void Assembler::rlwnm(Register ra, Register rs, Register rb, int mb, int me, in rlwnm() argument
747 emit(RLWNMX | rs.code() * B21 | ra.code() * B16 | rb.code() * B11 | mb * B6 | in rlwnm()
751 void Assembler::rlwimi(Register ra, Register rs, int sh, int mb, int me, in rlwimi() argument
756 emit(RLWIMIX | rs.code() * B21 | ra.code() * B16 | sh * B11 | mb * B6 | in rlwimi()
782 void Assembler::rotlw(Register ra, Register rs, Register rb, RCBit r) { in rotlw() argument
783 rlwnm(ra, rs, rb, 0, 31, r); in rotlw()
786 void Assembler::rotlwi(Register ra, Register rs, int sh, RCBit r) { in rotlwi() argument
787 rlwinm(ra, rs, sh, 0, 31, r); in rotlwi()
790 void Assembler::rotrwi(Register ra, Register rs, int sh, RCBit r) { in rotrwi() argument
791 rlwinm(ra, rs, 32 - sh, 0, 31, r); in rotrwi()
883 void Assembler::andi(Register ra, Register rs, const Operand& imm) { in andi() argument
884 d_form(ANDIx, rs, ra, imm.immediate(), false); in andi()
887 void Assembler::andis(Register ra, Register rs, const Operand& imm) { in andis() argument
888 d_form(ANDISx, rs, ra, imm.immediate(), false); in andis()
891 void Assembler::ori(Register ra, Register rs, const Operand& imm) { in ori() argument
892 d_form(ORI, rs, ra, imm.immediate(), false); in ori()
951 void Assembler::isel(Register rt, Register ra, Register rb, int cb) { in isel() argument
952 emit(EXT2 | ISEL | rt.code() * B21 | ra.code() * B16 | rb.code() * B11 | in isel()
973 d_form(LBZ, dst, src.ra(), src.offset(), true); in lbz()
978 d_form(LHZ, dst, src.ra(), src.offset(), true); in lhz()
983 d_form(LWZ, dst, src.ra(), src.offset(), true); in lwz()
988 d_form(LWZU, dst, src.ra(), src.offset(), true); in lwzu()
993 d_form(LHA, dst, src.ra(), src.offset(), true); in lha()
1002 emit(LD | dst.code() * B21 | src.ra().code() * B16 | offset | 2); in lwa()
1010 d_form(STB, dst, src.ra(), src.offset(), true); in stb()
1015 d_form(STH, dst, src.ra(), src.offset(), true); in sth()
1020 d_form(STW, dst, src.ra(), src.offset(), true); in stw()
1025 d_form(STWU, dst, src.ra(), src.offset(), true); in stwu()
1028 void Assembler::neg(Register rt, Register ra, OEBit o, RCBit r) { in neg() argument
1029 emit(EXT2 | NEGX | rt.code() * B21 | ra.code() * B16 | o | r); in neg()
1039 emit(LD | rd.code() * B21 | src.ra().code() * B16 | offset); in ld()
1047 emit(LD | rd.code() * B21 | src.ra().code() * B16 | offset | 1); in ldu()
1055 emit(STD | rs.code() * B21 | src.ra().code() * B16 | offset); in std()
1063 emit(STD | rs.code() * B21 | src.ra().code() * B16 | offset | 1); in stdu()
1066 void Assembler::rldic(Register ra, Register rs, int sh, int mb, RCBit r) { in rldic() argument
1067 md_form(EXT5 | RLDIC, ra, rs, sh, mb, r); in rldic()
1070 void Assembler::rldicl(Register ra, Register rs, int sh, int mb, RCBit r) { in rldicl() argument
1071 md_form(EXT5 | RLDICL, ra, rs, sh, mb, r); in rldicl()
1074 void Assembler::rldcl(Register ra, Register rs, Register rb, int mb, RCBit r) { in rldcl() argument
1075 mds_form(EXT5 | RLDCL, ra, rs, rb, mb, r); in rldcl()
1078 void Assembler::rldicr(Register ra, Register rs, int sh, int me, RCBit r) { in rldicr() argument
1079 md_form(EXT5 | RLDICR, ra, rs, sh, me, r); in rldicr()
1104 void Assembler::rldimi(Register ra, Register rs, int sh, int mb, RCBit r) { in rldimi() argument
1105 md_form(EXT5 | RLDIMI, ra, rs, sh, mb, r); in rldimi()
1108 void Assembler::sradi(Register ra, Register rs, int sh, RCBit r) { in sradi() argument
1112 emit(EXT2 | SRADIX | rs.code() * B21 | ra.code() * B16 | sh0_4 * B11 | in sradi()
1116 void Assembler::rotld(Register ra, Register rs, Register rb, RCBit r) { in rotld() argument
1117 rldcl(ra, rs, rb, 0, r); in rotld()
1120 void Assembler::rotldi(Register ra, Register rs, int sh, RCBit r) { in rotldi() argument
1121 rldicl(ra, rs, sh, 0, r); in rotldi()
1124 void Assembler::rotrdi(Register ra, Register rs, int sh, RCBit r) { in rotrdi() argument
1125 rldicl(ra, rs, 64 - sh, 0, r); in rotrdi()
1181 lbz(dst, MemOperand(src.ra(), lo)); in plbz()
1190 lhz(dst, MemOperand(src.ra(), lo)); in plhz()
1199 lha(dst, MemOperand(src.ra(), lo)); in plha()
1208 lwz(dst, MemOperand(src.ra(), lo)); in plwz()
1217 emit(PPLWA | dst.code() * B21 | src.ra().code() * B16 | (lo & kImm16Mask)); in plwa()
1226 emit(PPLD | dst.code() * B21 | src.ra().code() * B16 | (lo & kImm16Mask)); in pld()
1235 lfs(dst, MemOperand(src.ra(), lo)); in plfs()
1244 lfd(dst, MemOperand(src.ra(), lo)); in plfd()
1636 void Assembler::dcbf(Register ra, Register rb) { in dcbf() argument
1637 emit(EXT2 | DCBF | ra.code() * B16 | rb.code() * B11); in dcbf()
1644 void Assembler::icbi(Register ra, Register rb) { in icbi() argument
1645 emit(EXT2 | ICBI | ra.code() * B16 | rb.code() * B11); in icbi()
1654 Register ra = src.ra(); in lfd() local
1655 DCHECK(ra != r0); in lfd()
1659 emit(LFD | frt.code() * B21 | ra.code() * B16 | imm16); in lfd()
1664 Register ra = src.ra(); in lfdu() local
1665 DCHECK(ra != r0); in lfdu()
1669 emit(LFDU | frt.code() * B21 | ra.code() * B16 | imm16); in lfdu()
1674 Register ra = src.ra(); in lfs() local
1676 DCHECK(ra != r0); in lfs()
1679 emit(LFS | frt.code() * B21 | ra.code() * B16 | imm16); in lfs()
1684 Register ra = src.ra(); in lfsu() local
1686 DCHECK(ra != r0); in lfsu()
1689 emit(LFSU | frt.code() * B21 | ra.code() * B16 | imm16); in lfsu()
1694 Register ra = src.ra(); in stfd() local
1696 DCHECK(ra != r0); in stfd()
1699 emit(STFD | frs.code() * B21 | ra.code() * B16 | imm16); in stfd()
1704 Register ra = src.ra(); in stfdu() local
1706 DCHECK(ra != r0); in stfdu()
1709 emit(STFDU | frs.code() * B21 | ra.code() * B16 | imm16); in stfdu()
1714 Register ra = src.ra(); in stfs() local
1716 DCHECK(ra != r0); in stfs()
1719 emit(STFS | frs.code() * B21 | ra.code() * B16 | imm16); in stfs()
1724 Register ra = src.ra(); in stfsu() local
1726 DCHECK(ra != r0); in stfsu()
1729 emit(STFSU | frs.code() * B21 | ra.code() * B16 | imm16); in stfsu()
1909 void Assembler::mfvsrd(const Register ra, const Simd128Register rs) { in mfvsrd() argument
1911 emit(MFVSRD | rs.code() * B21 | ra.code() * B16 | SX); in mfvsrd()
1914 void Assembler::mfvsrwz(const Register ra, const Simd128Register rs) { in mfvsrwz() argument
1916 emit(MFVSRWZ | rs.code() * B21 | ra.code() * B16 | SX); in mfvsrwz()
1919 void Assembler::mtvsrd(const Simd128Register rt, const Register ra) { in mtvsrd() argument
1921 emit(MTVSRD | rt.code() * B21 | ra.code() * B16 | TX); in mtvsrd()
1924 void Assembler::mtvsrdd(const Simd128Register rt, const Register ra, in mtvsrdd() argument
1927 emit(MTVSRDD | rt.code() * B21 | ra.code() * B16 | rb.code() * B11 | TX); in mtvsrdd()
1933 emit(LXVD | rt.code() * B21 | src.ra().code() * B16 | src.rb().code() * B11 | in lxvd()
1940 emit(LXVX | rt.code() * B21 | src.ra().code() * B16 | src.rb().code() * B11 | in lxvx()
1947 emit(LXSDX | rt.code() * B21 | src.ra().code() * B16 | src.rb().code() * B11 | in lxsdx()
1954 emit(LXSIBZX | rt.code() * B21 | src.ra().code() * B16 | in lxsibzx()
1961 emit(LXSIHZX | rt.code() * B21 | src.ra().code() * B16 | in lxsihzx()
1968 emit(LXSIWZX | rt.code() * B21 | src.ra().code() * B16 | in lxsiwzx()
1975 emit(STXSDX | rs.code() * B21 | dst.ra().code() * B16 | in stxsdx()
1982 emit(STXSIBX | rs.code() * B21 | dst.ra().code() * B16 | in stxsibx()
1989 emit(STXSIHX | rs.code() * B21 | dst.ra().code() * B16 | in stxsihx()
1996 emit(STXSIWX | rs.code() * B21 | dst.ra().code() * B16 | in stxsiwx()
2003 emit(STXVD | rt.code() * B21 | dst.ra().code() * B16 | dst.rb().code() * B11 | in stxvd()
2010 emit(STXVX | rt.code() * B21 | dst.ra().code() * B16 | dst.rb().code() * B11 | in stxvx()