Index: test/cctest/test-assembler-ia32.cc |
diff --git a/test/cctest/test-assembler-ia32.cc b/test/cctest/test-assembler-ia32.cc |
index 4d2251ae1aed267a86b3ab0cbc5c0eee4181de4c..fe6e0e95d19ea3b5cc0cd57407ae10753ead67d1 100644 |
--- a/test/cctest/test-assembler-ia32.cc |
+++ b/test/cctest/test-assembler-ia32.cc |
@@ -566,7 +566,8 @@ TEST(StackAlignmentForSSE2) { |
TEST(AssemblerIa32Extractps) { |
CcTest::InitializeVM(); |
- if (!CpuFeatures::IsSupported(SSE4_1)) return; |
+ if (!CpuFeatures::IsSupported(SSE2) || |
+ !CpuFeatures::IsSupported(SSE4_1)) return; |
Isolate* isolate = reinterpret_cast<Isolate*>(CcTest::isolate()); |
HandleScope scope(isolate); |