Home
last modified time | relevance | path

Searched refs:CpuFeatures (Results 1 – 25 of 37) 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;
58 void CpuFeatures::Probe() { in Probe()
390 ASSERT(CpuFeatures::IsEnabled(CPUID)); in cpuid()
751 ASSERT(CpuFeatures::IsEnabled(CMOV)); in cmov()
762 ASSERT(CpuFeatures::IsEnabled(CMOV)); in cmov()
773 ASSERT(CpuFeatures::IsEnabled(CMOV)); in cmov()
1454 ASSERT(CpuFeatures::IsEnabled(RDTSC)); in rdtsc()
1860 ASSERT(CpuFeatures::IsEnabled(SSE3)); in fisttp_s()
[all …]
Dcpu-ia32.cc45 CpuFeatures::Probe(); in Setup()
50 return CpuFeatures::IsSupported(SSE2); in SupportsCrankshaft()
Dassembler-ia32.h450 class CpuFeatures : public AllStatic {
488 ASSERT(CpuFeatures::IsSupported(f)); in Scope()
490 (CpuFeatures::found_by_runtime_probing_ & mask) == 0); in Scope()
516 : old_supported_(CpuFeatures::supported_) { in TryForceFeatureScope()
518 CpuFeatures::supported_ |= (static_cast<uint64_t>(1) << f); in TryForceFeatureScope()
524 CpuFeatures::supported_ = old_supported_; in ~TryForceFeatureScope()
546 DISALLOW_COPY_AND_ASSIGN(CpuFeatures);
Dcode-stubs-ia32.cc747 if (CpuFeatures::IsSupported(SSE2)) { in GenerateSmiCode()
748 CpuFeatures::Scope use_sse2(SSE2); in GenerateSmiCode()
792 if (CpuFeatures::IsSupported(SSE2)) { in GenerateSmiCode()
793 CpuFeatures::Scope use_sse2(SSE2); in GenerateSmiCode()
924 if (CpuFeatures::IsSupported(SSE2)) { in GenerateInt32Stub()
925 CpuFeatures::Scope use_sse2(SSE2); in GenerateInt32Stub()
1045 if (CpuFeatures::IsSupported(SSE2)) { in GenerateInt32Stub()
1046 CpuFeatures::Scope use_sse2(SSE2); in GenerateInt32Stub()
1157 if (CpuFeatures::IsSupported(SSE2)) { in GenerateHeapNumberStub()
1158 CpuFeatures::Scope use_sse2(SSE2); in GenerateHeapNumberStub()
[all …]
Dcodegen-ia32.cc93 if (CpuFeatures::IsSupported(SSE2)) { in CreateMemCopyFunction()
94 CpuFeatures::Scope enable(SSE2); in CreateMemCopyFunction()
Dstub-cache-ia32.cc1924 if (!CpuFeatures::IsSupported(SSE2)) { in CompileMathFloorCall()
1928 CpuFeatures::Scope use_sse2(SSE2); in CompileMathFloorCall()
3295 if (CpuFeatures::IsSupported(CMOV)) { in CompileConstructStub()
3296 CpuFeatures::Scope use_cmov(CMOV); in CompileConstructStub()
3614 if (CpuFeatures::IsSupported(SSE2)) { in CompileKeyedStoreStub()
3617 ASSERT(CpuFeatures::IsSupported(SSE2)); in CompileKeyedStoreStub()
3618 CpuFeatures::Scope scope(SSE2); in CompileKeyedStoreStub()
3646 if (CpuFeatures::IsSupported(SSE3)) { in CompileKeyedStoreStub()
3647 CpuFeatures::Scope scope(SSE3); in CompileKeyedStoreStub()
3659 ASSERT(CpuFeatures::IsSupported(SSE2)); in CompileKeyedStoreStub()
[all …]
Dcode-stubs-ia32.h83 use_sse3_ = CpuFeatures::IsSupported(SSE3); in TypeRecordingBinaryOpStub()
Dlithium-codegen-ia32.cc70 CpuFeatures::Scope scope(SSE2); in GenerateCode()
1096 if (CpuFeatures::IsSupported(SSE4_1)) { in DoConstantD()
1097 CpuFeatures::Scope scope(SSE4_1); in DoConstantD()
2785 CpuFeatures::Scope scope(SSE2); in DoPower()
3497 if (CpuFeatures::IsSupported(SSE3)) { in DoDeferredTaggedToI()
3498 CpuFeatures::Scope scope(SSE3); in DoDeferredTaggedToI()
3609 if (CpuFeatures::IsSupported(SSE3)) { in DoDoubleToI()
3611 CpuFeatures::Scope scope(SSE3); in DoDoubleToI()
/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()
378 if (CpuFeatures::IsSupported(SSE2)) { in TEST()
379 CpuFeatures::Scope fscope(SSE2); in TEST()
400 if (CpuFeatures::IsSupported(CMOV)) { in TEST()
401 CpuFeatures::Scope use_cmov(CMOV); in TEST()
423 if (CpuFeatures::IsSupported(SSE2)) { in TEST()
424 CpuFeatures::Scope fscope(SSE2); in TEST()
[all …]
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-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()
Dtest-assembler-mips.cc288 CpuFeatures::Scope scope(FPU); in TEST()
361 CpuFeatures::Scope scope(FPU); in TEST()
422 CpuFeatures::Scope scope(FPU); in TEST()
570 CpuFeatures::Scope scope(FPU); in TEST()
778 CpuFeatures::Scope scope(FPU); in TEST()
1083 CpuFeatures::Scope scope(FPU); in TEST()
1166 CpuFeatures::Scope scope(FPU); 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;
74 void CpuFeatures::Probe() { in Probe()
723 if (CpuFeatures::IsSupported(ARMv7)) { in fits_shifter()
787 !CpuFeatures::IsSupported(ARMv7)) { in is_single_instruction()
830 !CpuFeatures::IsSupported(ARMv7)) { in addrmod1()
1273 ASSERT(CpuFeatures::IsSupported(ARMv7)); in usat()
1301 ASSERT(CpuFeatures::IsSupported(ARMv7)); in ubfx()
1321 ASSERT(CpuFeatures::IsSupported(ARMv7)); in sbfx()
[all …]
Dcpu-arm.cc45 CpuFeatures::Probe(); in Setup()
50 return CpuFeatures::IsSupported(VFP3); in SupportsCrankshaft()
Dcode-stubs-arm.cc501 if (CpuFeatures::IsSupported(VFP3)) { in LoadSmis()
502 CpuFeatures::Scope scope(VFP3); in LoadSmis()
569 if (CpuFeatures::IsSupported(VFP3) && in LoadNumber()
571 CpuFeatures::Scope scope(VFP3); in LoadNumber()
584 if (CpuFeatures::IsSupported(VFP3)) { in LoadNumber()
585 CpuFeatures::Scope scope(VFP3); in LoadNumber()
675 if (CpuFeatures::IsSupported(VFP3)) { in LoadNumberAsInt32Double()
676 CpuFeatures::Scope scope(VFP3); in LoadNumberAsInt32Double()
743 if (CpuFeatures::IsSupported(VFP3)) { in LoadNumberAsInt32Double()
744 CpuFeatures::Scope scope(VFP3); in LoadNumberAsInt32Double()
[all …]
Dassembler-arm.h475 class CpuFeatures : public AllStatic {
509 ASSERT(CpuFeatures::IsSupported(f)); in Scope()
511 (CpuFeatures::found_by_runtime_probing_ & mask) == 0); in Scope()
537 : old_supported_(CpuFeatures::supported_) { in TryForceFeatureScope()
539 CpuFeatures::supported_ |= (1u << f); in TryForceFeatureScope()
545 CpuFeatures::supported_ = old_supported_; in ~TryForceFeatureScope()
567 DISALLOW_COPY_AND_ASSIGN(CpuFeatures);
Dmacro-assembler-arm.cc298 CpuFeatures::IsSupported(ARMv7) && in And()
311 if (!CpuFeatures::IsSupported(ARMv7)) { in Ubfx()
326 if (!CpuFeatures::IsSupported(ARMv7)) { in Sbfx()
354 if (!CpuFeatures::IsSupported(ARMv7)) { in Bfi()
368 if (!CpuFeatures::IsSupported(ARMv7)) { in Bfc()
379 if (!CpuFeatures::IsSupported(ARMv7)) { in Usat()
625 if (CpuFeatures::IsSupported(ARMv7)) { in Ldrd()
626 CpuFeatures::Scope scope(ARMv7); in Ldrd()
650 if (CpuFeatures::IsSupported(ARMv7)) { in Strd()
651 CpuFeatures::Scope scope(ARMv7); in Strd()
[all …]
Dstub-cache-arm.cc956 if (CpuFeatures::IsSupported(VFP3)) { in StoreIntAsFloat()
957 CpuFeatures::Scope scope(VFP3); in StoreIntAsFloat()
2051 if (!CpuFeatures::IsSupported(VFP3)) { in CompileMathFloorCall()
2055 CpuFeatures::Scope scope_vfp3(VFP3); in CompileMathFloorCall()
3512 if (CpuFeatures::IsSupported(VFP3)) { in CompileKeyedLoadStub()
3513 CpuFeatures::Scope scope(VFP3); in CompileKeyedLoadStub()
3551 if (CpuFeatures::IsSupported(VFP3)) { in CompileKeyedLoadStub()
3552 CpuFeatures::Scope scope(VFP3); in CompileKeyedLoadStub()
3566 if (CpuFeatures::IsSupported(VFP3)) { in CompileKeyedLoadStub()
3567 CpuFeatures::Scope scope(VFP3); in CompileKeyedLoadStub()
[all …]
Dcode-stubs-arm.h82 use_vfp3_ = CpuFeatures::IsSupported(VFP3); in TypeRecordingBinaryOpStub()
/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()
1008 ASSERT(CpuFeatures::IsEnabled(CPUID)); in cpuid()
2255 ASSERT(CpuFeatures::IsEnabled(SSE3)); in fisttp_s()
2264 ASSERT(CpuFeatures::IsEnabled(SSE3)); in fisttp_d()
Dassembler-x64.h437 class CpuFeatures : public AllStatic {
475 ASSERT(CpuFeatures::IsSupported(f)); in Scope()
477 (CpuFeatures::found_by_runtime_probing_ & mask) == 0); in Scope()
513 DISALLOW_COPY_AND_ASSIGN(CpuFeatures);
/external/v8/src/mips/
Dcpu-mips.cc51 CpuFeatures* cpu_features = Isolate::Current()->cpu_features(); in Setup()
Dassembler-mips.h345 class CpuFeatures {
381 CpuFeatures* cpu_features_;
390 CpuFeatures();
398 DISALLOW_COPY_AND_ASSIGN(CpuFeatures);

12