From fa2ad975ed11faa018e39e493e12f3169d065dff Mon Sep 17 00:00:00 2001 From: "yangguo@chromium.org" Date: Thu, 12 Sep 2013 09:47:02 +0000 Subject: [PATCH] Unnecessay SSE2 check on x64 BUG= R=yangguo@chromium.org Review URL: https://codereview.chromium.org/23619033 Patch from Weiliang Lin . git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16674 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/x64/stub-cache-x64.cc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/x64/stub-cache-x64.cc b/src/x64/stub-cache-x64.cc index 9b8a04a..b6f6c5c 100644 --- a/src/x64/stub-cache-x64.cc +++ b/src/x64/stub-cache-x64.cc @@ -2245,13 +2245,6 @@ Handle CallStubCompiler::CompileMathFloorCall( // -- ... // -- rsp[(argc + 1) * 4] : receiver // ----------------------------------- - - if (!CpuFeatures::IsSupported(SSE2)) { - return Handle::null(); - } - - CpuFeatureScope use_sse2(masm(), SSE2); - const int argc = arguments().immediate(); // If the object is not a JSObject or we got an unexpected number of -- 2.7.4