Author: [email protected]
Date: Thu Feb 19 07:22:20 2009
New Revision: 1321

Modified:
    branches/experimental/toiger/src/codegen-ia32.cc

Log:
Experimental: tiny change to enable using the shorter byte-register test
against immediate instruction if possible.

Review URL: http://codereview.chromium.org/20495

Modified: branches/experimental/toiger/src/codegen-ia32.cc
==============================================================================
--- branches/experimental/toiger/src/codegen-ia32.cc    (original)
+++ branches/experimental/toiger/src/codegen-ia32.cc    Thu Feb 19 07:22:20  
2009
@@ -1030,7 +1030,7 @@
        frame_->Spill(operand.reg());
        __ add(Operand(operand.reg()), Immediate(value));
        deferred->enter()->Branch(overflow, &operand, not_taken);
-      __ test(Operand(operand.reg()), Immediate(kSmiTagMask));
+      __ test(operand.reg(), Immediate(kSmiTagMask));
        deferred->enter()->Branch(not_zero, &operand, not_taken);
        deferred->BindExit(&operand);
        frame_->Push(&operand);

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to