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

Side by Side Diff: src/x64/assembler-x64.h

Issue 2023763010: [x64] Make xmm0 allocatable and use xmm15 as scratch register instead. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « src/ic/x64/ic-x64.cc ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 V(xmm10) \ 179 V(xmm10) \
180 V(xmm11) \ 180 V(xmm11) \
181 V(xmm12) \ 181 V(xmm12) \
182 V(xmm13) \ 182 V(xmm13) \
183 V(xmm14) \ 183 V(xmm14) \
184 V(xmm15) 184 V(xmm15)
185 185
186 #define FLOAT_REGISTERS DOUBLE_REGISTERS 186 #define FLOAT_REGISTERS DOUBLE_REGISTERS
187 187
188 #define ALLOCATABLE_DOUBLE_REGISTERS(V) \ 188 #define ALLOCATABLE_DOUBLE_REGISTERS(V) \
189 V(xmm0) \
189 V(xmm1) \ 190 V(xmm1) \
190 V(xmm2) \ 191 V(xmm2) \
191 V(xmm3) \ 192 V(xmm3) \
192 V(xmm4) \ 193 V(xmm4) \
193 V(xmm5) \ 194 V(xmm5) \
194 V(xmm6) \ 195 V(xmm6) \
195 V(xmm7) \ 196 V(xmm7) \
196 V(xmm8) \ 197 V(xmm8) \
197 V(xmm9) \ 198 V(xmm9) \
198 V(xmm10) \ 199 V(xmm10) \
199 V(xmm11) \ 200 V(xmm11) \
200 V(xmm12) \ 201 V(xmm12) \
201 V(xmm13) \ 202 V(xmm13) \
202 V(xmm14) \ 203 V(xmm14)
203 V(xmm15)
204 204
205 struct XMMRegister { 205 struct XMMRegister {
206 enum Code { 206 enum Code {
207 #define REGISTER_CODE(R) kCode_##R, 207 #define REGISTER_CODE(R) kCode_##R,
208 DOUBLE_REGISTERS(REGISTER_CODE) 208 DOUBLE_REGISTERS(REGISTER_CODE)
209 #undef REGISTER_CODE 209 #undef REGISTER_CODE
210 kAfterLast, 210 kAfterLast,
211 kCode_no_reg = -1 211 kCode_no_reg = -1
212 }; 212 };
213 213
(...skipping 2066 matching lines...) Expand 10 before | Expand all | Expand 10 after
2280 Assembler* assembler_; 2280 Assembler* assembler_;
2281 #ifdef DEBUG 2281 #ifdef DEBUG
2282 int space_before_; 2282 int space_before_;
2283 #endif 2283 #endif
2284 }; 2284 };
2285 2285
2286 } // namespace internal 2286 } // namespace internal
2287 } // namespace v8 2287 } // namespace v8
2288 2288
2289 #endif // V8_X64_ASSEMBLER_X64_H_ 2289 #endif // V8_X64_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/ic/x64/ic-x64.cc ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698