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 14 matching lines...) Expand all Loading... |
25 case kS390_ShiftRight32: | 25 case kS390_ShiftRight32: |
26 case kS390_ShiftRight64: | 26 case kS390_ShiftRight64: |
27 case kS390_ShiftRightPair: | 27 case kS390_ShiftRightPair: |
28 case kS390_ShiftRightArith32: | 28 case kS390_ShiftRightArith32: |
29 case kS390_ShiftRightArith64: | 29 case kS390_ShiftRightArith64: |
30 case kS390_ShiftRightArithPair: | 30 case kS390_ShiftRightArithPair: |
31 case kS390_RotRight32: | 31 case kS390_RotRight32: |
32 case kS390_RotRight64: | 32 case kS390_RotRight64: |
33 case kS390_Not32: | 33 case kS390_Not32: |
34 case kS390_Not64: | 34 case kS390_Not64: |
35 case kS390_RotLeftAndMask32: | |
36 case kS390_RotLeftAndClear64: | 35 case kS390_RotLeftAndClear64: |
37 case kS390_RotLeftAndClearLeft64: | 36 case kS390_RotLeftAndClearLeft64: |
38 case kS390_RotLeftAndClearRight64: | 37 case kS390_RotLeftAndClearRight64: |
39 case kS390_Add32: | 38 case kS390_Add32: |
40 case kS390_Add64: | 39 case kS390_Add64: |
41 case kS390_AddPair: | 40 case kS390_AddPair: |
42 case kS390_AddFloat: | 41 case kS390_AddFloat: |
43 case kS390_AddDouble: | 42 case kS390_AddDouble: |
44 case kS390_Sub32: | 43 case kS390_Sub32: |
45 case kS390_Sub64: | 44 case kS390_Sub64: |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 } | 171 } |
173 | 172 |
174 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 173 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
175 // TODO(all): Add instruction cost modeling. | 174 // TODO(all): Add instruction cost modeling. |
176 return 1; | 175 return 1; |
177 } | 176 } |
178 | 177 |
179 } // namespace compiler | 178 } // namespace compiler |
180 } // namespace internal | 179 } // namespace internal |
181 } // namespace v8 | 180 } // namespace v8 |
OLD | NEW |