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

Unified Diff: src/compiler/x64/linkage-x64.cc

Issue 1191513003: [turbofan] Add CalleeSavedFPRegisters to CallDescriptor. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased on bleeding_edge (af4c4b04). 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/compiler/x64/linkage-x64.cc
diff --git a/src/compiler/x64/linkage-x64.cc b/src/compiler/x64/linkage-x64.cc
index 87e8ca57f028dd4019c263194605ad9f9daddad3..b272eb6f7668229a40b886bf292c3ad4320e0572 100644
--- a/src/compiler/x64/linkage-x64.cc
+++ b/src/compiler/x64/linkage-x64.cc
@@ -33,6 +33,16 @@ struct X64LinkageHelperTraits {
return rbx.bit() | r12.bit() | r13.bit() | r14.bit() | r15.bit();
}
}
+ static RegList CCalleeSaveFPRegisters() {
+ if (kWin64) {
+ return (1 << xmm6.code()) | (1 << xmm7.code()) | (1 << xmm8.code()) |
+ (1 << xmm9.code()) | (1 << xmm10.code()) | (1 << xmm11.code()) |
+ (1 << xmm12.code()) | (1 << xmm13.code()) | (1 << xmm14.code()) |
+ (1 << xmm15.code());
+ } else {
+ return 0;
+ }
+ }
static Register CRegisterParameter(int i) {
if (kWin64) {
static Register register_parameters[] = {rcx, rdx, r8, r9};

Powered by Google App Engine
This is Rietveld 408576698