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 18 matching lines...) Expand all Loading... |
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: | 35 case kS390_RotLeftAndMask32: |
36 case kS390_RotLeftAndClear64: | 36 case kS390_RotLeftAndClear64: |
37 case kS390_RotLeftAndClearLeft64: | 37 case kS390_RotLeftAndClearLeft64: |
38 case kS390_RotLeftAndClearRight64: | 38 case kS390_RotLeftAndClearRight64: |
39 case kS390_Add: | 39 case kS390_Add32: |
40 case kS390_AddWithOverflow32: | 40 case kS390_Add64: |
41 case kS390_AddPair: | 41 case kS390_AddPair: |
42 case kS390_AddFloat: | 42 case kS390_AddFloat: |
43 case kS390_AddDouble: | 43 case kS390_AddDouble: |
44 case kS390_Sub: | 44 case kS390_Sub32: |
45 case kS390_SubWithOverflow32: | 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_Mul32WithHigh32: | 51 case kS390_Mul32WithHigh32: |
52 case kS390_Mul64: | 52 case kS390_Mul64: |
53 case kS390_MulHigh32: | 53 case kS390_MulHigh32: |
54 case kS390_MulHighU32: | 54 case kS390_MulHighU32: |
55 case kS390_MulFloat: | 55 case kS390_MulFloat: |
56 case kS390_MulDouble: | 56 case kS390_MulDouble: |
57 case kS390_Div32: | 57 case kS390_Div32: |
58 case kS390_Div64: | 58 case kS390_Div64: |
59 case kS390_DivU32: | 59 case kS390_DivU32: |
60 case kS390_DivU64: | 60 case kS390_DivU64: |
61 case kS390_DivFloat: | 61 case kS390_DivFloat: |
62 case kS390_DivDouble: | 62 case kS390_DivDouble: |
63 case kS390_Mod32: | 63 case kS390_Mod32: |
64 case kS390_Mod64: | 64 case kS390_Mod64: |
65 case kS390_ModU32: | 65 case kS390_ModU32: |
66 case kS390_ModU64: | 66 case kS390_ModU64: |
67 case kS390_ModDouble: | 67 case kS390_ModDouble: |
68 case kS390_Neg: | 68 case kS390_Neg32: |
| 69 case kS390_Neg64: |
69 case kS390_NegDouble: | 70 case kS390_NegDouble: |
70 case kS390_SqrtFloat: | 71 case kS390_SqrtFloat: |
71 case kS390_FloorFloat: | 72 case kS390_FloorFloat: |
72 case kS390_CeilFloat: | 73 case kS390_CeilFloat: |
73 case kS390_TruncateFloat: | 74 case kS390_TruncateFloat: |
74 case kS390_AbsFloat: | 75 case kS390_AbsFloat: |
75 case kS390_SqrtDouble: | 76 case kS390_SqrtDouble: |
76 case kS390_FloorDouble: | 77 case kS390_FloorDouble: |
77 case kS390_CeilDouble: | 78 case kS390_CeilDouble: |
78 case kS390_TruncateDouble: | 79 case kS390_TruncateDouble: |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 } | 169 } |
169 | 170 |
170 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 171 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
171 // TODO(all): Add instruction cost modeling. | 172 // TODO(all): Add instruction cost modeling. |
172 return 1; | 173 return 1; |
173 } | 174 } |
174 | 175 |
175 } // namespace compiler | 176 } // namespace compiler |
176 } // namespace internal | 177 } // namespace internal |
177 } // namespace v8 | 178 } // namespace v8 |
OLD | NEW |