/art/compiler/dex/quick/arm64/ |
D | utility_arm64.cc | 564 LIR* Arm64Mir2Lir::OpRegRegShift(OpKind op, RegStorage r_dest_src1, RegStorage r_src2, int shift) { in OpRegRegShift() argument 565 A64Opcode wide = (r_dest_src1.Is64Bit()) ? WIDE(0) : UNWIDE(0); in OpRegRegShift() 566 CHECK_EQ(r_dest_src1.Is64Bit(), r_src2.Is64Bit()); in OpRegRegShift() 591 return NewLIR2(kA64Rev2rr | wide, r_dest_src1.GetReg(), r_src2.GetReg()); in OpRegRegShift() 594 NewLIR2(kA64Rev162rr | wide, r_dest_src1.GetReg(), r_src2.GetReg()); in OpRegRegShift() 596 return NewLIR4(kA64Sbfm4rrdd | wide, r_dest_src1.GetReg(), r_dest_src1.GetReg(), 0, 15); in OpRegRegShift() 601 return NewLIR4(kA64Sbfm4rrdd | wide, r_dest_src1.GetReg(), r_src2.GetReg(), 0, 7); in OpRegRegShift() 605 return NewLIR4(kA64Sbfm4rrdd | wide, r_dest_src1.GetReg(), r_src2.GetReg(), 0, 15); in OpRegRegShift() 610 return NewLIR4(kA64Ubfm4rrdd | wide, r_dest_src1.GetReg(), r_src2.GetReg(), 0, 15); in OpRegRegShift() 612 return OpRegRegRegShift(op, r_dest_src1, r_dest_src1, r_src2, shift); in OpRegRegShift() [all …]
|
D | codegen_arm64.h | 214 LIR* OpRegImm(OpKind op, RegStorage r_dest_src1, int value) OVERRIDE; 215 LIR* OpRegReg(OpKind op, RegStorage r_dest_src1, RegStorage r_src2) OVERRIDE; 369 LIR* OpRegImm64(OpKind op, RegStorage r_dest_src1, int64_t value); 372 LIR* OpRegRegShift(OpKind op, RegStorage r_dest_src1, RegStorage r_src2, int shift); 377 LIR* OpRegRegExtend(OpKind op, RegStorage r_dest_src1, RegStorage r_src2,
|
/art/compiler/dex/quick/arm/ |
D | utility_arm.cc | 285 LIR* ArmMir2Lir::OpRegRegShift(OpKind op, RegStorage r_dest_src1, RegStorage r_src2, in OpRegRegShift() argument 288 ((shift == 0) && r_dest_src1.Low8() && r_src2.Low8()); in OpRegRegShift() 307 else if ((shift == 0) && !r_dest_src1.Low8() && !r_src2.Low8()) in OpRegRegShift() 309 else if ((shift == 0) && r_dest_src1.Low8()) in OpRegRegShift() 321 if (r_dest_src1.Low8() && r_src2.Low8()) in OpRegRegShift() 323 else if (!r_dest_src1.Low8() && !r_src2.Low8()) in OpRegRegShift() 325 else if (r_dest_src1.Low8()) in OpRegRegShift() 376 return NewLIR3(kThumb2RevRR, r_dest_src1.GetReg(), r_src2.GetReg(), r_src2.GetReg()); in OpRegRegShift() 384 return NewLIR3(kThumb2RevshRR, r_dest_src1.GetReg(), r_src2.GetReg(), r_src2.GetReg()); in OpRegRegShift() 390 return NewLIR4(kThumb2Sbfx, r_dest_src1.GetReg(), r_src2.GetReg(), 0, 8); in OpRegRegShift() [all …]
|
D | codegen_arm.h | 211 LIR* OpRegImm(OpKind op, RegStorage r_dest_src1, int value); 212 LIR* OpRegReg(OpKind op, RegStorage r_dest_src1, RegStorage r_src2); 227 LIR* OpRegRegShift(OpKind op, RegStorage r_dest_src1, RegStorage r_src2, int shift);
|
/art/compiler/dex/quick/mips/ |
D | utility_mips.cc | 295 LIR* MipsMir2Lir::OpRegImm(OpKind op, RegStorage r_dest_src1, int value) { in OpRegImm() argument 297 return OpRegRegImm(op, r_dest_src1, r_dest_src1, value); in OpRegImm() 466 LIR* MipsMir2Lir::OpRegReg(OpKind op, RegStorage r_dest_src1, RegStorage r_src2) { in OpRegReg() argument 474 return NewLIR3(kMipsNor, r_dest_src1.GetReg(), r_src2.GetReg(), rZERO); in OpRegReg() 476 if (cu_->target64 && r_dest_src1.Is64Bit()) { in OpRegReg() 477 return NewLIR3(kMips64Dsubu, r_dest_src1.GetReg(), rZEROd, r_src2.GetReg()); in OpRegReg() 479 return NewLIR3(kMipsSubu, r_dest_src1.GetReg(), rZERO, r_src2.GetReg()); in OpRegReg() 487 return OpRegRegReg(op, r_dest_src1, r_dest_src1, r_src2); in OpRegReg() 490 res = NewLIR2(kMipsSeb, r_dest_src1.GetReg(), r_src2.GetReg()); in OpRegReg() 494 res = NewLIR2(kMipsSeb, r_dest_src1.GetReg(), r_src2.GetReg()); in OpRegReg() [all …]
|
D | codegen_mips.h | 208 LIR* OpRegImm(OpKind op, RegStorage r_dest_src1, int value); 209 LIR* OpRegReg(OpKind op, RegStorage r_dest_src1, RegStorage r_src2);
|
/art/compiler/dex/quick/x86/ |
D | utility_x86.cc | 139 LIR* X86Mir2Lir::OpRegImm(OpKind op, RegStorage r_dest_src1, int value) { in OpRegImm() argument 142 DCHECK(!r_dest_src1.IsFloat()); in OpRegImm() 143 if (r_dest_src1.Is64Bit()) { in OpRegImm() 177 return NewLIR3(opcode, r_dest_src1.GetReg(), r_dest_src1.GetReg(), value); in OpRegImm() 198 return NewLIR2(opcode, r_dest_src1.GetReg(), value); in OpRegImm() 201 LIR* X86Mir2Lir::OpRegReg(OpKind op, RegStorage r_dest_src1, RegStorage r_src2) { in OpRegReg() argument 202 bool is64Bit = r_dest_src1.Is64Bit(); in OpRegReg() 208 OpRegCopy(r_dest_src1, r_src2); in OpRegReg() 209 return OpReg(kOpNot, r_dest_src1); in OpRegReg() 211 OpRegCopy(r_dest_src1, r_src2); in OpRegReg() [all …]
|
D | codegen_x86.h | 307 LIR* OpRegImm(OpKind op, RegStorage r_dest_src1, int value) OVERRIDE; 308 LIR* OpRegReg(OpKind op, RegStorage r_dest_src1, RegStorage r_src2) OVERRIDE;
|
/art/compiler/dex/quick/ |
D | mir_to_lir.h | 1419 virtual LIR* OpRegImm(OpKind op, RegStorage r_dest_src1, int value) = 0; 1420 virtual LIR* OpRegReg(OpKind op, RegStorage r_dest_src1, RegStorage r_src2) = 0;
|