summaryrefslogtreecommitdiff
path: root/base/cpu_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/cpu_unittest.cc')
-rw-r--r--base/cpu_unittest.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/base/cpu_unittest.cc b/base/cpu_unittest.cc
index 9cabfd6998..ec14620f98 100644
--- a/base/cpu_unittest.cc
+++ b/base/cpu_unittest.cc
@@ -57,11 +57,6 @@ TEST(CPU, RunExtendedInstructions) {
__asm__ __volatile__("crc32 %%eax, %%eax\n" : : : "eax");
}
- if (cpu.has_popcnt()) {
- // Execute a POPCNT instruction.
- __asm__ __volatile__("popcnt %%eax, %%eax\n" : : : "eax");
- }
-
if (cpu.has_avx()) {
// Execute an AVX instruction.
__asm__ __volatile__("vzeroupper\n" : : : "xmm0");
@@ -105,11 +100,6 @@ TEST(CPU, RunExtendedInstructions) {
__asm crc32 eax, eax;
}
- if (cpu.has_popcnt()) {
- // Execute a POPCNT instruction.
- __asm popcnt eax, eax;
- }
-
// Visual C 2012 required for AVX.
#if _MSC_VER >= 1700
if (cpu.has_avx()) {