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

Side by Side Diff: src/compiler/x64/instruction-selector-x64.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 <algorithm> 5 #include <algorithm>
6 6
7 #include "src/base/adapters.h" 7 #include "src/base/adapters.h"
8 #include "src/compiler/instruction-selector-impl.h" 8 #include "src/compiler/instruction-selector-impl.h"
9 #include "src/compiler/node-matchers.h" 9 #include "src/compiler/node-matchers.h"
10 #include "src/compiler/node-properties.h" 10 #include "src/compiler/node-properties.h"
(...skipping 2132 matching lines...) Expand 10 before | Expand all | Expand 10 after
2143 MachineOperatorBuilder::kFloat32RoundUp | 2143 MachineOperatorBuilder::kFloat32RoundUp |
2144 MachineOperatorBuilder::kFloat64RoundUp | 2144 MachineOperatorBuilder::kFloat64RoundUp |
2145 MachineOperatorBuilder::kFloat32RoundTruncate | 2145 MachineOperatorBuilder::kFloat32RoundTruncate |
2146 MachineOperatorBuilder::kFloat64RoundTruncate | 2146 MachineOperatorBuilder::kFloat64RoundTruncate |
2147 MachineOperatorBuilder::kFloat32RoundTiesEven | 2147 MachineOperatorBuilder::kFloat32RoundTiesEven |
2148 MachineOperatorBuilder::kFloat64RoundTiesEven; 2148 MachineOperatorBuilder::kFloat64RoundTiesEven;
2149 } 2149 }
2150 return flags; 2150 return flags;
2151 } 2151 }
2152 2152
2153 // static
2154 MachineOperatorBuilder::AlignmentRequirements
2155 InstructionSelector::AlignmentRequirements() {
2156 return MachineOperatorBuilder::AlignmentRequirements::
2157 FullUnalignedAccessSupport();
2158 }
2159
2153 } // namespace compiler 2160 } // namespace compiler
2154 } // namespace internal 2161 } // namespace internal
2155 } // namespace v8 2162 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698