Home
last modified time | relevance | path

Searched refs:RAX (Results 1 – 14 of 14) sorted by relevance

/art/compiler/utils/x86_64/
Dmanaged_register_x86_64_test.cc32 X86_64ManagedRegister reg = X86_64ManagedRegister::FromCpuRegister(RAX); in TEST()
38 EXPECT_EQ(RAX, reg.AsCpuRegister()); in TEST()
124 EXPECT_EQ(RAX, reg.AsRegisterPairLow()); in TEST()
133 EXPECT_EQ(RAX, reg.AsRegisterPairLow()); in TEST()
142 EXPECT_EQ(RAX, reg.AsRegisterPairLow()); in TEST()
151 EXPECT_EQ(RAX, reg.AsRegisterPairLow()); in TEST()
210 X86_64ManagedRegister reg_eax = X86_64ManagedRegister::FromCpuRegister(RAX); in TEST()
211 EXPECT_TRUE(reg_eax.Equals(X86_64ManagedRegister::FromCpuRegister(RAX))); in TEST()
222 EXPECT_TRUE(!reg_xmm0.Equals(X86_64ManagedRegister::FromCpuRegister(RAX))); in TEST()
233 EXPECT_TRUE(!reg_st0.Equals(X86_64ManagedRegister::FromCpuRegister(RAX))); in TEST()
[all …]
Dmanaged_register_x86_64.cc27 P(RAX, RDX) \
28 P(RAX, RCX) \
29 P(RAX, RBX) \
30 P(RAX, RDI) \
Dassembler_x86_64_test.cc160 x86_64::Address(x86_64::CpuRegister(x86_64::RAX), in SetUpHelpers()
168 x86_64::CpuRegister(x86_64::RAX), TIMES_1, 15)); in SetUpHelpers()
178 addresses_.push_back(x86_64::Address(x86_64::CpuRegister(x86_64::RAX), -1)); in SetUpHelpers()
185 x86_64::CpuRegister(x86_64::RAX), TIMES_1, 15)); in SetUpHelpers()
207 secondary_register_names_.emplace(x86_64::CpuRegister(x86_64::RAX), "eax"); in SetUpHelpers()
224 tertiary_register_names_.emplace(x86_64::CpuRegister(x86_64::RAX), "ax"); in SetUpHelpers()
241 quaternary_register_names_.emplace(x86_64::CpuRegister(x86_64::RAX), "al"); in SetUpHelpers()
270 x86_64::CpuRegister(x86_64::RAX), in GetRegisters()
979 std::make_pair(x86_64::CpuRegister(x86_64::RAX), x86_64::CpuRegister(x86_64::RAX)) in TEST_F()
1152 x86_64::Address(x86_64::CpuRegister(x86_64::RAX), 0), in TEST_F()
[all …]
Djni_macro_assembler_x86_64.cc525 CpuRegister rax(RAX); // RAX can be freely clobbered. It does not hold any argument. in TryToTransitionFromRunnableToNative()
561 CpuRegister rax(RAX); in TryToTransitionFromNativeToRunnable()
562 bool preserve_rax = return_reg.AsX86_64().Overlaps(X86_64ManagedRegister::FromCpuRegister(RAX)); in TryToTransitionFromNativeToRunnable()
Dassembler_x86_64.h84 int ext = (rex_ & 1) != 0 ? x86_64::R8 : x86_64::RAX; in cpu_rm()
89 int ext = (rex_ & 2) != 0 ? x86_64::R8 : x86_64::RAX; in cpu_index()
94 int ext = (rex_ & 1) != 0 ? x86_64::R8 : x86_64::RAX; in cpu_base()
Dassembler_x86_64.cc332 EmitOperand(Register::RAX, dst); in movb()
393 EmitOperand(Register::RAX, dst); in movw()
3895 if (src_reg != RAX && dst_reg != RAX) { in try_xchg_rax()
3898 if (dst_reg == RAX) { in try_xchg_rax()
3901 if (dst_reg != RAX) { in try_xchg_rax()
4195 if (reg.AsRegister() == RAX) { in testl()
4202 } else if (reg.AsRegister() == RAX) { in testl()
4235 EmitOperand(Register::RAX, dst); in testb()
5439 } else if (operand.IsRegister(CpuRegister(RAX))) { in EmitComplex()
/art/compiler/jni/quick/x86_64/
Dcalling_convention_x86_64.cc122 return X86_64ManagedRegister::FromCpuRegister(RAX); in ReturnRegisterForShorty()
126 return X86_64ManagedRegister::FromCpuRegister(RAX); in ReturnRegisterForShorty()
139 return X86_64ManagedRegister::FromCpuRegister(RAX); in IntReturnRegister()
328 return callee_save.Equals(X86_64ManagedRegister::FromCpuRegister(RAX)); in HiddenArgumentRegister()
330 return X86_64ManagedRegister::FromCpuRegister(RAX); in HiddenArgumentRegister()
/art/runtime/arch/x86_64/
Dregisters_x86_64.cc29 if (rhs >= RAX && rhs <= R15) { in operator <<()
Dregisters_x86_64.h28 RAX = 0, enumerator
Dcontext_x86_64.cc66 gprs_[RAX] = const_cast<uintptr_t*>(&gZero); in SmashCallerSaves()
Dcallee_save_frame_x86_64.h41 (1 << art::x86_64::RAX) | (1 << art::x86_64::RCX) | (1 << art::x86_64::RDX) |
/art/compiler/optimizing/
Dintrinsics_x86_64.cc1170 locations->SetOut(Location::RegisterLocation(RAX)); in VisitStringCompareTo()
1319 locations->SetInAt(1, Location::RegisterLocation(RAX)); in CreateStringIndexOfLocations()
1349 DCHECK_EQ(search_value.AsRegister(), RAX); in GenerateStringIndexOf()
1498 locations->SetOut(Location::RegisterLocation(RAX)); in VisitStringNewStringFromBytes()
1523 locations->SetOut(Location::RegisterLocation(RAX)); in VisitStringNewStringFromChars()
1542 locations->SetOut(Location::RegisterLocation(RAX)); in VisitStringNewStringFromString()
2191 locations->SetInAt(3, Location::RegisterLocation(RAX)); in CreateUnsafeCASLocations()
2195 locations->SetOut(Location::RegisterLocation(RAX)); in CreateUnsafeCASLocations()
2270 instr_codegen->Bswap(Location::RegisterLocation(RAX), type); in GenCompareAndSetOrExchangeInt()
2301 CpuRegister rax(RAX); in GenCompareAndSetOrExchangeInt()
[all …]
Dcode_generator_x86_64.cc73 caller_saves.Add(Location::RegisterLocation(RAX)); in OneRegInReferenceOutSaveEverythingCallerSaves()
287 __ movl(CpuRegister(RAX), Immediate(proto_index.index_)); in EmitNativeCode()
293 x86_64_codegen->Move(locations->Out(), Location::RegisterLocation(RAX)); in EmitNativeCode()
331 __ movl(CpuRegister(RAX), Immediate(type_index.index_)); in EmitNativeCode()
343 x86_64_codegen->Move(Location::RegisterLocation(RAX), source); in EmitNativeCode()
353 x86_64_codegen->Move(out, Location::RegisterLocation(RAX)); in EmitNativeCode()
383 __ movl(CpuRegister(RAX), Immediate(string_index.index_)); in EmitNativeCode()
389 x86_64_codegen->Move(locations->Out(), Location::RegisterLocation(RAX)); in EmitNativeCode()
446 x86_64_codegen->Move(locations->Out(), Location::RegisterLocation(RAX)); in EmitNativeCode()
714 __ movq(temp2_, CpuRegister(RAX)); in EmitNativeCode()
[all …]
Dcode_generator_x86_64.h157 return Location::RegisterLocation(RAX); in GetReturnLocation()