/art/compiler/utils/x86/ |
D | assembler_x86.h | 38 class Immediate : public ValueObject { 40 explicit Immediate(int32_t value_in) : value_(value_in) {} in Immediate() function 330 void pushl(const Immediate& imm); 335 void movl(Register dst, const Immediate& src); 340 void movl(const Address& dst, const Immediate& imm); 359 void rorl(Register reg, const Immediate& imm); 361 void roll(Register reg, const Immediate& imm); 370 void movb(const Address& dst, const Immediate& imm); 378 void movw(const Address& dst, const Immediate& imm); 537 void roundsd(XmmRegister dst, XmmRegister src, const Immediate& imm); [all …]
|
D | assembler_x86.cc | 115 void X86Assembler::pushl(const Immediate& imm) { in pushl() 140 void X86Assembler::movl(Register dst, const Immediate& imm) { in movl() 168 void X86Assembler::movl(const Address& dst, const Immediate& imm) { in movl() 325 void X86Assembler::movb(const Address& dst, const Immediate& imm) { in movb() 379 void X86Assembler::movw(const Address& dst, const Immediate& imm) { in movw() 1793 void X86Assembler::roundsd(XmmRegister dst, XmmRegister src, const Immediate& imm) { in roundsd() 1804 void X86Assembler::roundss(XmmRegister dst, XmmRegister src, const Immediate& imm) { in roundss() 2569 void X86Assembler::shufpd(XmmRegister dst, XmmRegister src, const Immediate& imm) { in shufpd() 2579 void X86Assembler::shufps(XmmRegister dst, XmmRegister src, const Immediate& imm) { in shufps() 2588 void X86Assembler::pshufd(XmmRegister dst, XmmRegister src, const Immediate& imm) { in pshufd() [all …]
|
D | jni_macro_assembler_x86.cc | 81 __ addl(ESP, Immediate(-adjust)); in BuildFrame() 99 __ addl(ESP, Immediate(adjust)); in RemoveFrame() 117 __ addl(ESP, Immediate(-adjust)); in IncreaseFrameSize() 125 assembler->addl(ESP, Immediate(adjust)); in DecreaseFrameSizeImpl() 174 __ movl(Address(ESP, dest), Immediate(imm)); in StoreImmediateToFrame() 561 __ fs()->cmpl(Address::Absolute(Thread::ExceptionOffset<kX86PointerSize>()), Immediate(0)); in ExceptionPoll() 593 __ fs()->cmpl(Address::Absolute(Thread::IsGcMarkingOffset<kX86PointerSize>()), Immediate(0)); in TestGcMarking()
|
D | assembler_x86_test.cc | 45 x86::Immediate> { 51 x86::Immediate>; 131 x86::Immediate CreateImmediate(int64_t imm_value) override { in CreateImmediate() 132 return x86::Immediate(imm_value); in CreateImmediate()
|
/art/compiler/utils/x86_64/ |
D | assembler_x86_64.h | 45 class Immediate : public ValueObject { 47 explicit Immediate(int64_t value_in) : value_(value_in) {} in Immediate() function 374 void pushq(const Immediate& imm); 379 void movq(CpuRegister dst, const Immediate& src); 380 void movl(CpuRegister dst, const Immediate& src); 390 void movq(const Address& dst, const Immediate& imm); 392 void movl(const Address& dst, const Immediate& imm); 404 void movb(const Address& dst, const Immediate& imm); 412 void movw(const Address& dst, const Immediate& imm); 576 void roundsd(XmmRegister dst, XmmRegister src, const Immediate& imm); [all …]
|
D | assembler_x86_64.cc | 114 void X86_64Assembler::pushq(const Immediate& imm) { in pushq() 142 void X86_64Assembler::movq(CpuRegister dst, const Immediate& imm) { in movq() 158 void X86_64Assembler::movl(CpuRegister dst, const Immediate& imm) { in movl() 167 void X86_64Assembler::movq(const Address& dst, const Immediate& imm) { in movq() 225 void X86_64Assembler::movl(const Address& dst, const Immediate& imm) { in movl() 328 void X86_64Assembler::movb(const Address& dst, const Immediate& imm) { in movb() 388 void X86_64Assembler::movw(const Address& dst, const Immediate& imm) { in movw() 2554 void X86_64Assembler::roundsd(XmmRegister dst, XmmRegister src, const Immediate& imm) { in roundsd() 2566 void X86_64Assembler::roundss(XmmRegister dst, XmmRegister src, const Immediate& imm) { in roundss() 3475 void X86_64Assembler::shufpd(XmmRegister dst, XmmRegister src, const Immediate& imm) { in shufpd() [all …]
|
D | jni_macro_assembler_x86_64.cc | 71 __ subq(CpuRegister(RSP), Immediate(rest_of_frame)); in BuildFrame() 117 __ addq(CpuRegister(RSP), Immediate(offset)); in RemoveFrame() 137 __ addq(CpuRegister(RSP), Immediate(-static_cast<int64_t>(adjust))); in IncreaseFrameSize() 145 assembler->addq(CpuRegister(RSP), Immediate(adjust)); in DecreaseFrameSizeImpl() 200 __ movl(Address(CpuRegister(RSP), dest), Immediate(imm)); // TODO(64) movq? in StoreImmediateToFrame() 420 __ subl(CpuRegister(RSP), Immediate(16)); in Move() 430 __ addq(CpuRegister(RSP), Immediate(16)); in Move() 662 Immediate(0)); in ExceptionPoll() 695 Immediate(0)); in TestGcMarking()
|
D | assembler_x86_64_test.cc | 113 x86_64::Immediate imm(value); in TEST() 118 x86_64::Immediate imm2(value); in TEST() 138 x86_64::Immediate> { 144 x86_64::Immediate>; 307 x86_64::Immediate CreateImmediate(int64_t imm_value) override { in CreateImmediate() 308 return x86_64::Immediate(imm_value); in CreateImmediate() 1943 GetAssembler()->psllw(x86_64::XmmRegister(x86_64::XMM0), x86_64::Immediate(1)); in TEST_F() 1944 GetAssembler()->psllw(x86_64::XmmRegister(x86_64::XMM15), x86_64::Immediate(2)); in TEST_F() 1950 GetAssembler()->pslld(x86_64::XmmRegister(x86_64::XMM0), x86_64::Immediate(1)); in TEST_F() 1951 GetAssembler()->pslld(x86_64::XmmRegister(x86_64::XMM15), x86_64::Immediate(2)); in TEST_F() [all …]
|
/art/compiler/optimizing/ |
D | intrinsics_x86.cc | 151 __ addl(temp1, Immediate(1)); in EmitNativeCode() 197 __ psrlq(temp, Immediate(32)); in MoveFPToInt() 278 __ sarl(out, Immediate(16)); in GenReverseBytes() 361 __ roundsd(out, in, Immediate(round_mode)); in GenSSE41FPToFPIntrinsic() 426 __ roundss(t1, in, Immediate(1)); in VisitMathRoundFloat() 443 __ pushl(Immediate(bit_cast<int32_t, float>(0.5f))); in VisitMathRoundFloat() 444 __ pushl(Immediate(bit_cast<int32_t, float>(1.0f))); in VisitMathRoundFloat() 449 __ addl(ESP, Immediate(8)); in VisitMathRoundFloat() 455 __ movl(out, Immediate(kPrimIntMax)); in VisitMathRoundFloat() 459 __ movl(out, Immediate(0)); // does not change flags in VisitMathRoundFloat() [all …]
|
D | intrinsics_x86_64.cc | 109 __ addl(src_curr_addr, Immediate(element_size)); in EmitNativeCode() 110 __ addl(dst_curr_addr, Immediate(element_size)); in EmitNativeCode() 196 __ sarl(out, Immediate(16)); in GenReverseBytes() 269 __ roundsd(out, in, Immediate(round_mode)); in GenSSE41FPToFPIntrinsic() 333 __ roundss(t1, in, Immediate(1)); in VisitMathRoundFloat() 347 __ movl(out, Immediate(0)); // does not change flags in VisitMathRoundFloat() 374 __ roundsd(t1, in, Immediate(1)); in VisitMathRoundDouble() 388 __ movl(out, Immediate(0)); // does not change flags, implicit zero extension to 64-bit in VisitMathRoundDouble() 623 Immediate(length.GetConstant()->AsIntConstant()->GetValue())); in CheckPosition() 632 __ subl(temp, Immediate(pos_const)); in CheckPosition() [all …]
|
D | code_generator_x86.cc | 129 __ movl(reg_, Immediate(0)); in EmitNativeCode() 175 __ shrl(length_loc.AsRegister<Register>(), Immediate(1)); in EmitNativeCode() 253 __ movl(calling_convention.GetRegisterAt(0), Immediate(string_index.index_)); in EmitNativeCode() 291 __ movl(calling_convention.GetRegisterAt(0), Immediate(type_index.index_)); in EmitNativeCode() 795 __ shll(index_reg, Immediate(TIMES_4)); in EmitNativeCode() 799 __ AddImmediate(index_reg, Immediate(offset_)); in EmitNativeCode() 838 __ movl(calling_convention.GetRegisterAt(2), Immediate(offset_)); in EmitNativeCode() 1088 Immediate(ArtMethod::MaxCounter())); in MaybeIncrementHotness() 1091 Immediate(1)); in MaybeIncrementHotness() 1112 __ movl(EAX, Immediate(address)); in MaybeIncrementHotness() [all …]
|
D | code_generator_x86_64.cc | 221 __ shrl(length_loc.AsRegister<CpuRegister>(), Immediate(1)); in EmitNativeCode() 273 __ movl(CpuRegister(RAX), Immediate(type_index.index_)); in EmitNativeCode() 320 __ movl(CpuRegister(RAX), Immediate(string_index.index_)); in EmitNativeCode() 816 __ shll(CpuRegister(index_reg), Immediate(TIMES_4)); in EmitNativeCode() 820 __ AddImmediate(CpuRegister(index_reg), Immediate(offset_)); in EmitNativeCode() 856 __ movl(CpuRegister(calling_convention.GetRegisterAt(2)), Immediate(offset_)); in EmitNativeCode() 1193 __ movl(reg, Immediate(dchecked_integral_cast<uint32_t>(reinterpret_cast<uintptr_t>(address)))); in LoadBootImageAddress() 1411 Immediate(ArtMethod::MaxCounter())); in MaybeIncrementHotness() 1414 Immediate(1)); in MaybeIncrementHotness() 1424 __ movq(CpuRegister(TMP), Immediate(address)); in MaybeIncrementHotness() [all …]
|
D | code_generator_vector_x86.cc | 81 __ pshufd(dst, dst, Immediate(0)); in VisitVecReplicateScalar() 88 __ pshufd(dst, dst, Immediate(0)); in VisitVecReplicateScalar() 93 __ pshufd(dst, dst, Immediate(0)); in VisitVecReplicateScalar() 107 __ shufps(dst, dst, Immediate(0)); in VisitVecReplicateScalar() 112 __ shufpd(dst, dst, Immediate(0)); in VisitVecReplicateScalar() 167 __ pshufd(tmp, src, Immediate(1)); in VisitVecExtractScalar() 348 __ psrld(dst, Immediate(1)); in VisitVecAbs() 354 __ psrlq(dst, Immediate(1)); in VisitVecAbs() 1006 __ psllw(dst, Immediate(static_cast<uint8_t>(value))); in VisitVecShl() 1010 __ pslld(dst, Immediate(static_cast<uint8_t>(value))); in VisitVecShl() [all …]
|
D | code_generator_vector_x86_64.cc | 76 __ pshufd(dst, dst, Immediate(0)); in VisitVecReplicateScalar() 83 __ pshufd(dst, dst, Immediate(0)); in VisitVecReplicateScalar() 88 __ pshufd(dst, dst, Immediate(0)); in VisitVecReplicateScalar() 98 __ shufps(dst, dst, Immediate(0)); in VisitVecReplicateScalar() 103 __ shufpd(dst, dst, Immediate(0)); in VisitVecReplicateScalar() 331 __ psrld(dst, Immediate(1)); in VisitVecAbs() 337 __ psrlq(dst, Immediate(1)); in VisitVecAbs() 989 __ psllw(dst, Immediate(static_cast<int8_t>(value))); in VisitVecShl() 993 __ pslld(dst, Immediate(static_cast<int8_t>(value))); in VisitVecShl() 997 __ psllq(dst, Immediate(static_cast<int8_t>(value))); in VisitVecShl() [all …]
|
D | code_generator_x86.h | 644 assembler_.lock()->addl(Address(ESP, 0), Immediate(0));
|
D | code_generator_x86_64.h | 623 assembler_.lock()->addl(Address(CpuRegister(RSP), 0), Immediate(0));
|