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

Side by Side Diff: src/mips/assembler-mips.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/ia32/assembler-ia32.h ('k') | src/mips64/assembler-mips64.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 1302 matching lines...) Expand 10 before | Expand all | Expand 10 after
1471 public: 1473 public:
1472 explicit EnsureSpace(Assembler* assembler) { 1474 explicit EnsureSpace(Assembler* assembler) {
1473 assembler->CheckBuffer(); 1475 assembler->CheckBuffer();
1474 } 1476 }
1475 }; 1477 };
1476 1478
1477 } // namespace internal 1479 } // namespace internal
1478 } // namespace v8 1480 } // namespace v8
1479 1481
1480 #endif // V8_ARM_ASSEMBLER_MIPS_H_ 1482 #endif // V8_ARM_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/ia32/assembler-ia32.h ('k') | src/mips64/assembler-mips64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698