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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 case kS390_AddFloat: | 42 case kS390_AddFloat: |
43 case kS390_AddDouble: | 43 case kS390_AddDouble: |
44 case kS390_Sub32: | 44 case kS390_Sub32: |
45 case kS390_Sub64: | 45 case kS390_Sub64: |
46 case kS390_SubPair: | 46 case kS390_SubPair: |
47 case kS390_MulPair: | 47 case kS390_MulPair: |
48 case kS390_SubFloat: | 48 case kS390_SubFloat: |
49 case kS390_SubDouble: | 49 case kS390_SubDouble: |
50 case kS390_Mul32: | 50 case kS390_Mul32: |
51 case kS390_Mul32WithOverflow: | 51 case kS390_Mul32WithOverflow: |
52 case kS390_Mul32WithHigh32: | |
53 case kS390_Mul64: | 52 case kS390_Mul64: |
54 case kS390_MulHigh32: | 53 case kS390_MulHigh32: |
55 case kS390_MulHighU32: | 54 case kS390_MulHighU32: |
56 case kS390_MulFloat: | 55 case kS390_MulFloat: |
57 case kS390_MulDouble: | 56 case kS390_MulDouble: |
58 case kS390_Div32: | 57 case kS390_Div32: |
59 case kS390_Div64: | 58 case kS390_Div64: |
60 case kS390_DivU32: | 59 case kS390_DivU32: |
61 case kS390_DivU64: | 60 case kS390_DivU64: |
62 case kS390_DivFloat: | 61 case kS390_DivFloat: |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 } | 172 } |
174 | 173 |
175 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 174 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
176 // TODO(all): Add instruction cost modeling. | 175 // TODO(all): Add instruction cost modeling. |
177 return 1; | 176 return 1; |
178 } | 177 } |
179 | 178 |
180 } // namespace compiler | 179 } // namespace compiler |
181 } // namespace internal | 180 } // namespace internal |
182 } // namespace v8 | 181 } // namespace v8 |
OLD | NEW |