Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(756)

Unified Diff: src/x87/assembler-x87.h

Issue 1164813007: Config double register number as 1 for X87 Turbofan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/x87/assembler-x87.h
diff --git a/src/x87/assembler-x87.h b/src/x87/assembler-x87.h
index ededc2aadc53d2fa00cab4fccad672db2647dfcf..5e067c6c121008f7fde45d508a37d84b52b148eb 100644
--- a/src/x87/assembler-x87.h
+++ b/src/x87/assembler-x87.h
@@ -151,12 +151,18 @@ struct X87Register {
return kMaxNumAllocatableRegisters;
}
-
// TODO(turbofan): Proper support for float32.
static int NumAllocatableAliasedRegisters() {
return NumAllocatableRegisters();
}
+ static int NumAllocatableRegistersForTurbo() {
+ return 1;
+ }
+
+ static int NumAllocatableAliasedRegistersForTurbo() {
+ return NumAllocatableRegistersForTurbo();
+ }
static int ToAllocationIndex(X87Register reg) {
return reg.code_;
« src/compiler/register-configuration.cc ('K') | « src/compiler/register-configuration.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698