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

Side by Side Diff: src/compiler/ia32/instruction-selector-ia32.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/base/adapters.h" 5 #include "src/base/adapters.h"
6 #include "src/compiler/instruction-selector-impl.h" 6 #include "src/compiler/instruction-selector-impl.h"
7 #include "src/compiler/node-matchers.h" 7 #include "src/compiler/node-matchers.h"
8 #include "src/compiler/node-properties.h" 8 #include "src/compiler/node-properties.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 1667 matching lines...) Expand 10 before | Expand all | Expand 10 after
1678 MachineOperatorBuilder::kFloat32RoundUp | 1678 MachineOperatorBuilder::kFloat32RoundUp |
1679 MachineOperatorBuilder::kFloat64RoundUp | 1679 MachineOperatorBuilder::kFloat64RoundUp |
1680 MachineOperatorBuilder::kFloat32RoundTruncate | 1680 MachineOperatorBuilder::kFloat32RoundTruncate |
1681 MachineOperatorBuilder::kFloat64RoundTruncate | 1681 MachineOperatorBuilder::kFloat64RoundTruncate |
1682 MachineOperatorBuilder::kFloat32RoundTiesEven | 1682 MachineOperatorBuilder::kFloat32RoundTiesEven |
1683 MachineOperatorBuilder::kFloat64RoundTiesEven; 1683 MachineOperatorBuilder::kFloat64RoundTiesEven;
1684 } 1684 }
1685 return flags; 1685 return flags;
1686 } 1686 }
1687 1687
1688 // static
1689 MachineOperatorBuilder::AlignmentRequirements
1690 InstructionSelector::AlignmentRequirements() {
1691 return MachineOperatorBuilder::AlignmentRequirements::
1692 FullUnalignedAccessSupport();
1693 }
1694
1688 } // namespace compiler 1695 } // namespace compiler
1689 } // namespace internal 1696 } // namespace internal
1690 } // namespace v8 1697 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698