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: | |
66 case kS390_Neg: | 65 case kS390_Neg: |
67 case kS390_NegDouble: | 66 case kS390_NegDouble: |
68 case kS390_SqrtFloat: | 67 case kS390_SqrtFloat: |
69 case kS390_FloorFloat: | 68 case kS390_FloorFloat: |
70 case kS390_CeilFloat: | 69 case kS390_CeilFloat: |
71 case kS390_TruncateFloat: | 70 case kS390_TruncateFloat: |
72 case kS390_AbsFloat: | 71 case kS390_AbsFloat: |
73 case kS390_SqrtDouble: | 72 case kS390_SqrtDouble: |
74 case kS390_FloorDouble: | 73 case kS390_FloorDouble: |
75 case kS390_CeilDouble: | 74 case kS390_CeilDouble: |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 } | 155 } |
157 | 156 |
158 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 157 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
159 // TODO(all): Add instruction cost modeling. | 158 // TODO(all): Add instruction cost modeling. |
160 return 1; | 159 return 1; |
161 } | 160 } |
162 | 161 |
163 } // namespace compiler | 162 } // namespace compiler |
164 } // namespace internal | 163 } // namespace internal |
165 } // namespace v8 | 164 } // namespace v8 |
OLD | NEW |