| Index: test/cctest/test-disasm-ia32.cc
|
| diff --git a/test/cctest/test-disasm-ia32.cc b/test/cctest/test-disasm-ia32.cc
|
| index da0950543768f96436755e7ada8ef7ad980ea35c..f773a77e4c3e07f0b4486ec762a90de27ff05c58 100644
|
| --- a/test/cctest/test-disasm-ia32.cc
|
| +++ b/test/cctest/test-disasm-ia32.cc
|
| @@ -442,7 +442,8 @@ TEST(DisasmIa320) {
|
| }
|
|
|
| {
|
| - if (CpuFeatures::IsSupported(SSE4_1)) {
|
| + if (CpuFeatures::IsSupported(SSE2) &&
|
| + CpuFeatures::IsSupported(SSE4_1)) {
|
| CpuFeatures::Scope scope(SSE4_1);
|
| __ pextrd(eax, xmm0, 1);
|
| __ pinsrd(xmm1, eax, 0);
|
|
|