X87: Remove check for SAHF support in ia32

port r21422 (38edcd2)

Original commit message:
On ia32, SAHF is guaranteed. It's only necessary to probe for it on x64.

BUG=
R=danno@chromium.org

Review URL: https://codereview.chromium.org/301083002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21602 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 14e244a9
......@@ -50,9 +50,6 @@ namespace internal {
void CpuFeatures::ProbeImpl(bool cross_compile) {
CPU cpu;
// SAHF must be available in compat/legacy mode.
CHECK(cpu.has_sahf());
supported_ |= 1u << SAHF;
supported_ |= OS::CpuFeaturesImpliedByPlatform();
// Only use statically determined features for cross compile (snapshot).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment