| 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 1963 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1974 } | 1974 } |
| 1975 | 1975 |
| 1976 void InstructionSelector::VisitInt32x4ReplaceLane(Node* node) { | 1976 void InstructionSelector::VisitInt32x4ReplaceLane(Node* node) { |
| 1977 UNIMPLEMENTED(); | 1977 UNIMPLEMENTED(); |
| 1978 } | 1978 } |
| 1979 | 1979 |
| 1980 void InstructionSelector::VisitInt32x4Add(Node* node) { UNIMPLEMENTED(); } | 1980 void InstructionSelector::VisitInt32x4Add(Node* node) { UNIMPLEMENTED(); } |
| 1981 | 1981 |
| 1982 void InstructionSelector::VisitInt32x4Sub(Node* node) { UNIMPLEMENTED(); } | 1982 void InstructionSelector::VisitInt32x4Sub(Node* node) { UNIMPLEMENTED(); } |
| 1983 | 1983 |
| 1984 void InstructionSelector::VisitInt32x4Equal(Node* node) { UNIMPLEMENTED(); } |
| 1985 |
| 1986 void InstructionSelector::VisitInt32x4NotEqual(Node* node) { UNIMPLEMENTED(); } |
| 1987 |
| 1988 void InstructionSelector::VisitInt32x4Mul(Node* node) { UNIMPLEMENTED(); } |
| 1989 |
| 1990 void InstructionSelector::VisitInt32x4Max(Node* node) { UNIMPLEMENTED(); } |
| 1991 |
| 1992 void InstructionSelector::VisitInt32x4Min(Node* node) { UNIMPLEMENTED(); } |
| 1993 |
| 1994 void InstructionSelector::VisitUint32x4Max(Node* node) { UNIMPLEMENTED(); } |
| 1995 |
| 1996 void InstructionSelector::VisitUint32x4Min(Node* node) { UNIMPLEMENTED(); } |
| 1997 |
| 1998 void InstructionSelector::VisitInt32x4ShiftLeftByScalar(Node* node) { |
| 1999 UNIMPLEMENTED(); |
| 2000 } |
| 2001 |
| 2002 void InstructionSelector::VisitInt32x4ShiftRightByScalar(Node* node) { |
| 2003 UNIMPLEMENTED(); |
| 2004 } |
| 2005 |
| 2006 void InstructionSelector::VisitUint32x4ShiftRightByScalar(Node* node) { |
| 2007 UNIMPLEMENTED(); |
| 2008 } |
| 2009 |
| 2010 void InstructionSelector::VisitSimd32x4Select(Node* node) { UNIMPLEMENTED(); } |
| 2011 |
| 1984 void InstructionSelector::VisitSimd128Zero(Node* node) { UNIMPLEMENTED(); } | 2012 void InstructionSelector::VisitSimd128Zero(Node* node) { UNIMPLEMENTED(); } |
| 1985 | 2013 |
| 1986 void InstructionSelector::VisitSimd1x4Zero(Node* node) { UNIMPLEMENTED(); } | 2014 void InstructionSelector::VisitSimd1x4Zero(Node* node) { UNIMPLEMENTED(); } |
| 1987 | 2015 |
| 1988 void InstructionSelector::VisitSimd1x8Zero(Node* node) { UNIMPLEMENTED(); } | 2016 void InstructionSelector::VisitSimd1x8Zero(Node* node) { UNIMPLEMENTED(); } |
| 1989 | 2017 |
| 1990 void InstructionSelector::VisitSimd1x16Zero(Node* node) { UNIMPLEMENTED(); } | 2018 void InstructionSelector::VisitSimd1x16Zero(Node* node) { UNIMPLEMENTED(); } |
| 1991 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM | 2019 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM |
| 1992 | 2020 |
| 1993 #if !V8_TARGET_ARCH_ARM | 2021 #if !V8_TARGET_ARCH_ARM |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2026 void InstructionSelector::VisitInt32x4FromFloat32x4(Node* node) { | 2054 void InstructionSelector::VisitInt32x4FromFloat32x4(Node* node) { |
| 2027 UNIMPLEMENTED(); | 2055 UNIMPLEMENTED(); |
| 2028 } | 2056 } |
| 2029 | 2057 |
| 2030 void InstructionSelector::VisitUint32x4FromFloat32x4(Node* node) { | 2058 void InstructionSelector::VisitUint32x4FromFloat32x4(Node* node) { |
| 2031 UNIMPLEMENTED(); | 2059 UNIMPLEMENTED(); |
| 2032 } | 2060 } |
| 2033 | 2061 |
| 2034 void InstructionSelector::VisitInt32x4Neg(Node* node) { UNIMPLEMENTED(); } | 2062 void InstructionSelector::VisitInt32x4Neg(Node* node) { UNIMPLEMENTED(); } |
| 2035 | 2063 |
| 2036 void InstructionSelector::VisitInt32x4ShiftLeftByScalar(Node* node) { | |
| 2037 UNIMPLEMENTED(); | |
| 2038 } | |
| 2039 | |
| 2040 void InstructionSelector::VisitInt32x4ShiftRightByScalar(Node* node) { | |
| 2041 UNIMPLEMENTED(); | |
| 2042 } | |
| 2043 | |
| 2044 void InstructionSelector::VisitInt32x4Mul(Node* node) { UNIMPLEMENTED(); } | |
| 2045 | |
| 2046 void InstructionSelector::VisitInt32x4Max(Node* node) { UNIMPLEMENTED(); } | |
| 2047 | |
| 2048 void InstructionSelector::VisitInt32x4Min(Node* node) { UNIMPLEMENTED(); } | |
| 2049 | |
| 2050 void InstructionSelector::VisitInt32x4Equal(Node* node) { UNIMPLEMENTED(); } | |
| 2051 | |
| 2052 void InstructionSelector::VisitInt32x4NotEqual(Node* node) { UNIMPLEMENTED(); } | |
| 2053 | |
| 2054 void InstructionSelector::VisitInt32x4LessThan(Node* node) { UNIMPLEMENTED(); } | 2064 void InstructionSelector::VisitInt32x4LessThan(Node* node) { UNIMPLEMENTED(); } |
| 2055 | 2065 |
| 2056 void InstructionSelector::VisitInt32x4LessThanOrEqual(Node* node) { | 2066 void InstructionSelector::VisitInt32x4LessThanOrEqual(Node* node) { |
| 2057 UNIMPLEMENTED(); | 2067 UNIMPLEMENTED(); |
| 2058 } | 2068 } |
| 2059 | 2069 |
| 2060 void InstructionSelector::VisitInt32x4GreaterThan(Node* node) { | 2070 void InstructionSelector::VisitInt32x4GreaterThan(Node* node) { |
| 2061 UNIMPLEMENTED(); | 2071 UNIMPLEMENTED(); |
| 2062 } | 2072 } |
| 2063 | 2073 |
| 2064 void InstructionSelector::VisitInt32x4GreaterThanOrEqual(Node* node) { | 2074 void InstructionSelector::VisitInt32x4GreaterThanOrEqual(Node* node) { |
| 2065 UNIMPLEMENTED(); | 2075 UNIMPLEMENTED(); |
| 2066 } | 2076 } |
| 2067 | 2077 |
| 2068 void InstructionSelector::VisitUint32x4ShiftRightByScalar(Node* node) { | |
| 2069 UNIMPLEMENTED(); | |
| 2070 } | |
| 2071 | |
| 2072 void InstructionSelector::VisitUint32x4Max(Node* node) { UNIMPLEMENTED(); } | |
| 2073 | |
| 2074 void InstructionSelector::VisitUint32x4Min(Node* node) { UNIMPLEMENTED(); } | |
| 2075 | |
| 2076 void InstructionSelector::VisitUint32x4GreaterThan(Node* node) { | 2078 void InstructionSelector::VisitUint32x4GreaterThan(Node* node) { |
| 2077 UNIMPLEMENTED(); | 2079 UNIMPLEMENTED(); |
| 2078 } | 2080 } |
| 2079 | 2081 |
| 2080 void InstructionSelector::VisitUint32x4GreaterThanOrEqual(Node* node) { | 2082 void InstructionSelector::VisitUint32x4GreaterThanOrEqual(Node* node) { |
| 2081 UNIMPLEMENTED(); | 2083 UNIMPLEMENTED(); |
| 2082 } | 2084 } |
| 2083 | 2085 |
| 2084 void InstructionSelector::VisitInt16x8Splat(Node* node) { UNIMPLEMENTED(); } | 2086 void InstructionSelector::VisitInt16x8Splat(Node* node) { UNIMPLEMENTED(); } |
| 2085 | 2087 |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2242 } | 2244 } |
| 2243 | 2245 |
| 2244 void InstructionSelector::VisitSimd128And(Node* node) { UNIMPLEMENTED(); } | 2246 void InstructionSelector::VisitSimd128And(Node* node) { UNIMPLEMENTED(); } |
| 2245 | 2247 |
| 2246 void InstructionSelector::VisitSimd128Or(Node* node) { UNIMPLEMENTED(); } | 2248 void InstructionSelector::VisitSimd128Or(Node* node) { UNIMPLEMENTED(); } |
| 2247 | 2249 |
| 2248 void InstructionSelector::VisitSimd128Xor(Node* node) { UNIMPLEMENTED(); } | 2250 void InstructionSelector::VisitSimd128Xor(Node* node) { UNIMPLEMENTED(); } |
| 2249 | 2251 |
| 2250 void InstructionSelector::VisitSimd128Not(Node* node) { UNIMPLEMENTED(); } | 2252 void InstructionSelector::VisitSimd128Not(Node* node) { UNIMPLEMENTED(); } |
| 2251 | 2253 |
| 2252 void InstructionSelector::VisitSimd32x4Select(Node* node) { UNIMPLEMENTED(); } | |
| 2253 | |
| 2254 void InstructionSelector::VisitSimd16x8Select(Node* node) { UNIMPLEMENTED(); } | 2254 void InstructionSelector::VisitSimd16x8Select(Node* node) { UNIMPLEMENTED(); } |
| 2255 | 2255 |
| 2256 void InstructionSelector::VisitSimd8x16Select(Node* node) { UNIMPLEMENTED(); } | 2256 void InstructionSelector::VisitSimd8x16Select(Node* node) { UNIMPLEMENTED(); } |
| 2257 #endif // !V8_TARGET_ARCH_ARM | 2257 #endif // !V8_TARGET_ARCH_ARM |
| 2258 | 2258 |
| 2259 void InstructionSelector::VisitFinishRegion(Node* node) { EmitIdentity(node); } | 2259 void InstructionSelector::VisitFinishRegion(Node* node) { EmitIdentity(node); } |
| 2260 | 2260 |
| 2261 void InstructionSelector::VisitParameter(Node* node) { | 2261 void InstructionSelector::VisitParameter(Node* node) { |
| 2262 OperandGenerator g(this); | 2262 OperandGenerator g(this); |
| 2263 int index = ParameterIndexOf(node->op()); | 2263 int index = ParameterIndexOf(node->op()); |
| (...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2626 return new (instruction_zone()) FrameStateDescriptor( | 2626 return new (instruction_zone()) FrameStateDescriptor( |
| 2627 instruction_zone(), state_info.type(), state_info.bailout_id(), | 2627 instruction_zone(), state_info.type(), state_info.bailout_id(), |
| 2628 state_info.state_combine(), parameters, locals, stack, | 2628 state_info.state_combine(), parameters, locals, stack, |
| 2629 state_info.shared_info(), outer_state); | 2629 state_info.shared_info(), outer_state); |
| 2630 } | 2630 } |
| 2631 | 2631 |
| 2632 | 2632 |
| 2633 } // namespace compiler | 2633 } // namespace compiler |
| 2634 } // namespace internal | 2634 } // namespace internal |
| 2635 } // namespace v8 | 2635 } // namespace v8 |
| OLD | NEW |