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

Side by Side Diff: src/arm64/assembler-arm64.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/arm/assembler-arm.h ('k') | src/compiler/register-allocator.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_ARM64_ASSEMBLER_ARM64_H_ 5 #ifndef V8_ARM64_ASSEMBLER_ARM64_H_
6 #define V8_ARM64_ASSEMBLER_ARM64_H_ 6 #define V8_ARM64_ASSEMBLER_ARM64_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 // - "context" 189 // - "context"
190 190
191 static Register from_code(int code) { 191 static Register from_code(int code) {
192 // Always return an X register. 192 // Always return an X register.
193 return Register::Create(code, kXRegSizeInBits); 193 return Register::Create(code, kXRegSizeInBits);
194 } 194 }
195 195
196 // End of V8 compatibility section ----------------------- 196 // End of V8 compatibility section -----------------------
197 }; 197 };
198 198
199 static const bool kSimpleFPAliasing = true;
199 200
200 struct FPRegister : public CPURegister { 201 struct FPRegister : public CPURegister {
201 enum Code { 202 enum Code {
202 #define REGISTER_CODE(R) kCode_##R, 203 #define REGISTER_CODE(R) kCode_##R,
203 DOUBLE_REGISTERS(REGISTER_CODE) 204 DOUBLE_REGISTERS(REGISTER_CODE)
204 #undef REGISTER_CODE 205 #undef REGISTER_CODE
205 kAfterLast, 206 kAfterLast,
206 kCode_no_reg = -1 207 kCode_no_reg = -1
207 }; 208 };
208 209
(...skipping 2029 matching lines...) Expand 10 before | Expand all | Expand 10 after
2238 public: 2239 public:
2239 explicit EnsureSpace(Assembler* assembler) { 2240 explicit EnsureSpace(Assembler* assembler) {
2240 assembler->CheckBufferSpace(); 2241 assembler->CheckBufferSpace();
2241 } 2242 }
2242 }; 2243 };
2243 2244
2244 } // namespace internal 2245 } // namespace internal
2245 } // namespace v8 2246 } // namespace v8
2246 2247
2247 #endif // V8_ARM64_ASSEMBLER_ARM64_H_ 2248 #endif // V8_ARM64_ASSEMBLER_ARM64_H_
OLDNEW
« no previous file with comments | « src/arm/assembler-arm.h ('k') | src/compiler/register-allocator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698