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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 case kArmVcvtF64U32: | 92 case kArmVcvtF64U32: |
93 case kArmVcvtS32F32: | 93 case kArmVcvtS32F32: |
94 case kArmVcvtU32F32: | 94 case kArmVcvtU32F32: |
95 case kArmVcvtS32F64: | 95 case kArmVcvtS32F64: |
96 case kArmVcvtU32F64: | 96 case kArmVcvtU32F64: |
97 case kArmVmovLowU32F64: | 97 case kArmVmovLowU32F64: |
98 case kArmVmovLowF64U32: | 98 case kArmVmovLowF64U32: |
99 case kArmVmovHighU32F64: | 99 case kArmVmovHighU32F64: |
100 case kArmVmovHighF64U32: | 100 case kArmVmovHighF64U32: |
101 case kArmVmovF64U32U32: | 101 case kArmVmovF64U32U32: |
| 102 case kArmFloat64Max: |
| 103 case kArmFloat64Min: |
| 104 case kArmFloat32Max: |
| 105 case kArmFloat32Min: |
102 return kNoOpcodeFlags; | 106 return kNoOpcodeFlags; |
103 | 107 |
104 case kArmVldrF32: | 108 case kArmVldrF32: |
105 case kArmVldrF64: | 109 case kArmVldrF64: |
106 case kArmLdrb: | 110 case kArmLdrb: |
107 case kArmLdrsb: | 111 case kArmLdrsb: |
108 case kArmLdrh: | 112 case kArmLdrh: |
109 case kArmLdrsh: | 113 case kArmLdrsh: |
110 case kArmLdr: | 114 case kArmLdr: |
111 return kIsLoadOperation; | 115 return kIsLoadOperation; |
(...skipping 20 matching lines...) Expand all Loading... |
132 | 136 |
133 | 137 |
134 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 138 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
135 // TODO(all): Add instruction cost modeling. | 139 // TODO(all): Add instruction cost modeling. |
136 return 1; | 140 return 1; |
137 } | 141 } |
138 | 142 |
139 } // namespace compiler | 143 } // namespace compiler |
140 } // namespace internal | 144 } // namespace internal |
141 } // namespace v8 | 145 } // namespace v8 |
OLD | NEW |