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/base/bits.h" | 5 #include "src/base/bits.h" |
6 #include "src/compiler/instruction-selector-impl.h" | 6 #include "src/compiler/instruction-selector-impl.h" |
7 #include "src/compiler/node-matchers.h" | 7 #include "src/compiler/node-matchers.h" |
8 | 8 |
9 namespace v8 { | 9 namespace v8 { |
10 namespace internal { | 10 namespace internal { |
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
402 g.UseFixed(node->InputAt(1), f14))->MarkAsCall(); | 402 g.UseFixed(node->InputAt(1), f14))->MarkAsCall(); |
403 } | 403 } |
404 | 404 |
405 | 405 |
406 void InstructionSelector::VisitFloat64Sqrt(Node* node) { | 406 void InstructionSelector::VisitFloat64Sqrt(Node* node) { |
407 MipsOperandGenerator g(this); | 407 MipsOperandGenerator g(this); |
408 Emit(kMipsSqrtD, g.DefineAsRegister(node), g.UseRegister(node->InputAt(0))); | 408 Emit(kMipsSqrtD, g.DefineAsRegister(node), g.UseRegister(node->InputAt(0))); |
409 } | 409 } |
410 | 410 |
411 | 411 |
| 412 void InstructionSelector::VisitFloat64Floor(Node* node) { |
| 413 UnsupportedOperator(node); |
| 414 } |
| 415 |
| 416 |
| 417 void InstructionSelector::VisitFloat64Ceil(Node* node) { |
| 418 UnsupportedOperator(node); |
| 419 } |
| 420 |
| 421 |
| 422 void InstructionSelector::VisitFloat64RoundTruncate(Node* node) { |
| 423 UnsupportedOperator(node); |
| 424 } |
| 425 |
| 426 |
| 427 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) { |
| 428 UnsupportedOperator(node); |
| 429 } |
| 430 |
| 431 |
412 void InstructionSelector::VisitCall(Node* node) { | 432 void InstructionSelector::VisitCall(Node* node) { |
413 MipsOperandGenerator g(this); | 433 MipsOperandGenerator g(this); |
414 CallDescriptor* descriptor = OpParameter<CallDescriptor*>(node); | 434 CallDescriptor* descriptor = OpParameter<CallDescriptor*>(node); |
415 | 435 |
416 FrameStateDescriptor* frame_state_descriptor = NULL; | 436 FrameStateDescriptor* frame_state_descriptor = NULL; |
417 if (descriptor->NeedsFrameState()) { | 437 if (descriptor->NeedsFrameState()) { |
418 frame_state_descriptor = | 438 frame_state_descriptor = |
419 GetFrameStateDescriptor(node->InputAt(descriptor->InputCount())); | 439 GetFrameStateDescriptor(node->InputAt(descriptor->InputCount())); |
420 } | 440 } |
421 | 441 |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
649 | 669 |
650 | 670 |
651 // static | 671 // static |
652 MachineOperatorBuilder::Flags | 672 MachineOperatorBuilder::Flags |
653 InstructionSelector::SupportedMachineOperatorFlags() { | 673 InstructionSelector::SupportedMachineOperatorFlags() { |
654 return MachineOperatorBuilder::Flag::kNoFlags; | 674 return MachineOperatorBuilder::Flag::kNoFlags; |
655 } | 675 } |
656 } // namespace compiler | 676 } // namespace compiler |
657 } // namespace internal | 677 } // namespace internal |
658 } // namespace v8 | 678 } // namespace v8 |
OLD | NEW |