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

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

Issue 11428137: ARM: Make use of d16-d31 when available. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix Vldm/Vstm; pass more tests Created 8 years 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/x64/assembler-x64.h
diff --git a/src/x64/assembler-x64.h b/src/x64/assembler-x64.h
index 24c8df368f477dede5e10b2fef1059ca9dcb3edd..cbf1c6acf1c97a0a82599f23dbabfb820e00246a 100644
--- a/src/x64/assembler-x64.h
+++ b/src/x64/assembler-x64.h
@@ -202,6 +202,8 @@ struct XMMRegister {
static const int kNumRegisters = 16;
static const int kNumAllocatableRegisters = 15;
+ static int NumAllocatableRegisters() { return kNumAllocatableRegisters; }
+
static int ToAllocationIndex(XMMRegister reg) {
ASSERT(reg.code() != 0);
return reg.code() - 1;

Powered by Google App Engine
This is Rietveld 408576698