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