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 857 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
868 Emit(kX87Float64Round | MiscField::encode(kRoundToZero), | 868 Emit(kX87Float64Round | MiscField::encode(kRoundToZero), |
869 g.UseFixed(node, stX_0), g.Use(node->InputAt(0))); | 869 g.UseFixed(node, stX_0), g.Use(node->InputAt(0))); |
870 } | 870 } |
871 | 871 |
872 | 872 |
873 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) { | 873 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) { |
874 UNREACHABLE(); | 874 UNREACHABLE(); |
875 } | 875 } |
876 | 876 |
877 | 877 |
| 878 void InstructionSelector::VisitFloat32RoundTiesEven(Node* node) { |
| 879 UNREACHABLE(); |
| 880 } |
| 881 |
| 882 |
878 void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) { | 883 void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) { |
879 UNREACHABLE(); | 884 UNREACHABLE(); |
880 } | 885 } |
881 | 886 |
882 | 887 |
883 void InstructionSelector::EmitPrepareArguments(NodeVector* arguments, | 888 void InstructionSelector::EmitPrepareArguments(NodeVector* arguments, |
884 const CallDescriptor* descriptor, | 889 const CallDescriptor* descriptor, |
885 Node* node) { | 890 Node* node) { |
886 X87OperandGenerator g(this); | 891 X87OperandGenerator g(this); |
887 | 892 |
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1294 MachineOperatorBuilder::kWord32ShiftIsSafe; | 1299 MachineOperatorBuilder::kWord32ShiftIsSafe; |
1295 if (CpuFeatures::IsSupported(POPCNT)) { | 1300 if (CpuFeatures::IsSupported(POPCNT)) { |
1296 flags |= MachineOperatorBuilder::kWord32Popcnt; | 1301 flags |= MachineOperatorBuilder::kWord32Popcnt; |
1297 } | 1302 } |
1298 return flags; | 1303 return flags; |
1299 } | 1304 } |
1300 | 1305 |
1301 } // namespace compiler | 1306 } // namespace compiler |
1302 } // namespace internal | 1307 } // namespace internal |
1303 } // namespace v8 | 1308 } // namespace v8 |
OLD | NEW |