Revision: 20350
Author:   [email protected]
Date:     Mon Mar 31 12:07:41 2014 UTC
Log:      Use sarq on x64

BUG=
[email protected]

Review URL: https://codereview.chromium.org/219043003
http://code.google.com/p/v8/source/detail?r=20350

Modified:
 /branches/bleeding_edge/src/x64/lithium-codegen-x64.cc

=======================================
--- /branches/bleeding_edge/src/x64/lithium-codegen-x64.cc Mon Mar 31 11:59:29 2014 UTC +++ /branches/bleeding_edge/src/x64/lithium-codegen-x64.cc Mon Mar 31 12:07:41 2014 UTC
@@ -5608,10 +5608,10 @@

   Label out_of_object, done;
   __ Move(kScratchRegister, Smi::FromInt(1));
-  __ testq(index, kScratchRegister);
+  __ testp(index, kScratchRegister);
   __ j(not_zero, deferred->entry());

-  __ sar(index, Immediate(1));
+  __ sarp(index, Immediate(1));

   __ SmiToInteger32(index, index);
   __ cmpl(index, Immediate(0));

--
--
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