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

Side by Side Diff: src/compiler/mips/instruction-selector-mips.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: Fix nits. Fix compilation error on Windows compiler 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
« no previous file with comments | « src/compiler/machine-operator.cc ('k') | src/compiler/mips64/instruction-selector-mips64.cc » ('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 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/base/bits.h" 6 #include "src/base/bits.h"
7 #include "src/compiler/instruction-selector-impl.h" 7 #include "src/compiler/instruction-selector-impl.h"
8 #include "src/compiler/node-matchers.h" 8 #include "src/compiler/node-matchers.h"
9 #include "src/compiler/node-properties.h" 9 #include "src/compiler/node-properties.h"
10 10
(...skipping 1530 matching lines...) Expand 10 before | Expand all | Expand 10 after
1541 MachineOperatorBuilder::kFloat64Min | 1541 MachineOperatorBuilder::kFloat64Min |
1542 MachineOperatorBuilder::kFloat64Max | 1542 MachineOperatorBuilder::kFloat64Max |
1543 MachineOperatorBuilder::kFloat32Min | 1543 MachineOperatorBuilder::kFloat32Min |
1544 MachineOperatorBuilder::kFloat32Max | 1544 MachineOperatorBuilder::kFloat32Max |
1545 MachineOperatorBuilder::kFloat32RoundDown | 1545 MachineOperatorBuilder::kFloat32RoundDown |
1546 MachineOperatorBuilder::kFloat32RoundUp | 1546 MachineOperatorBuilder::kFloat32RoundUp |
1547 MachineOperatorBuilder::kFloat32RoundTruncate | 1547 MachineOperatorBuilder::kFloat32RoundTruncate |
1548 MachineOperatorBuilder::kFloat32RoundTiesEven; 1548 MachineOperatorBuilder::kFloat32RoundTiesEven;
1549 } 1549 }
1550 1550
1551 // static
1552 MachineOperatorBuilder::AlignmentRequirements
1553 InstructionSelector::AlignmentRequirements() {
1554 if (IsMipsArchVariant(kMips32r6)) {
1555 return MachineOperatorBuilder::AlignmentRequirements::
1556 FullUnalignedAccessSupport();
1557 } else {
1558 DCHECK(IsMipsArchVariant(kLoongson) || IsMipsArchVariant(kMips32r1) ||
1559 IsMipsArchVariant(kMips32r2));
1560 return MachineOperatorBuilder::AlignmentRequirements::
1561 NoUnalignedAccessSupport();
1562 }
1563 }
1564
1551 } // namespace compiler 1565 } // namespace compiler
1552 } // namespace internal 1566 } // namespace internal
1553 } // namespace v8 1567 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/machine-operator.cc ('k') | src/compiler/mips64/instruction-selector-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698