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

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

Issue 2719953002: Add Int32x4 Wasm Simd Binops, compare ops, select (Closed)
Patch Set: Rebase Created 3 years, 9 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/compiler/instruction-selector.h" 5 #include "src/compiler/instruction-selector.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "src/base/adapters.h" 9 #include "src/base/adapters.h"
10 #include "src/compiler/compiler-source-position-table.h" 10 #include "src/compiler/compiler-source-position-table.h"
(...skipping 2035 matching lines...) Expand 10 before | Expand all | Expand 10 after
2046 void InstructionSelector::VisitInt32x4ReplaceLane(Node* node) { 2046 void InstructionSelector::VisitInt32x4ReplaceLane(Node* node) {
2047 UNIMPLEMENTED(); 2047 UNIMPLEMENTED();
2048 } 2048 }
2049 2049
2050 void InstructionSelector::VisitInt32x4Add(Node* node) { UNIMPLEMENTED(); } 2050 void InstructionSelector::VisitInt32x4Add(Node* node) { UNIMPLEMENTED(); }
2051 2051
2052 void InstructionSelector::VisitInt32x4Sub(Node* node) { UNIMPLEMENTED(); } 2052 void InstructionSelector::VisitInt32x4Sub(Node* node) { UNIMPLEMENTED(); }
2053 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_IA32 2053 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_IA32
2054 2054
2055 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM 2055 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM
2056 void InstructionSelector::VisitInt32x4Equal(Node* node) { UNIMPLEMENTED(); }
2057
2058 void InstructionSelector::VisitInt32x4NotEqual(Node* node) { UNIMPLEMENTED(); }
2059
2060 void InstructionSelector::VisitInt32x4Mul(Node* node) { UNIMPLEMENTED(); } 2056 void InstructionSelector::VisitInt32x4Mul(Node* node) { UNIMPLEMENTED(); }
2061 2057
2062 void InstructionSelector::VisitInt32x4Max(Node* node) { UNIMPLEMENTED(); } 2058 void InstructionSelector::VisitInt32x4Max(Node* node) { UNIMPLEMENTED(); }
2063 2059
2064 void InstructionSelector::VisitInt32x4Min(Node* node) { UNIMPLEMENTED(); } 2060 void InstructionSelector::VisitInt32x4Min(Node* node) { UNIMPLEMENTED(); }
2065 2061
2066 void InstructionSelector::VisitUint32x4Max(Node* node) { UNIMPLEMENTED(); } 2062 void InstructionSelector::VisitInt32x4Equal(Node* node) { UNIMPLEMENTED(); }
2067 2063
2068 void InstructionSelector::VisitUint32x4Min(Node* node) { UNIMPLEMENTED(); } 2064 void InstructionSelector::VisitInt32x4NotEqual(Node* node) { UNIMPLEMENTED(); }
2069 2065
2070 void InstructionSelector::VisitInt32x4ShiftLeftByScalar(Node* node) { 2066 void InstructionSelector::VisitInt32x4ShiftLeftByScalar(Node* node) {
2071 UNIMPLEMENTED(); 2067 UNIMPLEMENTED();
2072 } 2068 }
2073 2069
2074 void InstructionSelector::VisitInt32x4ShiftRightByScalar(Node* node) { 2070 void InstructionSelector::VisitInt32x4ShiftRightByScalar(Node* node) {
2075 UNIMPLEMENTED(); 2071 UNIMPLEMENTED();
2076 } 2072 }
2077 2073
2078 void InstructionSelector::VisitUint32x4ShiftRightByScalar(Node* node) { 2074 void InstructionSelector::VisitUint32x4ShiftRightByScalar(Node* node) {
2079 UNIMPLEMENTED(); 2075 UNIMPLEMENTED();
2080 } 2076 }
2081 2077
2082 void InstructionSelector::VisitSimd32x4Select(Node* node) { UNIMPLEMENTED(); } 2078 void InstructionSelector::VisitUint32x4Max(Node* node) { UNIMPLEMENTED(); }
2079
2080 void InstructionSelector::VisitUint32x4Min(Node* node) { UNIMPLEMENTED(); }
2083 2081
2084 void InstructionSelector::VisitSimd128Zero(Node* node) { UNIMPLEMENTED(); } 2082 void InstructionSelector::VisitSimd128Zero(Node* node) { UNIMPLEMENTED(); }
2085 2083
2086 void InstructionSelector::VisitSimd1x4Zero(Node* node) { UNIMPLEMENTED(); } 2084 void InstructionSelector::VisitSimd1x4Zero(Node* node) { UNIMPLEMENTED(); }
2087 2085
2088 void InstructionSelector::VisitSimd1x8Zero(Node* node) { UNIMPLEMENTED(); } 2086 void InstructionSelector::VisitSimd1x8Zero(Node* node) { UNIMPLEMENTED(); }
2089 2087
2090 void InstructionSelector::VisitSimd1x16Zero(Node* node) { UNIMPLEMENTED(); } 2088 void InstructionSelector::VisitSimd1x16Zero(Node* node) { UNIMPLEMENTED(); }
2091 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM 2089 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM
2092 2090
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
2162 } 2160 }
2163 2161
2164 void InstructionSelector::VisitInt32x4Neg(Node* node) { UNIMPLEMENTED(); } 2162 void InstructionSelector::VisitInt32x4Neg(Node* node) { UNIMPLEMENTED(); }
2165 2163
2166 void InstructionSelector::VisitInt32x4LessThan(Node* node) { UNIMPLEMENTED(); } 2164 void InstructionSelector::VisitInt32x4LessThan(Node* node) { UNIMPLEMENTED(); }
2167 2165
2168 void InstructionSelector::VisitInt32x4LessThanOrEqual(Node* node) { 2166 void InstructionSelector::VisitInt32x4LessThanOrEqual(Node* node) {
2169 UNIMPLEMENTED(); 2167 UNIMPLEMENTED();
2170 } 2168 }
2171 2169
2172 void InstructionSelector::VisitInt32x4GreaterThan(Node* node) {
2173 UNIMPLEMENTED();
2174 }
2175
2176 void InstructionSelector::VisitInt32x4GreaterThanOrEqual(Node* node) {
2177 UNIMPLEMENTED();
2178 }
2179
2180 void InstructionSelector::VisitUint32x4GreaterThan(Node* node) {
2181 UNIMPLEMENTED();
2182 }
2183
2184 void InstructionSelector::VisitUint32x4LessThan(Node* node) { UNIMPLEMENTED(); } 2170 void InstructionSelector::VisitUint32x4LessThan(Node* node) { UNIMPLEMENTED(); }
2185 2171
2186 void InstructionSelector::VisitUint32x4LessThanOrEqual(Node* node) { 2172 void InstructionSelector::VisitUint32x4LessThanOrEqual(Node* node) {
2187 UNIMPLEMENTED(); 2173 UNIMPLEMENTED();
2188 } 2174 }
2189 2175
2190 void InstructionSelector::VisitInt16x8Splat(Node* node) { UNIMPLEMENTED(); } 2176 void InstructionSelector::VisitInt16x8Splat(Node* node) { UNIMPLEMENTED(); }
2191 2177
2192 void InstructionSelector::VisitInt16x8ExtractLane(Node* node) { 2178 void InstructionSelector::VisitInt16x8ExtractLane(Node* node) {
2193 UNIMPLEMENTED(); 2179 UNIMPLEMENTED();
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
2327 UNIMPLEMENTED(); 2313 UNIMPLEMENTED();
2328 } 2314 }
2329 2315
2330 void InstructionSelector::VisitSimd128And(Node* node) { UNIMPLEMENTED(); } 2316 void InstructionSelector::VisitSimd128And(Node* node) { UNIMPLEMENTED(); }
2331 2317
2332 void InstructionSelector::VisitSimd128Or(Node* node) { UNIMPLEMENTED(); } 2318 void InstructionSelector::VisitSimd128Or(Node* node) { UNIMPLEMENTED(); }
2333 2319
2334 void InstructionSelector::VisitSimd128Xor(Node* node) { UNIMPLEMENTED(); } 2320 void InstructionSelector::VisitSimd128Xor(Node* node) { UNIMPLEMENTED(); }
2335 2321
2336 void InstructionSelector::VisitSimd128Not(Node* node) { UNIMPLEMENTED(); } 2322 void InstructionSelector::VisitSimd128Not(Node* node) { UNIMPLEMENTED(); }
2323 #endif // !V8_TARGET_ARCH_X64
2337 2324
2325 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM
2326 void InstructionSelector::VisitSimd32x4Select(Node* node) { UNIMPLEMENTED(); }
2327 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM
2328
2329 #if !V8_TARGET_ARCH_ARM
2338 void InstructionSelector::VisitSimd16x8Select(Node* node) { UNIMPLEMENTED(); } 2330 void InstructionSelector::VisitSimd16x8Select(Node* node) { UNIMPLEMENTED(); }
2339 2331
2340 void InstructionSelector::VisitSimd8x16Select(Node* node) { UNIMPLEMENTED(); } 2332 void InstructionSelector::VisitSimd8x16Select(Node* node) { UNIMPLEMENTED(); }
2341 2333
2342 void InstructionSelector::VisitSimd1x4And(Node* node) { UNIMPLEMENTED(); } 2334 void InstructionSelector::VisitSimd1x4And(Node* node) { UNIMPLEMENTED(); }
2343 2335
2344 void InstructionSelector::VisitSimd1x4Or(Node* node) { UNIMPLEMENTED(); } 2336 void InstructionSelector::VisitSimd1x4Or(Node* node) { UNIMPLEMENTED(); }
2345 2337
2346 void InstructionSelector::VisitSimd1x4Xor(Node* node) { UNIMPLEMENTED(); } 2338 void InstructionSelector::VisitSimd1x4Xor(Node* node) { UNIMPLEMENTED(); }
2347 2339
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
2746 return new (instruction_zone()) FrameStateDescriptor( 2738 return new (instruction_zone()) FrameStateDescriptor(
2747 instruction_zone(), state_info.type(), state_info.bailout_id(), 2739 instruction_zone(), state_info.type(), state_info.bailout_id(),
2748 state_info.state_combine(), parameters, locals, stack, 2740 state_info.state_combine(), parameters, locals, stack,
2749 state_info.shared_info(), outer_state); 2741 state_info.shared_info(), outer_state);
2750 } 2742 }
2751 2743
2752 2744
2753 } // namespace compiler 2745 } // namespace compiler
2754 } // namespace internal 2746 } // namespace internal
2755 } // namespace v8 2747 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698