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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 case kPPC_Div32: | 52 case kPPC_Div32: |
53 case kPPC_Div64: | 53 case kPPC_Div64: |
54 case kPPC_DivU32: | 54 case kPPC_DivU32: |
55 case kPPC_DivU64: | 55 case kPPC_DivU64: |
56 case kPPC_DivDouble: | 56 case kPPC_DivDouble: |
57 case kPPC_Mod32: | 57 case kPPC_Mod32: |
58 case kPPC_Mod64: | 58 case kPPC_Mod64: |
59 case kPPC_ModU32: | 59 case kPPC_ModU32: |
60 case kPPC_ModU64: | 60 case kPPC_ModU64: |
61 case kPPC_ModDouble: | 61 case kPPC_ModDouble: |
62 case kPPC_LogDouble: | |
63 case kPPC_Neg: | 62 case kPPC_Neg: |
64 case kPPC_NegDouble: | 63 case kPPC_NegDouble: |
65 case kPPC_SqrtDouble: | 64 case kPPC_SqrtDouble: |
66 case kPPC_FloorDouble: | 65 case kPPC_FloorDouble: |
67 case kPPC_CeilDouble: | 66 case kPPC_CeilDouble: |
68 case kPPC_TruncateDouble: | 67 case kPPC_TruncateDouble: |
69 case kPPC_RoundDouble: | 68 case kPPC_RoundDouble: |
70 case kPPC_MaxDouble: | 69 case kPPC_MaxDouble: |
71 case kPPC_MinDouble: | 70 case kPPC_MinDouble: |
72 case kPPC_AbsDouble: | 71 case kPPC_AbsDouble: |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 | 143 |
145 | 144 |
146 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 145 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
147 // TODO(all): Add instruction cost modeling. | 146 // TODO(all): Add instruction cost modeling. |
148 return 1; | 147 return 1; |
149 } | 148 } |
150 | 149 |
151 } // namespace compiler | 150 } // namespace compiler |
152 } // namespace internal | 151 } // namespace internal |
153 } // namespace v8 | 152 } // namespace v8 |
OLD | NEW |