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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 case kS390_Div64: | 55 case kS390_Div64: |
56 case kS390_DivU32: | 56 case kS390_DivU32: |
57 case kS390_DivU64: | 57 case kS390_DivU64: |
58 case kS390_DivFloat: | 58 case kS390_DivFloat: |
59 case kS390_DivDouble: | 59 case kS390_DivDouble: |
60 case kS390_Mod32: | 60 case kS390_Mod32: |
61 case kS390_Mod64: | 61 case kS390_Mod64: |
62 case kS390_ModU32: | 62 case kS390_ModU32: |
63 case kS390_ModU64: | 63 case kS390_ModU64: |
64 case kS390_ModDouble: | 64 case kS390_ModDouble: |
| 65 case kS390_LogDouble: |
65 case kS390_Neg: | 66 case kS390_Neg: |
66 case kS390_NegDouble: | 67 case kS390_NegDouble: |
67 case kS390_SqrtFloat: | 68 case kS390_SqrtFloat: |
68 case kS390_FloorFloat: | 69 case kS390_FloorFloat: |
69 case kS390_CeilFloat: | 70 case kS390_CeilFloat: |
70 case kS390_TruncateFloat: | 71 case kS390_TruncateFloat: |
71 case kS390_AbsFloat: | 72 case kS390_AbsFloat: |
72 case kS390_SqrtDouble: | 73 case kS390_SqrtDouble: |
73 case kS390_FloorDouble: | 74 case kS390_FloorDouble: |
74 case kS390_CeilDouble: | 75 case kS390_CeilDouble: |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 } | 156 } |
156 | 157 |
157 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 158 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
158 // TODO(all): Add instruction cost modeling. | 159 // TODO(all): Add instruction cost modeling. |
159 return 1; | 160 return 1; |
160 } | 161 } |
161 | 162 |
162 } // namespace compiler | 163 } // namespace compiler |
163 } // namespace internal | 164 } // namespace internal |
164 } // namespace v8 | 165 } // namespace v8 |
OLD | NEW |