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

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

Issue 2753903004: MIPS[64]: Support for some SIMD operations (Closed)
Patch Set: Fixed Int32x4ReplaceLane 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/assembler-inl.h" 9 #include "src/assembler-inl.h"
10 #include "src/base/adapters.h" 10 #include "src/base/adapters.h"
(...skipping 2024 matching lines...) Expand 10 before | Expand all | Expand 10 after
2035 2035
2036 void InstructionSelector::VisitInt32PairMul(Node* node) { UNIMPLEMENTED(); } 2036 void InstructionSelector::VisitInt32PairMul(Node* node) { UNIMPLEMENTED(); }
2037 2037
2038 void InstructionSelector::VisitWord32PairShl(Node* node) { UNIMPLEMENTED(); } 2038 void InstructionSelector::VisitWord32PairShl(Node* node) { UNIMPLEMENTED(); }
2039 2039
2040 void InstructionSelector::VisitWord32PairShr(Node* node) { UNIMPLEMENTED(); } 2040 void InstructionSelector::VisitWord32PairShr(Node* node) { UNIMPLEMENTED(); }
2041 2041
2042 void InstructionSelector::VisitWord32PairSar(Node* node) { UNIMPLEMENTED(); } 2042 void InstructionSelector::VisitWord32PairSar(Node* node) { UNIMPLEMENTED(); }
2043 #endif // V8_TARGET_ARCH_64_BIT 2043 #endif // V8_TARGET_ARCH_64_BIT
2044 2044
2045 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_IA32 2045 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_IA32 && \
2046 !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_MIPS64
2046 void InstructionSelector::VisitInt32x4Splat(Node* node) { UNIMPLEMENTED(); } 2047 void InstructionSelector::VisitInt32x4Splat(Node* node) { UNIMPLEMENTED(); }
2047 2048
2048 void InstructionSelector::VisitInt32x4ExtractLane(Node* node) { 2049 void InstructionSelector::VisitInt32x4ExtractLane(Node* node) {
2049 UNIMPLEMENTED(); 2050 UNIMPLEMENTED();
2050 } 2051 }
2051 2052
2052 void InstructionSelector::VisitInt32x4ReplaceLane(Node* node) { 2053 void InstructionSelector::VisitInt32x4ReplaceLane(Node* node) {
2053 UNIMPLEMENTED(); 2054 UNIMPLEMENTED();
2054 } 2055 }
2055 2056
2056 void InstructionSelector::VisitInt32x4Add(Node* node) { UNIMPLEMENTED(); } 2057 void InstructionSelector::VisitInt32x4Add(Node* node) { UNIMPLEMENTED(); }
2057 2058
2058 void InstructionSelector::VisitInt32x4Sub(Node* node) { UNIMPLEMENTED(); } 2059 void InstructionSelector::VisitInt32x4Sub(Node* node) { UNIMPLEMENTED(); }
2059 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_IA32 2060 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_IA32 &&
2061 // !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_MIPS64
2060 2062
2061 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM 2063 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM
2062 void InstructionSelector::VisitInt32x4Mul(Node* node) { UNIMPLEMENTED(); } 2064 void InstructionSelector::VisitInt32x4Mul(Node* node) { UNIMPLEMENTED(); }
2063 2065
2064 void InstructionSelector::VisitInt32x4Max(Node* node) { UNIMPLEMENTED(); } 2066 void InstructionSelector::VisitInt32x4Max(Node* node) { UNIMPLEMENTED(); }
2065 2067
2066 void InstructionSelector::VisitInt32x4Min(Node* node) { UNIMPLEMENTED(); } 2068 void InstructionSelector::VisitInt32x4Min(Node* node) { UNIMPLEMENTED(); }
2067 2069
2068 void InstructionSelector::VisitInt32x4Equal(Node* node) { UNIMPLEMENTED(); } 2070 void InstructionSelector::VisitInt32x4Equal(Node* node) { UNIMPLEMENTED(); }
2069 2071
2070 void InstructionSelector::VisitInt32x4NotEqual(Node* node) { UNIMPLEMENTED(); } 2072 void InstructionSelector::VisitInt32x4NotEqual(Node* node) { UNIMPLEMENTED(); }
2071 2073
2072 void InstructionSelector::VisitInt32x4ShiftLeftByScalar(Node* node) { 2074 void InstructionSelector::VisitInt32x4ShiftLeftByScalar(Node* node) {
2073 UNIMPLEMENTED(); 2075 UNIMPLEMENTED();
2074 } 2076 }
2075 2077
2076 void InstructionSelector::VisitInt32x4ShiftRightByScalar(Node* node) { 2078 void InstructionSelector::VisitInt32x4ShiftRightByScalar(Node* node) {
2077 UNIMPLEMENTED(); 2079 UNIMPLEMENTED();
2078 } 2080 }
2079 2081
2080 void InstructionSelector::VisitUint32x4ShiftRightByScalar(Node* node) { 2082 void InstructionSelector::VisitUint32x4ShiftRightByScalar(Node* node) {
2081 UNIMPLEMENTED(); 2083 UNIMPLEMENTED();
2082 } 2084 }
2083 2085
2084 void InstructionSelector::VisitUint32x4Max(Node* node) { UNIMPLEMENTED(); } 2086 void InstructionSelector::VisitUint32x4Max(Node* node) { UNIMPLEMENTED(); }
2085 2087
2086 void InstructionSelector::VisitUint32x4Min(Node* node) { UNIMPLEMENTED(); } 2088 void InstructionSelector::VisitUint32x4Min(Node* node) { UNIMPLEMENTED(); }
2089 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM
2087 2090
2091 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && \
2092 !V8_TARGET_ARCH_MIPS64
2088 void InstructionSelector::VisitSimd128Zero(Node* node) { UNIMPLEMENTED(); } 2093 void InstructionSelector::VisitSimd128Zero(Node* node) { UNIMPLEMENTED(); }
2089 2094
2090 void InstructionSelector::VisitSimd1x4Zero(Node* node) { UNIMPLEMENTED(); } 2095 void InstructionSelector::VisitSimd1x4Zero(Node* node) { UNIMPLEMENTED(); }
2091 2096
2092 void InstructionSelector::VisitSimd1x8Zero(Node* node) { UNIMPLEMENTED(); } 2097 void InstructionSelector::VisitSimd1x8Zero(Node* node) { UNIMPLEMENTED(); }
2093 2098
2094 void InstructionSelector::VisitSimd1x16Zero(Node* node) { UNIMPLEMENTED(); } 2099 void InstructionSelector::VisitSimd1x16Zero(Node* node) { UNIMPLEMENTED(); }
2095 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM 2100 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS &&
2101 // !V8_TARGET_ARCH_MIPS64
2096 2102
2097 #if !V8_TARGET_ARCH_ARM 2103 #if !V8_TARGET_ARCH_ARM
2098 void InstructionSelector::VisitFloat32x4Splat(Node* node) { UNIMPLEMENTED(); } 2104 void InstructionSelector::VisitFloat32x4Splat(Node* node) { UNIMPLEMENTED(); }
2099 2105
2100 void InstructionSelector::VisitFloat32x4ExtractLane(Node* node) { 2106 void InstructionSelector::VisitFloat32x4ExtractLane(Node* node) {
2101 UNIMPLEMENTED(); 2107 UNIMPLEMENTED();
2102 } 2108 }
2103 2109
2104 void InstructionSelector::VisitFloat32x4ReplaceLane(Node* node) { 2110 void InstructionSelector::VisitFloat32x4ReplaceLane(Node* node) {
2105 UNIMPLEMENTED(); 2111 UNIMPLEMENTED();
(...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after
2744 return new (instruction_zone()) FrameStateDescriptor( 2750 return new (instruction_zone()) FrameStateDescriptor(
2745 instruction_zone(), state_info.type(), state_info.bailout_id(), 2751 instruction_zone(), state_info.type(), state_info.bailout_id(),
2746 state_info.state_combine(), parameters, locals, stack, 2752 state_info.state_combine(), parameters, locals, stack,
2747 state_info.shared_info(), outer_state); 2753 state_info.shared_info(), outer_state);
2748 } 2754 }
2749 2755
2750 2756
2751 } // namespace compiler 2757 } // namespace compiler
2752 } // namespace internal 2758 } // namespace internal
2753 } // namespace v8 2759 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/compiler/mips/code-generator-mips.cc » ('j') | test/cctest/wasm/test-run-wasm-simd.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698