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/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 #include "src/compiler/node-properties.h" | 8 #include "src/compiler/node-properties.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
851 g.UseFixed(node, stX_0), g.Use(node->InputAt(0))); | 851 g.UseFixed(node, stX_0), g.Use(node->InputAt(0))); |
852 } | 852 } |
853 | 853 |
854 | 854 |
855 void InstructionSelector::VisitFloat32RoundUp(Node* node) { UNREACHABLE(); } | 855 void InstructionSelector::VisitFloat32RoundUp(Node* node) { UNREACHABLE(); } |
856 | 856 |
857 | 857 |
858 void InstructionSelector::VisitFloat64RoundUp(Node* node) { UNREACHABLE(); } | 858 void InstructionSelector::VisitFloat64RoundUp(Node* node) { UNREACHABLE(); } |
859 | 859 |
860 | 860 |
| 861 void InstructionSelector::VisitFloat32RoundTruncate(Node* node) { |
| 862 UNREACHABLE(); |
| 863 } |
| 864 |
| 865 |
861 void InstructionSelector::VisitFloat64RoundTruncate(Node* node) { | 866 void InstructionSelector::VisitFloat64RoundTruncate(Node* node) { |
862 X87OperandGenerator g(this); | 867 X87OperandGenerator g(this); |
863 Emit(kX87Float64Round | MiscField::encode(kRoundToZero), | 868 Emit(kX87Float64Round | MiscField::encode(kRoundToZero), |
864 g.UseFixed(node, stX_0), g.Use(node->InputAt(0))); | 869 g.UseFixed(node, stX_0), g.Use(node->InputAt(0))); |
865 } | 870 } |
866 | 871 |
867 | 872 |
868 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) { | 873 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) { |
869 UNREACHABLE(); | 874 UNREACHABLE(); |
870 } | 875 } |
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1289 MachineOperatorBuilder::kWord32ShiftIsSafe; | 1294 MachineOperatorBuilder::kWord32ShiftIsSafe; |
1290 if (CpuFeatures::IsSupported(POPCNT)) { | 1295 if (CpuFeatures::IsSupported(POPCNT)) { |
1291 flags |= MachineOperatorBuilder::kWord32Popcnt; | 1296 flags |= MachineOperatorBuilder::kWord32Popcnt; |
1292 } | 1297 } |
1293 return flags; | 1298 return flags; |
1294 } | 1299 } |
1295 | 1300 |
1296 } // namespace compiler | 1301 } // namespace compiler |
1297 } // namespace internal | 1302 } // namespace internal |
1298 } // namespace v8 | 1303 } // namespace v8 |
OLD | NEW |