OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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-scheduler.h" | 5 #include "src/compiler/instruction-scheduler.h" |
6 | 6 |
7 namespace v8 { | 7 namespace v8 { |
8 namespace internal { | 8 namespace internal { |
9 namespace compiler { | 9 namespace compiler { |
10 | 10 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 case kS390_SqrtFloat: | 72 case kS390_SqrtFloat: |
73 case kS390_FloorFloat: | 73 case kS390_FloorFloat: |
74 case kS390_CeilFloat: | 74 case kS390_CeilFloat: |
75 case kS390_TruncateFloat: | 75 case kS390_TruncateFloat: |
76 case kS390_AbsFloat: | 76 case kS390_AbsFloat: |
77 case kS390_SqrtDouble: | 77 case kS390_SqrtDouble: |
78 case kS390_FloorDouble: | 78 case kS390_FloorDouble: |
79 case kS390_CeilDouble: | 79 case kS390_CeilDouble: |
80 case kS390_TruncateDouble: | 80 case kS390_TruncateDouble: |
81 case kS390_RoundDouble: | 81 case kS390_RoundDouble: |
| 82 case kS390_MaxFloat: |
82 case kS390_MaxDouble: | 83 case kS390_MaxDouble: |
| 84 case kS390_MinFloat: |
83 case kS390_MinDouble: | 85 case kS390_MinDouble: |
84 case kS390_AbsDouble: | 86 case kS390_AbsDouble: |
85 case kS390_Cntlz32: | 87 case kS390_Cntlz32: |
86 case kS390_Cntlz64: | 88 case kS390_Cntlz64: |
87 case kS390_Popcnt32: | 89 case kS390_Popcnt32: |
88 case kS390_Popcnt64: | 90 case kS390_Popcnt64: |
89 case kS390_Cmp32: | 91 case kS390_Cmp32: |
90 case kS390_Cmp64: | 92 case kS390_Cmp64: |
91 case kS390_CmpFloat: | 93 case kS390_CmpFloat: |
92 case kS390_CmpDouble: | 94 case kS390_CmpDouble: |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 } | 172 } |
171 | 173 |
172 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 174 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
173 // TODO(all): Add instruction cost modeling. | 175 // TODO(all): Add instruction cost modeling. |
174 return 1; | 176 return 1; |
175 } | 177 } |
176 | 178 |
177 } // namespace compiler | 179 } // namespace compiler |
178 } // namespace internal | 180 } // namespace internal |
179 } // namespace v8 | 181 } // namespace v8 |
OLD | NEW |