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

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

Issue 2101473002: [Turbofan] Allow compiler to elide complex aliasing code. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. Created 4 years, 5 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/mips64/assembler-mips64.h ('k') | src/register-configuration.h » ('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 5 // modification, are permitted provided that the following conditions
6 // are met: 6 // are 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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 GENERAL_REGISTERS(DECLARE_REGISTER) 200 GENERAL_REGISTERS(DECLARE_REGISTER)
201 #undef DECLARE_REGISTER 201 #undef DECLARE_REGISTER
202 const Register no_reg = {Register::kCode_no_reg}; 202 const Register no_reg = {Register::kCode_no_reg};
203 203
204 // Aliases 204 // Aliases
205 const Register kLithiumScratch = r11; // lithium scratch. 205 const Register kLithiumScratch = r11; // lithium scratch.
206 const Register kConstantPoolRegister = r28; // Constant pool. 206 const Register kConstantPoolRegister = r28; // Constant pool.
207 const Register kRootRegister = r29; // Roots array pointer. 207 const Register kRootRegister = r29; // Roots array pointer.
208 const Register cp = r30; // JavaScript context pointer. 208 const Register cp = r30; // JavaScript context pointer.
209 209
210 static const bool kSimpleFPAliasing = true;
211
210 // Double word FP register. 212 // Double word FP register.
211 struct DoubleRegister { 213 struct DoubleRegister {
212 enum Code { 214 enum Code {
213 #define REGISTER_CODE(R) kCode_##R, 215 #define REGISTER_CODE(R) kCode_##R,
214 DOUBLE_REGISTERS(REGISTER_CODE) 216 DOUBLE_REGISTERS(REGISTER_CODE)
215 #undef REGISTER_CODE 217 #undef REGISTER_CODE
216 kAfterLast, 218 kAfterLast,
217 kCode_no_reg = -1 219 kCode_no_reg = -1
218 }; 220 };
219 221
(...skipping 1261 matching lines...) Expand 10 before | Expand all | Expand 10 after
1481 1483
1482 1484
1483 class EnsureSpace BASE_EMBEDDED { 1485 class EnsureSpace BASE_EMBEDDED {
1484 public: 1486 public:
1485 explicit EnsureSpace(Assembler* assembler) { assembler->CheckBuffer(); } 1487 explicit EnsureSpace(Assembler* assembler) { assembler->CheckBuffer(); }
1486 }; 1488 };
1487 } // namespace internal 1489 } // namespace internal
1488 } // namespace v8 1490 } // namespace v8
1489 1491
1490 #endif // V8_PPC_ASSEMBLER_PPC_H_ 1492 #endif // V8_PPC_ASSEMBLER_PPC_H_
OLDNEW
« no previous file with comments | « src/mips64/assembler-mips64.h ('k') | src/register-configuration.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698