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: |
62 case kPPC_Neg: | 63 case kPPC_Neg: |
63 case kPPC_NegDouble: | 64 case kPPC_NegDouble: |
64 case kPPC_SqrtDouble: | 65 case kPPC_SqrtDouble: |
65 case kPPC_FloorDouble: | 66 case kPPC_FloorDouble: |
66 case kPPC_CeilDouble: | 67 case kPPC_CeilDouble: |
67 case kPPC_TruncateDouble: | 68 case kPPC_TruncateDouble: |
68 case kPPC_RoundDouble: | 69 case kPPC_RoundDouble: |
69 case kPPC_MaxDouble: | 70 case kPPC_MaxDouble: |
70 case kPPC_MinDouble: | 71 case kPPC_MinDouble: |
71 case kPPC_AbsDouble: | 72 case kPPC_AbsDouble: |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 | 144 |
144 | 145 |
145 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 146 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
146 // TODO(all): Add instruction cost modeling. | 147 // TODO(all): Add instruction cost modeling. |
147 return 1; | 148 return 1; |
148 } | 149 } |
149 | 150 |
150 } // namespace compiler | 151 } // namespace compiler |
151 } // namespace internal | 152 } // namespace internal |
152 } // namespace v8 | 153 } // namespace v8 |
OLD | NEW |