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

Side by Side Diff: src/mips64/assembler-mips64.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/mips/assembler-mips.h ('k') | src/ppc/assembler-ppc.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 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 #define DECLARE_REGISTER(R) const Register R = {Register::kCode_##R}; 149 #define DECLARE_REGISTER(R) const Register R = {Register::kCode_##R};
150 GENERAL_REGISTERS(DECLARE_REGISTER) 150 GENERAL_REGISTERS(DECLARE_REGISTER)
151 #undef DECLARE_REGISTER 151 #undef DECLARE_REGISTER
152 const Register no_reg = {Register::kCode_no_reg}; 152 const Register no_reg = {Register::kCode_no_reg};
153 153
154 154
155 int ToNumber(Register reg); 155 int ToNumber(Register reg);
156 156
157 Register ToRegister(int num); 157 Register ToRegister(int num);
158 158
159 static const bool kSimpleFPAliasing = true;
160
159 // Coprocessor register. 161 // Coprocessor register.
160 struct FPURegister { 162 struct FPURegister {
161 enum Code { 163 enum Code {
162 #define REGISTER_CODE(R) kCode_##R, 164 #define REGISTER_CODE(R) kCode_##R,
163 DOUBLE_REGISTERS(REGISTER_CODE) 165 DOUBLE_REGISTERS(REGISTER_CODE)
164 #undef REGISTER_CODE 166 #undef REGISTER_CODE
165 kAfterLast, 167 kAfterLast,
166 kCode_no_reg = -1 168 kCode_no_reg = -1
167 }; 169 };
168 170
(...skipping 1352 matching lines...) Expand 10 before | Expand all | Expand 10 after
1521 public: 1523 public:
1522 explicit EnsureSpace(Assembler* assembler) { 1524 explicit EnsureSpace(Assembler* assembler) {
1523 assembler->CheckBuffer(); 1525 assembler->CheckBuffer();
1524 } 1526 }
1525 }; 1527 };
1526 1528
1527 } // namespace internal 1529 } // namespace internal
1528 } // namespace v8 1530 } // namespace v8
1529 1531
1530 #endif // V8_ARM_ASSEMBLER_MIPS_H_ 1532 #endif // V8_ARM_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/assembler-mips.h ('k') | src/ppc/assembler-ppc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698