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

Side by Side Diff: src/compiler/mips64/instruction-selector-mips64.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
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 2039 matching lines...) Expand 10 before | Expand all | Expand 10 after
2050 MachineOperatorBuilder::kFloat64RoundDown | 2050 MachineOperatorBuilder::kFloat64RoundDown |
2051 MachineOperatorBuilder::kFloat32RoundDown | 2051 MachineOperatorBuilder::kFloat32RoundDown |
2052 MachineOperatorBuilder::kFloat64RoundUp | 2052 MachineOperatorBuilder::kFloat64RoundUp |
2053 MachineOperatorBuilder::kFloat32RoundUp | 2053 MachineOperatorBuilder::kFloat32RoundUp |
2054 MachineOperatorBuilder::kFloat64RoundTruncate | 2054 MachineOperatorBuilder::kFloat64RoundTruncate |
2055 MachineOperatorBuilder::kFloat32RoundTruncate | 2055 MachineOperatorBuilder::kFloat32RoundTruncate |
2056 MachineOperatorBuilder::kFloat64RoundTiesEven | 2056 MachineOperatorBuilder::kFloat64RoundTiesEven |
2057 MachineOperatorBuilder::kFloat32RoundTiesEven; 2057 MachineOperatorBuilder::kFloat32RoundTiesEven;
2058 } 2058 }
2059 2059
2060 // static
2061 MachineOperatorBuilder::AlignmentRequirements
2062 InstructionSelector::AlignmentRequirements() {
2063 if (kArchVariant == kMips64r6) {
2064 return MachineOperatorBuilder::AlignmentRequirements::
2065 FullUnalignedAccessSupport();
2066 } else {
2067 DCHECK(kArchVariant == kMips64r2);
2068 return MachineOperatorBuilder::AlignmentRequirements::
2069 NoUnalignedAccessSupport();
2070 }
2071 }
2072
2060 } // namespace compiler 2073 } // namespace compiler
2061 } // namespace internal 2074 } // namespace internal
2062 } // namespace v8 2075 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/mips/instruction-selector-mips.cc ('k') | src/compiler/ppc/instruction-selector-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698