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

Side by Side Diff: src/arm64/assembler-arm64-inl.h

Issue 2135573003: [Simd128] Add CpuFeatures::SupportsSimd128 method. (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-inl.h ('k') | src/assembler.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_INL_H_ 5 #ifndef V8_ARM64_ASSEMBLER_ARM64_INL_H_
6 #define V8_ARM64_ASSEMBLER_ARM64_INL_H_ 6 #define V8_ARM64_ASSEMBLER_ARM64_INL_H_
7 7
8 #include "src/arm64/assembler-arm64.h" 8 #include "src/arm64/assembler-arm64.h"
9 #include "src/assembler.h" 9 #include "src/assembler.h"
10 #include "src/debug/debug.h" 10 #include "src/debug/debug.h"
11 11
12 12
13 namespace v8 { 13 namespace v8 {
14 namespace internal { 14 namespace internal {
15 15
16 16
17 bool CpuFeatures::SupportsCrankshaft() { return true; } 17 bool CpuFeatures::SupportsCrankshaft() { return true; }
18 18
19 bool CpuFeatures::SupportsSimd128() { return false; }
19 20
20 void RelocInfo::apply(intptr_t delta) { 21 void RelocInfo::apply(intptr_t delta) {
21 // On arm64 only internal references need extra work. 22 // On arm64 only internal references need extra work.
22 DCHECK(RelocInfo::IsInternalReference(rmode_)); 23 DCHECK(RelocInfo::IsInternalReference(rmode_));
23 24
24 // Absolute code pointer inside code object moves with the code object. 25 // Absolute code pointer inside code object moves with the code object.
25 intptr_t* p = reinterpret_cast<intptr_t*>(pc_); 26 intptr_t* p = reinterpret_cast<intptr_t*>(pc_);
26 *p += delta; // Relocate entry. 27 *p += delta; // Relocate entry.
27 } 28 }
28 29
(...skipping 1208 matching lines...) Expand 10 before | Expand all | Expand 10 after
1237 1238
1238 void Assembler::ClearRecordedAstId() { 1239 void Assembler::ClearRecordedAstId() {
1239 recorded_ast_id_ = TypeFeedbackId::None(); 1240 recorded_ast_id_ = TypeFeedbackId::None();
1240 } 1241 }
1241 1242
1242 1243
1243 } // namespace internal 1244 } // namespace internal
1244 } // namespace v8 1245 } // namespace v8
1245 1246
1246 #endif // V8_ARM64_ASSEMBLER_ARM64_INL_H_ 1247 #endif // V8_ARM64_ASSEMBLER_ARM64_INL_H_
OLDNEW
« no previous file with comments | « src/arm/assembler-arm-inl.h ('k') | src/assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698