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/adapters.h" | 5 #include "src/base/adapters.h" |
6 #include "src/base/bits.h" | 6 #include "src/base/bits.h" |
7 #include "src/compiler/instruction-selector-impl.h" | 7 #include "src/compiler/instruction-selector-impl.h" |
8 #include "src/compiler/node-matchers.h" | 8 #include "src/compiler/node-matchers.h" |
9 #include "src/compiler/node-properties.h" | 9 #include "src/compiler/node-properties.h" |
10 | 10 |
(...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
795 void InstructionSelector::VisitFloat64Sqrt(Node* node) { | 795 void InstructionSelector::VisitFloat64Sqrt(Node* node) { |
796 VisitRR(this, kMips64SqrtD, node); | 796 VisitRR(this, kMips64SqrtD, node); |
797 } | 797 } |
798 | 798 |
799 | 799 |
800 void InstructionSelector::VisitFloat64RoundDown(Node* node) { | 800 void InstructionSelector::VisitFloat64RoundDown(Node* node) { |
801 VisitRR(this, kMips64Float64RoundDown, node); | 801 VisitRR(this, kMips64Float64RoundDown, node); |
802 } | 802 } |
803 | 803 |
804 | 804 |
| 805 void InstructionSelector::VisitFloat64RoundUp(Node* node) { |
| 806 VisitRR(this, kMips64Float64RoundUp, node); |
| 807 } |
| 808 |
| 809 |
805 void InstructionSelector::VisitFloat64RoundTruncate(Node* node) { | 810 void InstructionSelector::VisitFloat64RoundTruncate(Node* node) { |
806 VisitRR(this, kMips64Float64RoundTruncate, node); | 811 VisitRR(this, kMips64Float64RoundTruncate, node); |
807 } | 812 } |
808 | 813 |
809 | 814 |
810 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) { | 815 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) { |
811 UNREACHABLE(); | 816 UNREACHABLE(); |
812 } | 817 } |
813 | 818 |
814 | 819 |
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1385 | 1390 |
1386 | 1391 |
1387 // static | 1392 // static |
1388 MachineOperatorBuilder::Flags | 1393 MachineOperatorBuilder::Flags |
1389 InstructionSelector::SupportedMachineOperatorFlags() { | 1394 InstructionSelector::SupportedMachineOperatorFlags() { |
1390 return MachineOperatorBuilder::kFloat64Min | | 1395 return MachineOperatorBuilder::kFloat64Min | |
1391 MachineOperatorBuilder::kFloat64Max | | 1396 MachineOperatorBuilder::kFloat64Max | |
1392 MachineOperatorBuilder::kFloat32Min | | 1397 MachineOperatorBuilder::kFloat32Min | |
1393 MachineOperatorBuilder::kFloat32Max | | 1398 MachineOperatorBuilder::kFloat32Max | |
1394 MachineOperatorBuilder::kFloat64RoundDown | | 1399 MachineOperatorBuilder::kFloat64RoundDown | |
| 1400 MachineOperatorBuilder::kFloat64RoundUp | |
1395 MachineOperatorBuilder::kFloat64RoundTruncate; | 1401 MachineOperatorBuilder::kFloat64RoundTruncate; |
1396 } | 1402 } |
1397 | 1403 |
1398 } // namespace compiler | 1404 } // namespace compiler |
1399 } // namespace internal | 1405 } // namespace internal |
1400 } // namespace v8 | 1406 } // namespace v8 |
OLD | NEW |