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

Side by Side Diff: src/compiler/arm64/instruction-selector-arm64.cc

Issue 1928513002: Implement UnalignedLoad and UnalignedStore in WASM using LoadByte/Shift/Or and StoreByte/Shift/And. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address code review remarks. Add missing InstructionSelector::AlignmentRequirements for all archite… Created 4 years, 7 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
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #include "src/compiler/instruction-selector-impl.h" 5 #include "src/compiler/instruction-selector-impl.h"
6 #include "src/compiler/node-matchers.h" 6 #include "src/compiler/node-matchers.h"
7 #include "src/compiler/node-properties.h" 7 #include "src/compiler/node-properties.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 2336 matching lines...) Expand 10 before | Expand all | Expand 10 after
2347 MachineOperatorBuilder::kFloat64RoundTiesAway | 2347 MachineOperatorBuilder::kFloat64RoundTiesAway |
2348 MachineOperatorBuilder::kFloat32RoundTiesEven | 2348 MachineOperatorBuilder::kFloat32RoundTiesEven |
2349 MachineOperatorBuilder::kFloat64RoundTiesEven | 2349 MachineOperatorBuilder::kFloat64RoundTiesEven |
2350 MachineOperatorBuilder::kWord32ShiftIsSafe | 2350 MachineOperatorBuilder::kWord32ShiftIsSafe |
2351 MachineOperatorBuilder::kInt32DivIsSafe | 2351 MachineOperatorBuilder::kInt32DivIsSafe |
2352 MachineOperatorBuilder::kUint32DivIsSafe | 2352 MachineOperatorBuilder::kUint32DivIsSafe |
2353 MachineOperatorBuilder::kWord32ReverseBits | 2353 MachineOperatorBuilder::kWord32ReverseBits |
2354 MachineOperatorBuilder::kWord64ReverseBits; 2354 MachineOperatorBuilder::kWord64ReverseBits;
2355 } 2355 }
2356 2356
2357 // static
2358 MachineOperatorBuilder::AlignmentRequirements
2359 InstructionSelector::AlignmentRequirements() {
2360 return MachineOperatorBuilder::AlignmentRequirements::
2361 FullUnalignedAccessSupport();
2362 }
2363
2357 } // namespace compiler 2364 } // namespace compiler
2358 } // namespace internal 2365 } // namespace internal
2359 } // namespace v8 2366 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698