/external/v8/src/ia32/ |
D | assembler-ia32.cc | 52 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 …]
|
D | cpu-ia32.cc | 45 CpuFeatures::Probe(); in Setup() 50 return CpuFeatures::IsSupported(SSE2); in SupportsCrankshaft()
|
D | assembler-ia32.h | 450 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);
|
D | code-stubs-ia32.cc | 747 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 …]
|
D | codegen-ia32.cc | 93 if (CpuFeatures::IsSupported(SSE2)) { in CreateMemCopyFunction() 94 CpuFeatures::Scope enable(SSE2); in CreateMemCopyFunction()
|
D | stub-cache-ia32.cc | 1924 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 …]
|
D | code-stubs-ia32.h | 83 use_sse3_ = CpuFeatures::IsSupported(SSE3); in TypeRecordingBinaryOpStub()
|
D | lithium-codegen-ia32.cc | 70 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/ |
D | test-assembler-ia32.cc | 171 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 …]
|
D | test-disasm-ia32.cc | 110 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 …]
|
D | test-assembler-arm.cc | 249 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 …]
|
D | test-disasm-arm.cc | 273 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()
|
D | test-assembler-mips.cc | 288 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/ |
D | assembler-arm.cc | 48 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 …]
|
D | cpu-arm.cc | 45 CpuFeatures::Probe(); in Setup() 50 return CpuFeatures::IsSupported(VFP3); in SupportsCrankshaft()
|
D | code-stubs-arm.cc | 501 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 …]
|
D | assembler-arm.h | 475 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);
|
D | macro-assembler-arm.cc | 298 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 …]
|
D | stub-cache-arm.cc | 956 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 …]
|
D | code-stubs-arm.h | 82 use_vfp3_ = CpuFeatures::IsSupported(VFP3); in TypeRecordingBinaryOpStub()
|
/external/v8/src/x64/ |
D | cpu-x64.cc | 45 CpuFeatures::Probe(); in Setup()
|
D | assembler-x64.cc | 43 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()
|
D | assembler-x64.h | 437 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/ |
D | cpu-mips.cc | 51 CpuFeatures* cpu_features = Isolate::Current()->cpu_features(); in Setup()
|
D | assembler-mips.h | 345 class CpuFeatures { 381 CpuFeatures* cpu_features_; 390 CpuFeatures(); 398 DISALLOW_COPY_AND_ASSIGN(CpuFeatures);
|