Chromium Code Reviews| 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/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 Loading... | |
| 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(); } | |
|
bbudge
2017/03/14 17:50:39
nit: relational ops after binops.
gdeepti
2017/03/14 21:32:51
Done.
| |
| 2059 | |
| 2060 void InstructionSelector::VisitInt32x4Mul(Node* node) { UNIMPLEMENTED(); } | |
| 2061 | |
| 2062 void InstructionSelector::VisitInt32x4Max(Node* node) { UNIMPLEMENTED(); } | |
| 2063 | |
| 2064 void InstructionSelector::VisitInt32x4Min(Node* node) { UNIMPLEMENTED(); } | |
| 2065 | |
| 2066 void InstructionSelector::VisitUint32x4Max(Node* node) { UNIMPLEMENTED(); } | |
| 2067 | |
| 2068 void InstructionSelector::VisitUint32x4Min(Node* node) { UNIMPLEMENTED(); } | |
| 2069 | |
| 2070 void InstructionSelector::VisitInt32x4ShiftLeftByScalar(Node* node) { | |
| 2071 UNIMPLEMENTED(); | |
| 2072 } | |
| 2073 | |
| 2074 void InstructionSelector::VisitInt32x4ShiftRightByScalar(Node* node) { | |
| 2075 UNIMPLEMENTED(); | |
| 2076 } | |
| 2077 | |
| 2078 void InstructionSelector::VisitUint32x4ShiftRightByScalar(Node* node) { | |
| 2079 UNIMPLEMENTED(); | |
| 2080 } | |
| 2081 | |
| 2082 void InstructionSelector::VisitSimd32x4Select(Node* node) { UNIMPLEMENTED(); } | |
|
bbudge
2017/03/14 17:50:39
nit: keep non-numeric ops together, i.e. with othe
gdeepti
2017/03/14 21:32:51
Moved Select back, and changed ifdefs.
Done.
| |
| 2083 | |
| 2056 void InstructionSelector::VisitSimd128Zero(Node* node) { UNIMPLEMENTED(); } | 2084 void InstructionSelector::VisitSimd128Zero(Node* node) { UNIMPLEMENTED(); } |
| 2057 | 2085 |
| 2058 void InstructionSelector::VisitSimd1x4Zero(Node* node) { UNIMPLEMENTED(); } | 2086 void InstructionSelector::VisitSimd1x4Zero(Node* node) { UNIMPLEMENTED(); } |
| 2059 | 2087 |
| 2060 void InstructionSelector::VisitSimd1x8Zero(Node* node) { UNIMPLEMENTED(); } | 2088 void InstructionSelector::VisitSimd1x8Zero(Node* node) { UNIMPLEMENTED(); } |
| 2061 | 2089 |
| 2062 void InstructionSelector::VisitSimd1x16Zero(Node* node) { UNIMPLEMENTED(); } | 2090 void InstructionSelector::VisitSimd1x16Zero(Node* node) { UNIMPLEMENTED(); } |
| 2063 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM | 2091 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM |
| 2064 | 2092 |
| 2065 #if !V8_TARGET_ARCH_ARM | 2093 #if !V8_TARGET_ARCH_ARM |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2128 void InstructionSelector::VisitInt32x4FromFloat32x4(Node* node) { | 2156 void InstructionSelector::VisitInt32x4FromFloat32x4(Node* node) { |
| 2129 UNIMPLEMENTED(); | 2157 UNIMPLEMENTED(); |
| 2130 } | 2158 } |
| 2131 | 2159 |
| 2132 void InstructionSelector::VisitUint32x4FromFloat32x4(Node* node) { | 2160 void InstructionSelector::VisitUint32x4FromFloat32x4(Node* node) { |
| 2133 UNIMPLEMENTED(); | 2161 UNIMPLEMENTED(); |
| 2134 } | 2162 } |
| 2135 | 2163 |
| 2136 void InstructionSelector::VisitInt32x4Neg(Node* node) { UNIMPLEMENTED(); } | 2164 void InstructionSelector::VisitInt32x4Neg(Node* node) { UNIMPLEMENTED(); } |
| 2137 | 2165 |
| 2138 void InstructionSelector::VisitInt32x4ShiftLeftByScalar(Node* node) { | |
| 2139 UNIMPLEMENTED(); | |
| 2140 } | |
| 2141 | |
| 2142 void InstructionSelector::VisitInt32x4ShiftRightByScalar(Node* node) { | |
| 2143 UNIMPLEMENTED(); | |
| 2144 } | |
| 2145 | |
| 2146 void InstructionSelector::VisitInt32x4Mul(Node* node) { UNIMPLEMENTED(); } | |
| 2147 | |
| 2148 void InstructionSelector::VisitInt32x4Max(Node* node) { UNIMPLEMENTED(); } | |
| 2149 | |
| 2150 void InstructionSelector::VisitInt32x4Min(Node* node) { UNIMPLEMENTED(); } | |
| 2151 | |
| 2152 void InstructionSelector::VisitInt32x4Equal(Node* node) { UNIMPLEMENTED(); } | |
| 2153 | |
| 2154 void InstructionSelector::VisitInt32x4NotEqual(Node* node) { UNIMPLEMENTED(); } | |
| 2155 | |
| 2156 void InstructionSelector::VisitInt32x4LessThan(Node* node) { UNIMPLEMENTED(); } | 2166 void InstructionSelector::VisitInt32x4LessThan(Node* node) { UNIMPLEMENTED(); } |
| 2157 | 2167 |
| 2158 void InstructionSelector::VisitInt32x4LessThanOrEqual(Node* node) { | 2168 void InstructionSelector::VisitInt32x4LessThanOrEqual(Node* node) { |
| 2159 UNIMPLEMENTED(); | 2169 UNIMPLEMENTED(); |
| 2160 } | 2170 } |
| 2161 | 2171 |
| 2162 void InstructionSelector::VisitUint32x4ShiftRightByScalar(Node* node) { | 2172 void InstructionSelector::VisitInt32x4GreaterThan(Node* node) { |
| 2163 UNIMPLEMENTED(); | 2173 UNIMPLEMENTED(); |
| 2164 } | 2174 } |
| 2165 | 2175 |
| 2166 void InstructionSelector::VisitUint32x4Max(Node* node) { UNIMPLEMENTED(); } | 2176 void InstructionSelector::VisitInt32x4GreaterThanOrEqual(Node* node) { |
| 2177 UNIMPLEMENTED(); | |
| 2178 } | |
| 2167 | 2179 |
| 2168 void InstructionSelector::VisitUint32x4Min(Node* node) { UNIMPLEMENTED(); } | 2180 void InstructionSelector::VisitUint32x4GreaterThan(Node* node) { |
| 2181 UNIMPLEMENTED(); | |
| 2182 } | |
| 2169 | 2183 |
| 2170 void InstructionSelector::VisitUint32x4LessThan(Node* node) { UNIMPLEMENTED(); } | 2184 void InstructionSelector::VisitUint32x4LessThan(Node* node) { UNIMPLEMENTED(); } |
| 2171 | 2185 |
| 2172 void InstructionSelector::VisitUint32x4LessThanOrEqual(Node* node) { | 2186 void InstructionSelector::VisitUint32x4LessThanOrEqual(Node* node) { |
| 2173 UNIMPLEMENTED(); | 2187 UNIMPLEMENTED(); |
| 2174 } | 2188 } |
| 2175 | 2189 |
| 2176 void InstructionSelector::VisitInt16x8Splat(Node* node) { UNIMPLEMENTED(); } | 2190 void InstructionSelector::VisitInt16x8Splat(Node* node) { UNIMPLEMENTED(); } |
| 2177 | 2191 |
| 2178 void InstructionSelector::VisitInt16x8ExtractLane(Node* node) { | 2192 void InstructionSelector::VisitInt16x8ExtractLane(Node* node) { |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2314 } | 2328 } |
| 2315 | 2329 |
| 2316 void InstructionSelector::VisitSimd128And(Node* node) { UNIMPLEMENTED(); } | 2330 void InstructionSelector::VisitSimd128And(Node* node) { UNIMPLEMENTED(); } |
| 2317 | 2331 |
| 2318 void InstructionSelector::VisitSimd128Or(Node* node) { UNIMPLEMENTED(); } | 2332 void InstructionSelector::VisitSimd128Or(Node* node) { UNIMPLEMENTED(); } |
| 2319 | 2333 |
| 2320 void InstructionSelector::VisitSimd128Xor(Node* node) { UNIMPLEMENTED(); } | 2334 void InstructionSelector::VisitSimd128Xor(Node* node) { UNIMPLEMENTED(); } |
| 2321 | 2335 |
| 2322 void InstructionSelector::VisitSimd128Not(Node* node) { UNIMPLEMENTED(); } | 2336 void InstructionSelector::VisitSimd128Not(Node* node) { UNIMPLEMENTED(); } |
| 2323 | 2337 |
| 2324 void InstructionSelector::VisitSimd32x4Select(Node* node) { UNIMPLEMENTED(); } | |
| 2325 | |
| 2326 void InstructionSelector::VisitSimd16x8Select(Node* node) { UNIMPLEMENTED(); } | 2338 void InstructionSelector::VisitSimd16x8Select(Node* node) { UNIMPLEMENTED(); } |
| 2327 | 2339 |
| 2328 void InstructionSelector::VisitSimd8x16Select(Node* node) { UNIMPLEMENTED(); } | 2340 void InstructionSelector::VisitSimd8x16Select(Node* node) { UNIMPLEMENTED(); } |
| 2329 | 2341 |
| 2330 void InstructionSelector::VisitSimd1x4And(Node* node) { UNIMPLEMENTED(); } | 2342 void InstructionSelector::VisitSimd1x4And(Node* node) { UNIMPLEMENTED(); } |
| 2331 | 2343 |
| 2332 void InstructionSelector::VisitSimd1x4Or(Node* node) { UNIMPLEMENTED(); } | 2344 void InstructionSelector::VisitSimd1x4Or(Node* node) { UNIMPLEMENTED(); } |
| 2333 | 2345 |
| 2334 void InstructionSelector::VisitSimd1x4Xor(Node* node) { UNIMPLEMENTED(); } | 2346 void InstructionSelector::VisitSimd1x4Xor(Node* node) { UNIMPLEMENTED(); } |
| 2335 | 2347 |
| (...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2734 return new (instruction_zone()) FrameStateDescriptor( | 2746 return new (instruction_zone()) FrameStateDescriptor( |
| 2735 instruction_zone(), state_info.type(), state_info.bailout_id(), | 2747 instruction_zone(), state_info.type(), state_info.bailout_id(), |
| 2736 state_info.state_combine(), parameters, locals, stack, | 2748 state_info.state_combine(), parameters, locals, stack, |
| 2737 state_info.shared_info(), outer_state); | 2749 state_info.shared_info(), outer_state); |
| 2738 } | 2750 } |
| 2739 | 2751 |
| 2740 | 2752 |
| 2741 } // namespace compiler | 2753 } // namespace compiler |
| 2742 } // namespace internal | 2754 } // namespace internal |
| 2743 } // namespace v8 | 2755 } // namespace v8 |
| OLD | NEW |