Index: src/ia32/assembler-ia32.cc |
diff --git a/src/ia32/assembler-ia32.cc b/src/ia32/assembler-ia32.cc |
index 58ccb1ce9545044df92c94e6de279127b2ed05f1..66c6d1b83e742afb52debb87a5b159cc9505a2d8 100644 |
--- a/src/ia32/assembler-ia32.cc |
+++ b/src/ia32/assembler-ia32.cc |
@@ -98,10 +98,7 @@ void CpuFeatures::Probe(bool serializer_enabled) { |
} |
CHECK(cpu.has_sse2()); // SSE2 support is mandatory. |
- |
- if (cpu.has_cmov()) { |
- probed_features |= static_cast<uint64_t>(1) << CMOV; |
- } |
+ CHECK(cpu.has_cmov()); // CMOV support is mandatory. |
// SAHF must be available in compat/legacy mode. |
ASSERT(cpu.has_sahf()); |
@@ -636,7 +633,6 @@ void Assembler::movzx_w(Register dst, const Operand& src) { |
void Assembler::cmov(Condition cc, Register dst, const Operand& src) { |
- ASSERT(IsEnabled(CMOV)); |
EnsureSpace ensure_space(this); |
// Opcode: 0f 40 + cc /r. |
EMIT(0x0F); |