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

Side by Side Diff: src/compiler/mips/instruction-selector-mips.cc

Issue 2827143002: [WASM SIMD] Remove opcodes that are slow on some platforms. (Closed)
Patch Set: Remove stray tests. Created 3 years, 8 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 2029 matching lines...) Expand 10 before | Expand all | Expand 10 after
2040 } 2040 }
2041 2041
2042 void InstructionSelector::VisitF32x4Neg(Node* node) { 2042 void InstructionSelector::VisitF32x4Neg(Node* node) {
2043 VisitRR(this, kMipsF32x4Neg, node); 2043 VisitRR(this, kMipsF32x4Neg, node);
2044 } 2044 }
2045 2045
2046 void InstructionSelector::VisitF32x4RecipApprox(Node* node) { 2046 void InstructionSelector::VisitF32x4RecipApprox(Node* node) {
2047 VisitRR(this, kMipsF32x4RecipApprox, node); 2047 VisitRR(this, kMipsF32x4RecipApprox, node);
2048 } 2048 }
2049 2049
2050 void InstructionSelector::VisitF32x4RecipRefine(Node* node) {
2051 VisitRRR(this, kMipsF32x4RecipRefine, node);
2052 }
2053
2054 void InstructionSelector::VisitF32x4RecipSqrtApprox(Node* node) { 2050 void InstructionSelector::VisitF32x4RecipSqrtApprox(Node* node) {
2055 VisitRR(this, kMipsF32x4RecipSqrtApprox, node); 2051 VisitRR(this, kMipsF32x4RecipSqrtApprox, node);
2056 } 2052 }
2057 2053
2058 void InstructionSelector::VisitF32x4RecipSqrtRefine(Node* node) {
2059 VisitRRR(this, kMipsF32x4RecipSqrtRefine, node);
2060 }
2061
2062 void InstructionSelector::VisitF32x4Add(Node* node) { 2054 void InstructionSelector::VisitF32x4Add(Node* node) {
2063 VisitRRR(this, kMipsF32x4Add, node); 2055 VisitRRR(this, kMipsF32x4Add, node);
2064 } 2056 }
2065 2057
2066 void InstructionSelector::VisitF32x4Sub(Node* node) { 2058 void InstructionSelector::VisitF32x4Sub(Node* node) {
2067 VisitRRR(this, kMipsF32x4Sub, node); 2059 VisitRRR(this, kMipsF32x4Sub, node);
2068 } 2060 }
2069 2061
2070 void InstructionSelector::VisitF32x4Mul(Node* node) { 2062 void InstructionSelector::VisitF32x4Mul(Node* node) {
2071 VisitRRR(this, kMipsF32x4Mul, node); 2063 VisitRRR(this, kMipsF32x4Mul, node);
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
2138 DCHECK(IsMipsArchVariant(kLoongson) || IsMipsArchVariant(kMips32r1) || 2130 DCHECK(IsMipsArchVariant(kLoongson) || IsMipsArchVariant(kMips32r1) ||
2139 IsMipsArchVariant(kMips32r2)); 2131 IsMipsArchVariant(kMips32r2));
2140 return MachineOperatorBuilder::AlignmentRequirements:: 2132 return MachineOperatorBuilder::AlignmentRequirements::
2141 NoUnalignedAccessSupport(); 2133 NoUnalignedAccessSupport();
2142 } 2134 }
2143 } 2135 }
2144 2136
2145 } // namespace compiler 2137 } // namespace compiler
2146 } // namespace internal 2138 } // namespace internal
2147 } // namespace v8 2139 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/mips/instruction-codes-mips.h ('k') | src/compiler/mips64/code-generator-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698