Reviewers: danno,

Description:
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=

Please review this at https://codereview.chromium.org/301083002/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+0, -3 lines):
  M src/x87/assembler-x87.cc


Index: src/x87/assembler-x87.cc
diff --git a/src/x87/assembler-x87.cc b/src/x87/assembler-x87.cc
index d40e8c5356d7db60ed29382c9b084cb0704d7c1d..94434d9ef8d134fb6cd02ca30b90b2e1f8cdded4 100644
--- a/src/x87/assembler-x87.cc
+++ b/src/x87/assembler-x87.cc
@@ -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).


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to