| OLD | NEW |
| 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/assembler-inl.h" | 9 #include "src/assembler-inl.h" |
| 10 #include "src/base/adapters.h" | 10 #include "src/base/adapters.h" |
| (...skipping 2224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2235 | 2235 |
| 2236 #if !V8_TARGET_ARCH_ARM | 2236 #if !V8_TARGET_ARCH_ARM |
| 2237 void InstructionSelector::VisitI32x4SConvertI16x8Low(Node* node) { | 2237 void InstructionSelector::VisitI32x4SConvertI16x8Low(Node* node) { |
| 2238 UNIMPLEMENTED(); | 2238 UNIMPLEMENTED(); |
| 2239 } | 2239 } |
| 2240 | 2240 |
| 2241 void InstructionSelector::VisitI32x4SConvertI16x8High(Node* node) { | 2241 void InstructionSelector::VisitI32x4SConvertI16x8High(Node* node) { |
| 2242 UNIMPLEMENTED(); | 2242 UNIMPLEMENTED(); |
| 2243 } | 2243 } |
| 2244 | 2244 |
| 2245 void InstructionSelector::VisitI32x4Neg(Node* node) { UNIMPLEMENTED(); } | |
| 2246 | |
| 2247 void InstructionSelector::VisitI32x4LtS(Node* node) { UNIMPLEMENTED(); } | |
| 2248 | |
| 2249 void InstructionSelector::VisitI32x4LeS(Node* node) { UNIMPLEMENTED(); } | |
| 2250 | |
| 2251 void InstructionSelector::VisitI32x4UConvertI16x8Low(Node* node) { | 2245 void InstructionSelector::VisitI32x4UConvertI16x8Low(Node* node) { |
| 2252 UNIMPLEMENTED(); | 2246 UNIMPLEMENTED(); |
| 2253 } | 2247 } |
| 2254 | 2248 |
| 2255 void InstructionSelector::VisitI32x4UConvertI16x8High(Node* node) { | 2249 void InstructionSelector::VisitI32x4UConvertI16x8High(Node* node) { |
| 2256 UNIMPLEMENTED(); | 2250 UNIMPLEMENTED(); |
| 2257 } | 2251 } |
| 2258 | 2252 |
| 2253 void InstructionSelector::VisitI16x8SConvertI8x16Low(Node* node) { |
| 2254 UNIMPLEMENTED(); |
| 2255 } |
| 2256 |
| 2257 void InstructionSelector::VisitI16x8SConvertI8x16High(Node* node) { |
| 2258 UNIMPLEMENTED(); |
| 2259 } |
| 2260 |
| 2261 void InstructionSelector::VisitI16x8SConvertI32x4(Node* node) { |
| 2262 UNIMPLEMENTED(); |
| 2263 } |
| 2264 #endif // !V8_TARGET_ARCH_ARM |
| 2265 |
| 2266 #if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_MIPS64 |
| 2267 void InstructionSelector::VisitI32x4Neg(Node* node) { UNIMPLEMENTED(); } |
| 2268 |
| 2269 void InstructionSelector::VisitI32x4LtS(Node* node) { UNIMPLEMENTED(); } |
| 2270 |
| 2271 void InstructionSelector::VisitI32x4LeS(Node* node) { UNIMPLEMENTED(); } |
| 2272 |
| 2259 void InstructionSelector::VisitI32x4LtU(Node* node) { UNIMPLEMENTED(); } | 2273 void InstructionSelector::VisitI32x4LtU(Node* node) { UNIMPLEMENTED(); } |
| 2260 | 2274 |
| 2261 void InstructionSelector::VisitI32x4LeU(Node* node) { UNIMPLEMENTED(); } | 2275 void InstructionSelector::VisitI32x4LeU(Node* node) { UNIMPLEMENTED(); } |
| 2262 #endif // !V8_TARGET_ARCH_ARM | 2276 #endif // !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_MIPS64 |
| 2263 | 2277 |
| 2264 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM | 2278 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && \ |
| 2279 !V8_TARGET_ARCH_MIPS64 |
| 2265 void InstructionSelector::VisitI16x8Splat(Node* node) { UNIMPLEMENTED(); } | 2280 void InstructionSelector::VisitI16x8Splat(Node* node) { UNIMPLEMENTED(); } |
| 2266 | 2281 |
| 2267 void InstructionSelector::VisitI16x8ExtractLane(Node* node) { UNIMPLEMENTED(); } | 2282 void InstructionSelector::VisitI16x8ExtractLane(Node* node) { UNIMPLEMENTED(); } |
| 2268 | 2283 |
| 2269 void InstructionSelector::VisitI16x8ReplaceLane(Node* node) { UNIMPLEMENTED(); } | 2284 void InstructionSelector::VisitI16x8ReplaceLane(Node* node) { UNIMPLEMENTED(); } |
| 2270 | 2285 |
| 2271 void InstructionSelector::VisitI16x8Shl(Node* node) { UNIMPLEMENTED(); } | 2286 void InstructionSelector::VisitI16x8Shl(Node* node) { UNIMPLEMENTED(); } |
| 2272 | 2287 |
| 2273 void InstructionSelector::VisitI16x8ShrS(Node* node) { UNIMPLEMENTED(); } | 2288 void InstructionSelector::VisitI16x8ShrS(Node* node) { UNIMPLEMENTED(); } |
| 2274 | 2289 |
| 2290 void InstructionSelector::VisitI16x8ShrU(Node* node) { UNIMPLEMENTED(); } |
| 2291 |
| 2275 void InstructionSelector::VisitI16x8Add(Node* node) { UNIMPLEMENTED(); } | 2292 void InstructionSelector::VisitI16x8Add(Node* node) { UNIMPLEMENTED(); } |
| 2276 | 2293 |
| 2277 void InstructionSelector::VisitI16x8AddSaturateS(Node* node) { | 2294 void InstructionSelector::VisitI16x8AddSaturateS(Node* node) { |
| 2278 UNIMPLEMENTED(); | 2295 UNIMPLEMENTED(); |
| 2279 } | 2296 } |
| 2280 | 2297 |
| 2281 void InstructionSelector::VisitI16x8AddHoriz(Node* node) { UNIMPLEMENTED(); } | |
| 2282 | |
| 2283 void InstructionSelector::VisitI16x8Sub(Node* node) { UNIMPLEMENTED(); } | 2298 void InstructionSelector::VisitI16x8Sub(Node* node) { UNIMPLEMENTED(); } |
| 2284 | 2299 |
| 2285 void InstructionSelector::VisitI16x8SubSaturateS(Node* node) { | 2300 void InstructionSelector::VisitI16x8SubSaturateS(Node* node) { |
| 2286 UNIMPLEMENTED(); | 2301 UNIMPLEMENTED(); |
| 2287 } | 2302 } |
| 2303 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && |
| 2304 // !V8_TARGET_ARCH_MIPS64 |
| 2288 | 2305 |
| 2306 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM |
| 2307 void InstructionSelector::VisitI16x8AddHoriz(Node* node) { UNIMPLEMENTED(); } |
| 2308 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM |
| 2309 |
| 2310 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM |
| 2289 void InstructionSelector::VisitI16x8Mul(Node* node) { UNIMPLEMENTED(); } | 2311 void InstructionSelector::VisitI16x8Mul(Node* node) { UNIMPLEMENTED(); } |
| 2290 | 2312 |
| 2291 void InstructionSelector::VisitI16x8MinS(Node* node) { UNIMPLEMENTED(); } | 2313 void InstructionSelector::VisitI16x8MinS(Node* node) { UNIMPLEMENTED(); } |
| 2292 | 2314 |
| 2293 void InstructionSelector::VisitI16x8MaxS(Node* node) { UNIMPLEMENTED(); } | 2315 void InstructionSelector::VisitI16x8MaxS(Node* node) { UNIMPLEMENTED(); } |
| 2294 | 2316 |
| 2295 void InstructionSelector::VisitI16x8Eq(Node* node) { UNIMPLEMENTED(); } | 2317 void InstructionSelector::VisitI16x8Eq(Node* node) { UNIMPLEMENTED(); } |
| 2296 | 2318 |
| 2297 void InstructionSelector::VisitI16x8Ne(Node* node) { UNIMPLEMENTED(); } | 2319 void InstructionSelector::VisitI16x8Ne(Node* node) { UNIMPLEMENTED(); } |
| 2298 | 2320 |
| 2299 void InstructionSelector::VisitI16x8ShrU(Node* node) { UNIMPLEMENTED(); } | |
| 2300 | |
| 2301 void InstructionSelector::VisitI16x8AddSaturateU(Node* node) { | 2321 void InstructionSelector::VisitI16x8AddSaturateU(Node* node) { |
| 2302 UNIMPLEMENTED(); | 2322 UNIMPLEMENTED(); |
| 2303 } | 2323 } |
| 2304 | 2324 |
| 2305 void InstructionSelector::VisitI16x8SubSaturateU(Node* node) { | 2325 void InstructionSelector::VisitI16x8SubSaturateU(Node* node) { |
| 2306 UNIMPLEMENTED(); | 2326 UNIMPLEMENTED(); |
| 2307 } | 2327 } |
| 2308 | 2328 |
| 2309 void InstructionSelector::VisitI16x8MinU(Node* node) { UNIMPLEMENTED(); } | 2329 void InstructionSelector::VisitI16x8MinU(Node* node) { UNIMPLEMENTED(); } |
| 2310 | 2330 |
| 2311 void InstructionSelector::VisitI16x8MaxU(Node* node) { UNIMPLEMENTED(); } | 2331 void InstructionSelector::VisitI16x8MaxU(Node* node) { UNIMPLEMENTED(); } |
| 2312 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM | 2332 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM |
| 2313 | 2333 |
| 2334 #if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_MIPS64 |
| 2335 void InstructionSelector::VisitI16x8Neg(Node* node) { UNIMPLEMENTED(); } |
| 2336 #endif // !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_MIPS64 |
| 2337 |
| 2314 #if !V8_TARGET_ARCH_ARM | 2338 #if !V8_TARGET_ARCH_ARM |
| 2315 void InstructionSelector::VisitI16x8Neg(Node* node) { UNIMPLEMENTED(); } | 2339 void InstructionSelector::VisitI16x8UConvertI32x4(Node* node) { |
| 2316 | |
| 2317 void InstructionSelector::VisitI16x8SConvertI32x4(Node* node) { | |
| 2318 UNIMPLEMENTED(); | 2340 UNIMPLEMENTED(); |
| 2319 } | 2341 } |
| 2320 | 2342 |
| 2321 void InstructionSelector::VisitI16x8SConvertI8x16Low(Node* node) { | |
| 2322 UNIMPLEMENTED(); | |
| 2323 } | |
| 2324 | |
| 2325 void InstructionSelector::VisitI16x8UConvertI8x16Low(Node* node) { | 2343 void InstructionSelector::VisitI16x8UConvertI8x16Low(Node* node) { |
| 2326 UNIMPLEMENTED(); | 2344 UNIMPLEMENTED(); |
| 2327 } | 2345 } |
| 2328 | 2346 |
| 2329 void InstructionSelector::VisitI16x8UConvertI8x16High(Node* node) { | 2347 void InstructionSelector::VisitI16x8UConvertI8x16High(Node* node) { |
| 2330 UNIMPLEMENTED(); | 2348 UNIMPLEMENTED(); |
| 2331 } | 2349 } |
| 2332 | 2350 |
| 2333 void InstructionSelector::VisitI16x8SConvertI8x16High(Node* node) { | |
| 2334 UNIMPLEMENTED(); | |
| 2335 } | |
| 2336 | |
| 2337 void InstructionSelector::VisitI16x8LtS(Node* node) { UNIMPLEMENTED(); } | 2351 void InstructionSelector::VisitI16x8LtS(Node* node) { UNIMPLEMENTED(); } |
| 2338 | 2352 |
| 2339 void InstructionSelector::VisitI16x8LeS(Node* node) { UNIMPLEMENTED(); } | 2353 void InstructionSelector::VisitI16x8LeS(Node* node) { UNIMPLEMENTED(); } |
| 2340 | 2354 |
| 2341 void InstructionSelector::VisitI16x8UConvertI32x4(Node* node) { | |
| 2342 UNIMPLEMENTED(); | |
| 2343 } | |
| 2344 | |
| 2345 void InstructionSelector::VisitI16x8LtU(Node* node) { UNIMPLEMENTED(); } | 2355 void InstructionSelector::VisitI16x8LtU(Node* node) { UNIMPLEMENTED(); } |
| 2346 | 2356 |
| 2347 void InstructionSelector::VisitI16x8LeU(Node* node) { UNIMPLEMENTED(); } | 2357 void InstructionSelector::VisitI16x8LeU(Node* node) { UNIMPLEMENTED(); } |
| 2348 #endif // !V8_TARGET_ARCH_ARM | 2358 #endif // !V8_TARGET_ARCH_ARM |
| 2349 | 2359 |
| 2350 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM | 2360 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM |
| 2351 void InstructionSelector::VisitI8x16Splat(Node* node) { UNIMPLEMENTED(); } | 2361 void InstructionSelector::VisitI8x16Splat(Node* node) { UNIMPLEMENTED(); } |
| 2352 | 2362 |
| 2353 void InstructionSelector::VisitI8x16ExtractLane(Node* node) { UNIMPLEMENTED(); } | 2363 void InstructionSelector::VisitI8x16ExtractLane(Node* node) { UNIMPLEMENTED(); } |
| 2354 | 2364 |
| (...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2937 return new (instruction_zone()) FrameStateDescriptor( | 2947 return new (instruction_zone()) FrameStateDescriptor( |
| 2938 instruction_zone(), state_info.type(), state_info.bailout_id(), | 2948 instruction_zone(), state_info.type(), state_info.bailout_id(), |
| 2939 state_info.state_combine(), parameters, locals, stack, | 2949 state_info.state_combine(), parameters, locals, stack, |
| 2940 state_info.shared_info(), outer_state); | 2950 state_info.shared_info(), outer_state); |
| 2941 } | 2951 } |
| 2942 | 2952 |
| 2943 | 2953 |
| 2944 } // namespace compiler | 2954 } // namespace compiler |
| 2945 } // namespace internal | 2955 } // namespace internal |
| 2946 } // namespace v8 | 2956 } // namespace v8 |
| OLD | NEW |