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 23 matching lines...) Expand all Loading... |
34 case kS390_RotLeftAndClear64: | 34 case kS390_RotLeftAndClear64: |
35 case kS390_RotLeftAndClearLeft64: | 35 case kS390_RotLeftAndClearLeft64: |
36 case kS390_RotLeftAndClearRight64: | 36 case kS390_RotLeftAndClearRight64: |
37 case kS390_Add: | 37 case kS390_Add: |
38 case kS390_AddWithOverflow32: | 38 case kS390_AddWithOverflow32: |
39 case kS390_AddPair: | 39 case kS390_AddPair: |
40 case kS390_AddFloat: | 40 case kS390_AddFloat: |
41 case kS390_AddDouble: | 41 case kS390_AddDouble: |
42 case kS390_Sub: | 42 case kS390_Sub: |
43 case kS390_SubWithOverflow32: | 43 case kS390_SubWithOverflow32: |
| 44 case kS390_SubPair: |
44 case kS390_SubFloat: | 45 case kS390_SubFloat: |
45 case kS390_SubDouble: | 46 case kS390_SubDouble: |
46 case kS390_Mul32: | 47 case kS390_Mul32: |
47 case kS390_Mul64: | 48 case kS390_Mul64: |
48 case kS390_MulHigh32: | 49 case kS390_MulHigh32: |
49 case kS390_MulHighU32: | 50 case kS390_MulHighU32: |
50 case kS390_MulFloat: | 51 case kS390_MulFloat: |
51 case kS390_MulDouble: | 52 case kS390_MulDouble: |
52 case kS390_Div32: | 53 case kS390_Div32: |
53 case kS390_Div64: | 54 case kS390_Div64: |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 } | 153 } |
153 | 154 |
154 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 155 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
155 // TODO(all): Add instruction cost modeling. | 156 // TODO(all): Add instruction cost modeling. |
156 return 1; | 157 return 1; |
157 } | 158 } |
158 | 159 |
159 } // namespace compiler | 160 } // namespace compiler |
160 } // namespace internal | 161 } // namespace internal |
161 } // namespace v8 | 162 } // namespace v8 |
OLD | NEW |