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

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

Issue 2801683003: MIPS[64]: Support for some SIMD operations (8) (Closed)
Patch Set: Created 3 years, 8 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 2276 matching lines...) Expand 10 before | Expand all | Expand 10 after
2287 // !V8_TARGET_ARCH_MIPS64 2287 // !V8_TARGET_ARCH_MIPS64
2288 2288
2289 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM 2289 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM
2290 void InstructionSelector::VisitS32x4Select(Node* node) { UNIMPLEMENTED(); } 2290 void InstructionSelector::VisitS32x4Select(Node* node) { UNIMPLEMENTED(); }
2291 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM 2291 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM
2292 2292
2293 #if !V8_TARGET_ARCH_ARM 2293 #if !V8_TARGET_ARCH_ARM
2294 void InstructionSelector::VisitS16x8Select(Node* node) { UNIMPLEMENTED(); } 2294 void InstructionSelector::VisitS16x8Select(Node* node) { UNIMPLEMENTED(); }
2295 2295
2296 void InstructionSelector::VisitS8x16Select(Node* node) { UNIMPLEMENTED(); } 2296 void InstructionSelector::VisitS8x16Select(Node* node) { UNIMPLEMENTED(); }
2297 #endif // !V8_TARGET_ARCH_ARM
2297 2298
2299 #if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_MIPS64
2298 void InstructionSelector::VisitS1x4And(Node* node) { UNIMPLEMENTED(); } 2300 void InstructionSelector::VisitS1x4And(Node* node) { UNIMPLEMENTED(); }
2299 2301
2300 void InstructionSelector::VisitS1x4Or(Node* node) { UNIMPLEMENTED(); } 2302 void InstructionSelector::VisitS1x4Or(Node* node) { UNIMPLEMENTED(); }
2301 2303
2302 void InstructionSelector::VisitS1x4Xor(Node* node) { UNIMPLEMENTED(); } 2304 void InstructionSelector::VisitS1x4Xor(Node* node) { UNIMPLEMENTED(); }
2303 2305
2304 void InstructionSelector::VisitS1x4Not(Node* node) { UNIMPLEMENTED(); } 2306 void InstructionSelector::VisitS1x4Not(Node* node) { UNIMPLEMENTED(); }
2305 2307
2306 void InstructionSelector::VisitS1x4AnyTrue(Node* node) { UNIMPLEMENTED(); } 2308 void InstructionSelector::VisitS1x4AnyTrue(Node* node) { UNIMPLEMENTED(); }
2307 2309
(...skipping 15 matching lines...) Expand all
2323 2325
2324 void InstructionSelector::VisitS1x16Or(Node* node) { UNIMPLEMENTED(); } 2326 void InstructionSelector::VisitS1x16Or(Node* node) { UNIMPLEMENTED(); }
2325 2327
2326 void InstructionSelector::VisitS1x16Xor(Node* node) { UNIMPLEMENTED(); } 2328 void InstructionSelector::VisitS1x16Xor(Node* node) { UNIMPLEMENTED(); }
2327 2329
2328 void InstructionSelector::VisitS1x16Not(Node* node) { UNIMPLEMENTED(); } 2330 void InstructionSelector::VisitS1x16Not(Node* node) { UNIMPLEMENTED(); }
2329 2331
2330 void InstructionSelector::VisitS1x16AnyTrue(Node* node) { UNIMPLEMENTED(); } 2332 void InstructionSelector::VisitS1x16AnyTrue(Node* node) { UNIMPLEMENTED(); }
2331 2333
2332 void InstructionSelector::VisitS1x16AllTrue(Node* node) { UNIMPLEMENTED(); } 2334 void InstructionSelector::VisitS1x16AllTrue(Node* node) { UNIMPLEMENTED(); }
2333 #endif // !V8_TARGET_ARCH_ARM 2335 #endif // !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_MIPS64
2334 2336
2335 void InstructionSelector::VisitFinishRegion(Node* node) { EmitIdentity(node); } 2337 void InstructionSelector::VisitFinishRegion(Node* node) { EmitIdentity(node); }
2336 2338
2337 void InstructionSelector::VisitParameter(Node* node) { 2339 void InstructionSelector::VisitParameter(Node* node) {
2338 OperandGenerator g(this); 2340 OperandGenerator g(this);
2339 int index = ParameterIndexOf(node->op()); 2341 int index = ParameterIndexOf(node->op());
2340 InstructionOperand op = 2342 InstructionOperand op =
2341 linkage()->ParameterHasSecondaryLocation(index) 2343 linkage()->ParameterHasSecondaryLocation(index)
2342 ? g.DefineAsDualLocation( 2344 ? g.DefineAsDualLocation(
2343 node, linkage()->GetParameterLocation(index), 2345 node, linkage()->GetParameterLocation(index),
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
2704 return new (instruction_zone()) FrameStateDescriptor( 2706 return new (instruction_zone()) FrameStateDescriptor(
2705 instruction_zone(), state_info.type(), state_info.bailout_id(), 2707 instruction_zone(), state_info.type(), state_info.bailout_id(),
2706 state_info.state_combine(), parameters, locals, stack, 2708 state_info.state_combine(), parameters, locals, stack,
2707 state_info.shared_info(), outer_state); 2709 state_info.shared_info(), outer_state);
2708 } 2710 }
2709 2711
2710 2712
2711 } // namespace compiler 2713 } // namespace compiler
2712 } // namespace internal 2714 } // namespace internal
2713 } // namespace v8 2715 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/compiler/mips/code-generator-mips.cc » ('j') | src/compiler/mips/code-generator-mips.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698