| 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 case kAVXFloat32Abs: | 120 case kAVXFloat32Abs: |
| 121 case kAVXFloat32Neg: | 121 case kAVXFloat32Neg: |
| 122 case kX64BitcastFI: | 122 case kX64BitcastFI: |
| 123 case kX64BitcastDL: | 123 case kX64BitcastDL: |
| 124 case kX64BitcastIF: | 124 case kX64BitcastIF: |
| 125 case kX64BitcastLD: | 125 case kX64BitcastLD: |
| 126 case kX64Lea32: | 126 case kX64Lea32: |
| 127 case kX64Lea: | 127 case kX64Lea: |
| 128 case kX64Dec32: | 128 case kX64Dec32: |
| 129 case kX64Inc32: | 129 case kX64Inc32: |
| 130 case kX64Int32x4Create: |
| 131 case kX64Int32x4ExtractLane: |
| 130 return (instr->addressing_mode() == kMode_None) | 132 return (instr->addressing_mode() == kMode_None) |
| 131 ? kNoOpcodeFlags | 133 ? kNoOpcodeFlags |
| 132 : kIsLoadOperation | kHasSideEffect; | 134 : kIsLoadOperation | kHasSideEffect; |
| 133 | 135 |
| 134 case kX64Movsxbl: | 136 case kX64Movsxbl: |
| 135 case kX64Movzxbl: | 137 case kX64Movzxbl: |
| 136 case kX64Movsxbq: | 138 case kX64Movsxbq: |
| 137 case kX64Movzxbq: | 139 case kX64Movzxbq: |
| 138 case kX64Movsxwl: | 140 case kX64Movsxwl: |
| 139 case kX64Movzxwl: | 141 case kX64Movzxwl: |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 | 189 |
| 188 | 190 |
| 189 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 191 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
| 190 // TODO(all): Add instruction cost modeling. | 192 // TODO(all): Add instruction cost modeling. |
| 191 return 1; | 193 return 1; |
| 192 } | 194 } |
| 193 | 195 |
| 194 } // namespace compiler | 196 } // namespace compiler |
| 195 } // namespace internal | 197 } // namespace internal |
| 196 } // namespace v8 | 198 } // namespace v8 |
| OLD | NEW |