Revision: 25066
Author: [email protected]
Date: Mon Nov 3 11:50:08 2014 UTC
Log: [turbofan] Enforce allocation of register for imull/mull.
[email protected]
Review URL: https://codereview.chromium.org/697073002
https://code.google.com/p/v8/source/detail?r=25066
Modified:
/branches/bleeding_edge/src/compiler/x64/instruction-selector-x64.cc
=======================================
--- /branches/bleeding_edge/src/compiler/x64/instruction-selector-x64.cc
Mon Nov 3 10:04:37 2014 UTC
+++ /branches/bleeding_edge/src/compiler/x64/instruction-selector-x64.cc
Mon Nov 3 11:50:08 2014 UTC
@@ -414,8 +414,10 @@
if (selector->IsLive(left) && !selector->IsLive(right)) {
std::swap(left, right);
}
+ // TODO(turbofan): We use UseUniqueRegister here to improve register
+ // allocation.
selector->Emit(opcode, g.DefineAsFixed(node, rdx), g.UseFixed(left, rax),
- g.UseUnique(right));
+ g.UseUniqueRegister(right));
}
--
--
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.