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 2433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2444 void InstructionSelector::VisitS8x16Shuffle(Node* node) { UNIMPLEMENTED(); } | 2444 void InstructionSelector::VisitS8x16Shuffle(Node* node) { UNIMPLEMENTED(); } |
2445 | 2445 |
2446 #endif // !V8_TARGET_ARCH_ARM | 2446 #endif // !V8_TARGET_ARCH_ARM |
2447 | 2447 |
2448 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && \ | 2448 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && \ |
2449 !V8_TARGET_ARCH_MIPS64 | 2449 !V8_TARGET_ARCH_MIPS64 |
2450 void InstructionSelector::VisitS8x16Select(Node* node) { UNIMPLEMENTED(); } | 2450 void InstructionSelector::VisitS8x16Select(Node* node) { UNIMPLEMENTED(); } |
2451 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && | 2451 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && |
2452 // !V8_TARGET_ARCH_MIPS64 | 2452 // !V8_TARGET_ARCH_MIPS64 |
2453 | 2453 |
2454 #if !V8_TARGET_ARCH_ARM | 2454 #if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_MIPS64 |
2455 void InstructionSelector::VisitS1x4And(Node* node) { UNIMPLEMENTED(); } | 2455 void InstructionSelector::VisitS1x4And(Node* node) { UNIMPLEMENTED(); } |
2456 | 2456 |
2457 void InstructionSelector::VisitS1x4Or(Node* node) { UNIMPLEMENTED(); } | 2457 void InstructionSelector::VisitS1x4Or(Node* node) { UNIMPLEMENTED(); } |
2458 | 2458 |
2459 void InstructionSelector::VisitS1x4Xor(Node* node) { UNIMPLEMENTED(); } | 2459 void InstructionSelector::VisitS1x4Xor(Node* node) { UNIMPLEMENTED(); } |
2460 | 2460 |
2461 void InstructionSelector::VisitS1x4Not(Node* node) { UNIMPLEMENTED(); } | 2461 void InstructionSelector::VisitS1x4Not(Node* node) { UNIMPLEMENTED(); } |
2462 | 2462 |
2463 void InstructionSelector::VisitS1x4AnyTrue(Node* node) { UNIMPLEMENTED(); } | 2463 void InstructionSelector::VisitS1x4AnyTrue(Node* node) { UNIMPLEMENTED(); } |
2464 | 2464 |
(...skipping 15 matching lines...) Expand all Loading... |
2480 | 2480 |
2481 void InstructionSelector::VisitS1x16Or(Node* node) { UNIMPLEMENTED(); } | 2481 void InstructionSelector::VisitS1x16Or(Node* node) { UNIMPLEMENTED(); } |
2482 | 2482 |
2483 void InstructionSelector::VisitS1x16Xor(Node* node) { UNIMPLEMENTED(); } | 2483 void InstructionSelector::VisitS1x16Xor(Node* node) { UNIMPLEMENTED(); } |
2484 | 2484 |
2485 void InstructionSelector::VisitS1x16Not(Node* node) { UNIMPLEMENTED(); } | 2485 void InstructionSelector::VisitS1x16Not(Node* node) { UNIMPLEMENTED(); } |
2486 | 2486 |
2487 void InstructionSelector::VisitS1x16AnyTrue(Node* node) { UNIMPLEMENTED(); } | 2487 void InstructionSelector::VisitS1x16AnyTrue(Node* node) { UNIMPLEMENTED(); } |
2488 | 2488 |
2489 void InstructionSelector::VisitS1x16AllTrue(Node* node) { UNIMPLEMENTED(); } | 2489 void InstructionSelector::VisitS1x16AllTrue(Node* node) { UNIMPLEMENTED(); } |
2490 #endif // !V8_TARGET_ARCH_ARM | 2490 #endif // !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_MIPS64 |
2491 | 2491 |
2492 void InstructionSelector::VisitFinishRegion(Node* node) { EmitIdentity(node); } | 2492 void InstructionSelector::VisitFinishRegion(Node* node) { EmitIdentity(node); } |
2493 | 2493 |
2494 void InstructionSelector::VisitParameter(Node* node) { | 2494 void InstructionSelector::VisitParameter(Node* node) { |
2495 OperandGenerator g(this); | 2495 OperandGenerator g(this); |
2496 int index = ParameterIndexOf(node->op()); | 2496 int index = ParameterIndexOf(node->op()); |
2497 InstructionOperand op = | 2497 InstructionOperand op = |
2498 linkage()->ParameterHasSecondaryLocation(index) | 2498 linkage()->ParameterHasSecondaryLocation(index) |
2499 ? g.DefineAsDualLocation( | 2499 ? g.DefineAsDualLocation( |
2500 node, linkage()->GetParameterLocation(index), | 2500 node, linkage()->GetParameterLocation(index), |
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2861 return new (instruction_zone()) FrameStateDescriptor( | 2861 return new (instruction_zone()) FrameStateDescriptor( |
2862 instruction_zone(), state_info.type(), state_info.bailout_id(), | 2862 instruction_zone(), state_info.type(), state_info.bailout_id(), |
2863 state_info.state_combine(), parameters, locals, stack, | 2863 state_info.state_combine(), parameters, locals, stack, |
2864 state_info.shared_info(), outer_state); | 2864 state_info.shared_info(), outer_state); |
2865 } | 2865 } |
2866 | 2866 |
2867 | 2867 |
2868 } // namespace compiler | 2868 } // namespace compiler |
2869 } // namespace internal | 2869 } // namespace internal |
2870 } // namespace v8 | 2870 } // namespace v8 |
OLD | NEW |