Home
last modified time | relevance | path

Searched refs:CpuFeatures (Results 1 – 25 of 49) sorted by relevance

12

/external/v8/src/ia32/
Dassembler-ia32.cc52 bool CpuFeatures::initialized_ = false;
54 uint64_t CpuFeatures::supported_ = 0;
55 uint64_t CpuFeatures::found_by_runtime_probing_ = 0;
60 void CpuFeatures::Probe() { in Probe()
409 if (!CpuFeatures::IsSupported(SSE2)) { in Nop()
486 ASSERT(CpuFeatures::IsEnabled(CPUID)); in cpuid()
708 ASSERT(CpuFeatures::IsEnabled(CMOV)); in cmov()
1298 ASSERT(CpuFeatures::IsEnabled(RDTSC)); in rdtsc()
1652 ASSERT(CpuFeatures::IsEnabled(SSE3)); in fisttp_s()
1660 ASSERT(CpuFeatures::IsEnabled(SSE3)); in fisttp_d()
[all …]
Dcpu-ia32.cc45 CpuFeatures::Probe(); in SetUp()
50 return CpuFeatures::IsSupported(SSE2); in SupportsCrankshaft()
Dcodegen-ia32.cc113 if (buffer == NULL || !CpuFeatures::IsSupported(SSE2)) return &sqrt; in CreateSqrtFunction()
119 CpuFeatures::Scope use_sse2(SSE2); in CreateSqrtFunction()
178 if (CpuFeatures::IsSupported(SSE2)) { in CreateMemCopyFunction()
179 CpuFeatures::Scope enable(SSE2); in CreateMemCopyFunction()
427 if (CpuFeatures::IsSupported(SSE2)) { in GenerateSmiOnlyToDouble()
428 CpuFeatures::Scope use_sse2(SSE2); in GenerateSmiOnlyToDouble()
452 if (CpuFeatures::IsSupported(SSE2)) { in GenerateSmiOnlyToDouble()
453 CpuFeatures::Scope fscope(SSE2); in GenerateSmiOnlyToDouble()
473 if (CpuFeatures::IsSupported(SSE2)) { in GenerateSmiOnlyToDouble()
474 CpuFeatures::Scope use_sse2(SSE2); in GenerateSmiOnlyToDouble()
[all …]
Dassembler-ia32.h453 class CpuFeatures : public AllStatic {
492 ASSERT(CpuFeatures::IsSupported(f)); in Scope()
494 (CpuFeatures::found_by_runtime_probing_ & mask) == 0); in Scope()
522 : old_supported_(CpuFeatures::supported_) { in TryForceFeatureScope()
524 CpuFeatures::supported_ |= (static_cast<uint64_t>(1) << f); in TryForceFeatureScope()
530 CpuFeatures::supported_ = old_supported_; in ~TryForceFeatureScope()
552 DISALLOW_COPY_AND_ASSIGN(CpuFeatures);
Dcode-stubs-ia32.cc525 CpuFeatures::Scope scope(SSE2); in Generate()
542 CpuFeatures::Scope scope(SSE2); in Generate()
684 CpuFeatures::Scope scope(SSE3); in IntegerConvert()
1012 IntegerConvert(masm, eax, CpuFeatures::IsSupported(SSE3), slow); in GenerateHeapNumberCodeBitNot()
1046 IntegerConvert(masm, edx, CpuFeatures::IsSupported(SSE3), slow); in GenerateHeapNumberCodeBitNot()
1051 if (CpuFeatures::IsSupported(SSE2)) { in GenerateHeapNumberCodeBitNot()
1052 CpuFeatures::Scope use_sse2(SSE2); in GenerateHeapNumberCodeBitNot()
1490 if (CpuFeatures::IsSupported(SSE2)) { in GenerateSmiCode()
1491 CpuFeatures::Scope use_sse2(SSE2); in GenerateSmiCode()
1534 if (CpuFeatures::IsSupported(SSE2)) { in GenerateSmiCode()
[all …]
Dstub-cache-ia32.cc1915 if (!CpuFeatures::IsSupported(SSE2)) { in CompileMathFloorCall()
1919 CpuFeatures::Scope use_sse2(SSE2); in CompileMathFloorCall()
3207 if (CpuFeatures::IsSupported(CMOV)) { in CompileConstructStub()
3208 CpuFeatures::Scope use_cmov(CMOV); in CompileConstructStub()
3582 if (CpuFeatures::IsSupported(SSE2)) { in GenerateStoreExternalArray()
3585 ASSERT(CpuFeatures::IsSupported(SSE2)); in GenerateStoreExternalArray()
3586 CpuFeatures::Scope scope(SSE2); in GenerateStoreExternalArray()
3607 if (CpuFeatures::IsSupported(SSE3)) { in GenerateStoreExternalArray()
3608 CpuFeatures::Scope scope(SSE3); in GenerateStoreExternalArray()
3620 ASSERT(CpuFeatures::IsSupported(SSE2)); in GenerateStoreExternalArray()
[all …]
/external/v8/test/cctest/
Dtest-assembler-ia32.cc171 if (!CpuFeatures::IsSupported(SSE2)) return; in TEST()
178 CHECK(CpuFeatures::IsSupported(SSE2)); in TEST()
179 { CpuFeatures::Scope fscope(SSE2); in TEST()
206 if (!CpuFeatures::IsSupported(SSE2)) return; in TEST()
213 CHECK(CpuFeatures::IsSupported(SSE2)); in TEST()
214 CpuFeatures::Scope fscope(SSE2); in TEST()
263 if (!CpuFeatures::IsSupported(SSE2)) return; in TEST()
266 CHECK(CpuFeatures::IsSupported(SSE2)); in TEST()
267 CpuFeatures::Scope fscope(SSE2); in TEST()
309 if (!CpuFeatures::IsSupported(SSE2)) return; in TEST()
[all …]
Dtest-disasm-ia32.cc110 CHECK(CpuFeatures::IsSupported(CPUID)); in TEST()
111 CpuFeatures::Scope fscope(CPUID); in TEST()
115 CHECK(CpuFeatures::IsSupported(RDTSC)); in TEST()
116 CpuFeatures::Scope fscope(RDTSC); in TEST()
371 if (CpuFeatures::IsSupported(SSE2)) { in TEST()
372 CpuFeatures::Scope fscope(SSE2); in TEST()
393 if (CpuFeatures::IsSupported(CMOV)) { in TEST()
394 CpuFeatures::Scope use_cmov(CMOV); in TEST()
416 if (CpuFeatures::IsSupported(SSE2)) { in TEST()
417 CpuFeatures::Scope fscope(SSE2); in TEST()
[all …]
Dtest-disasm-x64.cc102 CHECK(CpuFeatures::IsSupported(CPUID)); in TEST()
103 CpuFeatures::Scope fscope(CPUID); in TEST()
107 CHECK(CpuFeatures::IsSupported(RDTSC)); in TEST()
108 CpuFeatures::Scope fscope(RDTSC); in TEST()
351 if (CpuFeatures::IsSupported(SSE2)) { in TEST()
352 CpuFeatures::Scope fscope(SSE2); in TEST()
374 if (CpuFeatures::IsSupported(CMOV)) { in TEST()
375 CpuFeatures::Scope use_cmov(CMOV); in TEST()
397 if (CpuFeatures::IsSupported(SSE2)) { in TEST()
398 CpuFeatures::Scope fscope(SSE2); in TEST()
Dtest-assembler-arm.cc249 if (CpuFeatures::IsSupported(VFP3)) {
250 CpuFeatures::Scope scope(VFP3);
363 if (CpuFeatures::IsSupported(ARMv7)) {
364 CpuFeatures::Scope scope(ARMv7);
399 if (CpuFeatures::IsSupported(ARMv7)) {
400 CpuFeatures::Scope scope(ARMv7);
442 if (CpuFeatures::IsSupported(VFP3)) { in TestRoundingMode()
443 CpuFeatures::Scope scope(VFP3); in TestRoundingMode()
645 if (CpuFeatures::IsSupported(VFP3)) {
646 CpuFeatures::Scope scope(VFP3);
[all …]
Dtest-assembler-mips.cc287 if (CpuFeatures::IsSupported(FPU)) { in TEST()
288 CpuFeatures::Scope scope(FPU); in TEST()
360 if (CpuFeatures::IsSupported(FPU)) { in TEST()
361 CpuFeatures::Scope scope(FPU); in TEST()
421 if (CpuFeatures::IsSupported(FPU)) { in TEST()
422 CpuFeatures::Scope scope(FPU); in TEST()
569 if (CpuFeatures::IsSupported(FPU)) { in TEST()
570 CpuFeatures::Scope scope(FPU); in TEST()
782 if (CpuFeatures::IsSupported(FPU) && kArchVariant == kMips32r2) { in TEST()
783 CpuFeatures::Scope scope(FPU); in TEST()
[all …]
Dtest-disasm-arm.cc273 if (CpuFeatures::IsSupported(ARMv7)) { in TEST()
363 if (CpuFeatures::IsSupported(ARMv7)) { in TEST()
418 if (CpuFeatures::IsSupported(VFP3)) { in TEST()
419 CpuFeatures::Scope scope(VFP3); in TEST()
713 if (CpuFeatures::IsSupported(ARMv7)) { in TEST()
714 CpuFeatures::Scope scope(ARMv7); in TEST()
/external/v8/src/arm/
Dassembler-arm.cc48 bool CpuFeatures::initialized_ = false;
50 unsigned CpuFeatures::supported_ = 0;
51 unsigned CpuFeatures::found_by_runtime_probing_ = 0;
82 void CpuFeatures::Probe() { in Probe()
739 if (CpuFeatures::IsSupported(ARMv7)) { in fits_shifter()
803 !CpuFeatures::IsSupported(ARMv7)) { in is_single_instruction()
846 !CpuFeatures::IsSupported(ARMv7)) { in addrmod1()
1275 ASSERT(CpuFeatures::IsSupported(ARMv7)); in usat()
1303 ASSERT(CpuFeatures::IsSupported(ARMv7)); in ubfx()
1323 ASSERT(CpuFeatures::IsSupported(ARMv7)); in sbfx()
[all …]
Dcpu-arm.cc45 CpuFeatures::Probe(); in SetUp()
50 return CpuFeatures::IsSupported(VFP3); in SupportsCrankshaft()
Dcode-stubs-arm.cc522 if (CpuFeatures::IsSupported(VFP3)) { in LoadSmis()
523 CpuFeatures::Scope scope(VFP3); in LoadSmis()
592 if (CpuFeatures::IsSupported(VFP3) && in LoadNumber()
594 CpuFeatures::Scope scope(VFP3); in LoadNumber()
607 if (CpuFeatures::IsSupported(VFP3)) { in LoadNumber()
608 CpuFeatures::Scope scope(VFP3); in LoadNumber()
685 if (CpuFeatures::IsSupported(VFP3)) { in ConvertIntToDouble()
686 CpuFeatures::Scope scope(VFP3); in ConvertIntToDouble()
779 if (CpuFeatures::IsSupported(VFP3)) { in LoadNumberAsInt32Double()
780 CpuFeatures::Scope scope(VFP3); in LoadNumberAsInt32Double()
[all …]
Dmacro-assembler-arm.cc268 ASSERT(CpuFeatures::IsSupported(VFP3)); in Move()
269 CpuFeatures::Scope scope(VFP3); in Move()
285 CpuFeatures::IsSupported(ARMv7) && in And()
299 if (!CpuFeatures::IsSupported(ARMv7)) { in Ubfx()
314 if (!CpuFeatures::IsSupported(ARMv7)) { in Sbfx()
342 if (!CpuFeatures::IsSupported(ARMv7)) { in Bfi()
356 if (!CpuFeatures::IsSupported(ARMv7)) { in Bfc()
367 if (!CpuFeatures::IsSupported(ARMv7)) { in Usat()
675 if (CpuFeatures::IsSupported(ARMv7)) { in Ldrd()
676 CpuFeatures::Scope scope(ARMv7); in Ldrd()
[all …]
Dassembler-arm.h503 class CpuFeatures : public AllStatic {
538 ASSERT(CpuFeatures::IsSupported(f)); in Scope()
540 (CpuFeatures::found_by_runtime_probing_ & mask) == 0); in Scope()
568 : old_supported_(CpuFeatures::supported_) { in TryForceFeatureScope()
570 CpuFeatures::supported_ |= (1u << f); in TryForceFeatureScope()
576 CpuFeatures::supported_ = old_supported_; in ~TryForceFeatureScope()
598 DISALLOW_COPY_AND_ASSIGN(CpuFeatures);
Dstub-cache-arm.cc936 if (CpuFeatures::IsSupported(VFP3)) { in StoreIntAsFloat()
937 CpuFeatures::Scope scope(VFP3); in StoreIntAsFloat()
2024 if (!CpuFeatures::IsSupported(VFP3)) { in CompileMathFloorCall()
2028 CpuFeatures::Scope scope_vfp3(VFP3); in CompileMathFloorCall()
3435 if (CpuFeatures::IsSupported(VFP3)) { in GenerateLoadExternalArray()
3436 CpuFeatures::Scope scope(VFP3); in GenerateLoadExternalArray()
3444 if (CpuFeatures::IsSupported(VFP3)) { in GenerateLoadExternalArray()
3445 CpuFeatures::Scope scope(VFP3); in GenerateLoadExternalArray()
3493 if (CpuFeatures::IsSupported(VFP3)) { in GenerateLoadExternalArray()
3494 CpuFeatures::Scope scope(VFP3); in GenerateLoadExternalArray()
[all …]
/external/v8/src/mips/
Dcpu-mips.cc51 CpuFeatures::Probe(); in SetUp()
56 return CpuFeatures::IsSupported(FPU); in SupportsCrankshaft()
Dcode-stubs-mips.cc522 if (CpuFeatures::IsSupported(FPU)) { in LoadSmis()
523 CpuFeatures::Scope scope(FPU); in LoadSmis()
592 if (CpuFeatures::IsSupported(FPU) && in LoadNumber()
594 CpuFeatures::Scope scope(FPU); in LoadNumber()
612 if (CpuFeatures::IsSupported(FPU)) { in LoadNumber()
613 CpuFeatures::Scope scope(FPU); in LoadNumber()
690 if (CpuFeatures::IsSupported(FPU)) { in ConvertIntToDouble()
691 CpuFeatures::Scope scope(FPU); in ConvertIntToDouble()
792 if (CpuFeatures::IsSupported(FPU)) { in LoadNumberAsInt32Double()
793 CpuFeatures::Scope scope(FPU); in LoadNumberAsInt32Double()
[all …]
Dassembler-mips.h407 class CpuFeatures : public AllStatic {
443 ASSERT(CpuFeatures::IsSupported(f)); in Scope()
445 (CpuFeatures::found_by_runtime_probing_ & mask) == 0); in Scope()
473 : old_supported_(CpuFeatures::supported_) { in TryForceFeatureScope()
475 CpuFeatures::supported_ |= (1u << f); in TryForceFeatureScope()
481 CpuFeatures::supported_ = old_supported_; in ~TryForceFeatureScope()
503 DISALLOW_COPY_AND_ASSIGN(CpuFeatures);
Dassembler-mips.cc47 bool CpuFeatures::initialized_ = false;
49 unsigned CpuFeatures::supported_ = 0;
50 unsigned CpuFeatures::found_by_runtime_probing_ = 0;
76 void CpuFeatures::Probe() { in Probe()
886 ASSERT(CpuFeatures::IsEnabled(FPU)); in GenInstrRegister()
900 ASSERT(CpuFeatures::IsEnabled(FPU)); in GenInstrRegister()
913 ASSERT(CpuFeatures::IsEnabled(FPU)); in GenInstrRegister()
948 ASSERT(CpuFeatures::IsEnabled(FPU)); in GenInstrImmediate()
1862 ASSERT(CpuFeatures::IsEnabled(FPU)); in c()
1873 ASSERT(CpuFeatures::IsEnabled(FPU)); in fcmp()
[all …]
Dstub-cache-mips.cc929 if (CpuFeatures::IsSupported(FPU)) { in StoreIntAsFloat()
930 CpuFeatures::Scope scope(FPU); in StoreIntAsFloat()
2024 if (!CpuFeatures::IsSupported(FPU)) { in CompileMathFloorCall()
2028 CpuFeatures::Scope scope_fpu(FPU); in CompileMathFloorCall()
3440 if (CpuFeatures::IsSupported(FPU)) { in GenerateLoadExternalArray()
3441 CpuFeatures::Scope scope(FPU); in GenerateLoadExternalArray()
3450 if (CpuFeatures::IsSupported(FPU)) { in GenerateLoadExternalArray()
3451 CpuFeatures::Scope scope(FPU); in GenerateLoadExternalArray()
3496 if (CpuFeatures::IsSupported(FPU)) { in GenerateLoadExternalArray()
3497 CpuFeatures::Scope scope(FPU); in GenerateLoadExternalArray()
[all …]
/external/v8/src/x64/
Dcpu-x64.cc45 CpuFeatures::Probe(); in SetUp()
Dassembler-x64.cc43 bool CpuFeatures::initialized_ = false;
45 uint64_t CpuFeatures::supported_ = CpuFeatures::kDefaultCpuFeatures;
46 uint64_t CpuFeatures::found_by_runtime_probing_ = 0;
49 void CpuFeatures::Probe() { in Probe()
50 ASSERT(supported_ == CpuFeatures::kDefaultCpuFeatures); in Probe()
1014 ASSERT(CpuFeatures::IsEnabled(CPUID)); in cpuid()
2237 ASSERT(CpuFeatures::IsEnabled(SSE3)); in fisttp_s()
2246 ASSERT(CpuFeatures::IsEnabled(SSE3)); in fisttp_d()
2592 ASSERT(CpuFeatures::IsSupported(SSE4_1)); in extractps()
2942 ASSERT(CpuFeatures::IsEnabled(SSE4_1)); in roundsd()

12