| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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_Neg: |
| 69 case kS390_NegDouble: | 69 case kS390_NegDouble: |
| 70 case kS390_NegFloat: |
| 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: |
| 79 case kS390_RoundDouble: | 80 case kS390_RoundDouble: |
| (...skipping 88 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 |