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

Side by Side Diff: src/compiler/x87/instruction-selector-x87.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 1687 matching lines...) Expand 10 before | Expand all | Expand 10 after
1698 MachineOperatorBuilder::kFloat64RoundDown | 1698 MachineOperatorBuilder::kFloat64RoundDown |
1699 MachineOperatorBuilder::kFloat32RoundUp | 1699 MachineOperatorBuilder::kFloat32RoundUp |
1700 MachineOperatorBuilder::kFloat64RoundUp | 1700 MachineOperatorBuilder::kFloat64RoundUp |
1701 MachineOperatorBuilder::kFloat32RoundTruncate | 1701 MachineOperatorBuilder::kFloat32RoundTruncate |
1702 MachineOperatorBuilder::kFloat64RoundTruncate | 1702 MachineOperatorBuilder::kFloat64RoundTruncate |
1703 MachineOperatorBuilder::kFloat32RoundTiesEven | 1703 MachineOperatorBuilder::kFloat32RoundTiesEven |
1704 MachineOperatorBuilder::kFloat64RoundTiesEven; 1704 MachineOperatorBuilder::kFloat64RoundTiesEven;
1705 return flags; 1705 return flags;
1706 } 1706 }
1707 1707
1708 // static
1709 MachineOperatorBuilder::AlignmentRequirements
1710 InstructionSelector::AlignmentRequirements() {
1711 return MachineOperatorBuilder::AlignmentRequirements::
1712 FullUnalignedAccessSupport();
1713 }
1714
1708 } // namespace compiler 1715 } // namespace compiler
1709 } // namespace internal 1716 } // namespace internal
1710 } // namespace v8 1717 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698