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

12

/external/v8/src/ia32/
H A Dcpu-ia32.cc45 CpuFeatures::Probe();
50 return CpuFeatures::IsSupported(SSE2);
H A Dassembler-ia32.cc49 // Implementation of CpuFeatures
52 bool CpuFeatures::initialized_ = false;
54 uint64_t CpuFeatures::supported_ = 0;
55 uint64_t CpuFeatures::found_by_runtime_probing_ = 0;
60 void CpuFeatures::Probe() {
409 if (!CpuFeatures::IsSupported(SSE2)) {
486 ASSERT(CpuFeatures::IsEnabled(CPUID));
708 ASSERT(CpuFeatures::IsEnabled(CMOV));
1298 ASSERT(CpuFeatures::IsEnabled(RDTSC));
1652 ASSERT(CpuFeatures
[all...]
H A Dcodegen-ia32.cc113 if (buffer == NULL || !CpuFeatures::IsSupported(SSE2)) return &sqrt;
119 CpuFeatures::Scope use_sse2(SSE2);
178 if (CpuFeatures::IsSupported(SSE2)) {
179 CpuFeatures::Scope enable(SSE2);
427 if (CpuFeatures::IsSupported(SSE2)) {
428 CpuFeatures::Scope use_sse2(SSE2);
452 if (CpuFeatures::IsSupported(SSE2)) {
453 CpuFeatures::Scope fscope(SSE2);
473 if (CpuFeatures::IsSupported(SSE2)) {
474 CpuFeatures
[all...]
H A Dassembler-ia32.h444 // CpuFeatures keeps track of which features are supported by the target CPU.
447 // if (CpuFeatures::IsSupported(SSE2)) {
448 // CpuFeatures::Scope fscope(SSE2);
453 class CpuFeatures : public AllStatic {
492 ASSERT(CpuFeatures::IsSupported(f));
494 (CpuFeatures::found_by_runtime_probing_ & mask) == 0);
522 : old_supported_(CpuFeatures::supported_) {
524 CpuFeatures::supported_ |= (static_cast<uint64_t>(1) << f);
530 CpuFeatures::supported_ = old_supported_;
552 DISALLOW_COPY_AND_ASSIGN(CpuFeatures);
[all...]
H A Dstub-cache-ia32.cc1915 if (!CpuFeatures::IsSupported(SSE2)) {
1919 CpuFeatures::Scope use_sse2(SSE2);
3207 if (CpuFeatures::IsSupported(CMOV)) {
3208 CpuFeatures::Scope use_cmov(CMOV);
3582 if (CpuFeatures::IsSupported(SSE2)) {
3585 ASSERT(CpuFeatures::IsSupported(SSE2));
3586 CpuFeatures::Scope scope(SSE2);
3607 if (CpuFeatures::IsSupported(SSE3)) {
3608 CpuFeatures::Scope scope(SSE3);
3620 ASSERT(CpuFeatures
[all...]
H A Dcode-stubs-ia32.cc525 CpuFeatures::Scope scope(SSE2);
542 CpuFeatures::Scope scope(SSE2);
684 CpuFeatures::Scope scope(SSE3);
1012 IntegerConvert(masm, eax, CpuFeatures::IsSupported(SSE3), slow);
1046 IntegerConvert(masm, edx, CpuFeatures::IsSupported(SSE3), slow);
1051 if (CpuFeatures::IsSupported(SSE2)) {
1052 CpuFeatures::Scope use_sse2(SSE2);
1490 if (CpuFeatures::IsSupported(SSE2)) {
1491 CpuFeatures::Scope use_sse2(SSE2);
1534 if (CpuFeatures
[all...]
/external/v8/src/x64/
H A Dcpu-x64.cc45 CpuFeatures::Probe();
/external/v8/src/arm/
H A Dcpu-arm.cc45 CpuFeatures::Probe();
50 return CpuFeatures::IsSupported(VFP3);
H A Dassembler-arm.cc48 bool CpuFeatures::initialized_ = false;
50 unsigned CpuFeatures::supported_ = 0;
51 unsigned CpuFeatures::found_by_runtime_probing_ = 0;
82 void CpuFeatures::Probe() {
739 if (CpuFeatures::IsSupported(ARMv7)) {
803 !CpuFeatures::IsSupported(ARMv7)) {
846 !CpuFeatures::IsSupported(ARMv7)) {
1275 ASSERT(CpuFeatures::IsSupported(ARMv7));
1303 ASSERT(CpuFeatures::IsSupported(ARMv7));
1323 ASSERT(CpuFeatures
[all...]
H A Dassembler-arm.h501 // CpuFeatures keeps track of which features are supported by the target CPU.
503 class CpuFeatures : public AllStatic { class in namespace:v8::internal
538 ASSERT(CpuFeatures::IsSupported(f));
540 (CpuFeatures::found_by_runtime_probing_ & mask) == 0);
568 : old_supported_(CpuFeatures::supported_) {
570 CpuFeatures::supported_ |= (1u << f);
576 CpuFeatures::supported_ = old_supported_;
598 DISALLOW_COPY_AND_ASSIGN(CpuFeatures);
H A Dmacro-assembler-arm.cc268 ASSERT(CpuFeatures::IsSupported(VFP3));
269 CpuFeatures::Scope scope(VFP3);
285 CpuFeatures::IsSupported(ARMv7) &&
299 if (!CpuFeatures::IsSupported(ARMv7)) {
314 if (!CpuFeatures::IsSupported(ARMv7)) {
342 if (!CpuFeatures::IsSupported(ARMv7)) {
356 if (!CpuFeatures::IsSupported(ARMv7)) {
367 if (!CpuFeatures::IsSupported(ARMv7)) {
675 if (CpuFeatures::IsSupported(ARMv7)) {
676 CpuFeatures
[all...]
H A Dcode-stubs-arm.cc522 if (CpuFeatures::IsSupported(VFP3)) {
523 CpuFeatures::Scope scope(VFP3);
592 if (CpuFeatures::IsSupported(VFP3) &&
594 CpuFeatures::Scope scope(VFP3);
607 if (CpuFeatures::IsSupported(VFP3)) {
608 CpuFeatures::Scope scope(VFP3);
685 if (CpuFeatures::IsSupported(VFP3)) {
686 CpuFeatures::Scope scope(VFP3);
779 if (CpuFeatures::IsSupported(VFP3)) {
780 CpuFeatures
[all...]
H A Dcodegen-arm.cc110 bool vfp3_supported = CpuFeatures::IsSupported(VFP3);
195 CpuFeatures::Scope scope(VFP3);
H A Dstub-cache-arm.cc936 if (CpuFeatures::IsSupported(VFP3)) {
937 CpuFeatures::Scope scope(VFP3);
2024 if (!CpuFeatures::IsSupported(VFP3)) {
2028 CpuFeatures::Scope scope_vfp3(VFP3);
3435 if (CpuFeatures::IsSupported(VFP3)) {
3436 CpuFeatures::Scope scope(VFP3);
3444 if (CpuFeatures::IsSupported(VFP3)) {
3445 CpuFeatures::Scope scope(VFP3);
3493 if (CpuFeatures::IsSupported(VFP3)) {
3494 CpuFeatures
[all...]
/external/v8/src/mips/
H A Dcpu-mips.cc51 CpuFeatures::Probe();
56 return CpuFeatures::IsSupported(FPU);
H A Dassembler-mips.h405 // CpuFeatures keeps track of which features are supported by the target CPU.
407 class CpuFeatures : public AllStatic { class in namespace:v8::internal
443 ASSERT(CpuFeatures::IsSupported(f));
445 (CpuFeatures::found_by_runtime_probing_ & mask) == 0);
473 : old_supported_(CpuFeatures::supported_) {
475 CpuFeatures::supported_ |= (1u << f);
481 CpuFeatures::supported_ = old_supported_;
503 DISALLOW_COPY_AND_ASSIGN(CpuFeatures);
H A Dcode-stubs-mips.cc522 if (CpuFeatures::IsSupported(FPU)) {
523 CpuFeatures::Scope scope(FPU);
592 if (CpuFeatures::IsSupported(FPU) &&
594 CpuFeatures::Scope scope(FPU);
612 if (CpuFeatures::IsSupported(FPU)) {
613 CpuFeatures::Scope scope(FPU);
690 if (CpuFeatures::IsSupported(FPU)) {
691 CpuFeatures::Scope scope(FPU);
792 if (CpuFeatures::IsSupported(FPU)) {
793 CpuFeatures
[all...]
H A Dassembler-mips.cc47 bool CpuFeatures::initialized_ = false;
49 unsigned CpuFeatures::supported_ = 0;
50 unsigned CpuFeatures::found_by_runtime_probing_ = 0;
76 void CpuFeatures::Probe() {
886 ASSERT(CpuFeatures::IsEnabled(FPU));
900 ASSERT(CpuFeatures::IsEnabled(FPU));
913 ASSERT(CpuFeatures::IsEnabled(FPU));
948 ASSERT(CpuFeatures::IsEnabled(FPU));
1862 ASSERT(CpuFeatures::IsEnabled(FPU));
1873 ASSERT(CpuFeatures
[all...]
H A Dstub-cache-mips.cc929 if (CpuFeatures::IsSupported(FPU)) {
930 CpuFeatures::Scope scope(FPU);
2024 if (!CpuFeatures::IsSupported(FPU)) {
2028 CpuFeatures::Scope scope_fpu(FPU);
3440 if (CpuFeatures::IsSupported(FPU)) {
3441 CpuFeatures::Scope scope(FPU);
3450 if (CpuFeatures::IsSupported(FPU)) {
3451 CpuFeatures::Scope scope(FPU);
3496 if (CpuFeatures::IsSupported(FPU)) {
3497 CpuFeatures
[all...]
/external/v8/test/cctest/
H A Dtest-assembler-ia32.cc171 if (!CpuFeatures::IsSupported(SSE2)) return;
178 CHECK(CpuFeatures::IsSupported(SSE2));
179 { CpuFeatures::Scope fscope(SSE2);
206 if (!CpuFeatures::IsSupported(SSE2)) return;
213 CHECK(CpuFeatures::IsSupported(SSE2));
214 CpuFeatures::Scope fscope(SSE2);
263 if (!CpuFeatures::IsSupported(SSE2)) return;
266 CHECK(CpuFeatures::IsSupported(SSE2));
267 CpuFeatures::Scope fscope(SSE2);
309 if (!CpuFeatures
[all...]
H A Dtest-disasm-x64.cc102 CHECK(CpuFeatures::IsSupported(CPUID));
103 CpuFeatures::Scope fscope(CPUID);
107 CHECK(CpuFeatures::IsSupported(RDTSC));
108 CpuFeatures::Scope fscope(RDTSC);
351 if (CpuFeatures::IsSupported(SSE2)) {
352 CpuFeatures::Scope fscope(SSE2);
374 if (CpuFeatures::IsSupported(CMOV)) {
375 CpuFeatures::Scope use_cmov(CMOV);
397 if (CpuFeatures::IsSupported(SSE2)) {
398 CpuFeatures
[all...]
H A Dtest-disasm-ia32.cc110 CHECK(CpuFeatures::IsSupported(CPUID));
111 CpuFeatures::Scope fscope(CPUID);
115 CHECK(CpuFeatures::IsSupported(RDTSC));
116 CpuFeatures::Scope fscope(RDTSC);
371 if (CpuFeatures::IsSupported(SSE2)) {
372 CpuFeatures::Scope fscope(SSE2);
393 if (CpuFeatures::IsSupported(CMOV)) {
394 CpuFeatures::Scope use_cmov(CMOV);
416 if (CpuFeatures::IsSupported(SSE2)) {
417 CpuFeatures
[all...]
H A 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)) {
443 CpuFeatures::Scope scope(VFP3);
645 if (CpuFeatures::IsSupported(VFP3)) {
646 CpuFeatures
[all...]
H A Dtest-disasm-arm.cc273 if (CpuFeatures::IsSupported(ARMv7)) {
363 if (CpuFeatures::IsSupported(ARMv7)) {
418 if (CpuFeatures::IsSupported(VFP3)) {
419 CpuFeatures::Scope scope(VFP3);
713 if (CpuFeatures::IsSupported(ARMv7)) {
714 CpuFeatures::Scope scope(ARMv7);
H A Dtest-assembler-mips.cc287 if (CpuFeatures::IsSupported(FPU)) {
288 CpuFeatures::Scope scope(FPU);
360 if (CpuFeatures::IsSupported(FPU)) {
361 CpuFeatures::Scope scope(FPU);
421 if (CpuFeatures::IsSupported(FPU)) {
422 CpuFeatures::Scope scope(FPU);
569 if (CpuFeatures::IsSupported(FPU)) {
570 CpuFeatures::Scope scope(FPU);
782 if (CpuFeatures::IsSupported(FPU) && kArchVariant == kMips32r2) {
783 CpuFeatures
[all...]

Completed in 442 milliseconds

12