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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 case kArmVcvtS32F64: | 96 case kArmVcvtS32F64: |
97 case kArmVcvtU32F64: | 97 case kArmVcvtU32F64: |
98 case kArmVmovU32F32: | 98 case kArmVmovU32F32: |
99 case kArmVmovF32U32: | 99 case kArmVmovF32U32: |
100 case kArmVmovLowU32F64: | 100 case kArmVmovLowU32F64: |
101 case kArmVmovLowF64U32: | 101 case kArmVmovLowF64U32: |
102 case kArmVmovHighU32F64: | 102 case kArmVmovHighU32F64: |
103 case kArmVmovHighF64U32: | 103 case kArmVmovHighF64U32: |
104 case kArmVmovF64U32U32: | 104 case kArmVmovF64U32U32: |
105 case kArmVmovU32U32F64: | 105 case kArmVmovU32U32F64: |
| 106 case kArmFloat32Max: |
106 case kArmFloat64Max: | 107 case kArmFloat64Max: |
| 108 case kArmFloat32Min: |
107 case kArmFloat64Min: | 109 case kArmFloat64Min: |
108 case kArmFloat64SilenceNaN: | 110 case kArmFloat64SilenceNaN: |
109 return kNoOpcodeFlags; | 111 return kNoOpcodeFlags; |
110 | 112 |
111 case kArmVldrF32: | 113 case kArmVldrF32: |
112 case kArmVldrF64: | 114 case kArmVldrF64: |
113 case kArmLdrb: | 115 case kArmLdrb: |
114 case kArmLdrsb: | 116 case kArmLdrsb: |
115 case kArmLdrh: | 117 case kArmLdrh: |
116 case kArmLdrsh: | 118 case kArmLdrsh: |
(...skipping 22 matching lines...) Expand all Loading... |
139 | 141 |
140 | 142 |
141 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 143 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
142 // TODO(all): Add instruction cost modeling. | 144 // TODO(all): Add instruction cost modeling. |
143 return 1; | 145 return 1; |
144 } | 146 } |
145 | 147 |
146 } // namespace compiler | 148 } // namespace compiler |
147 } // namespace internal | 149 } // namespace internal |
148 } // namespace v8 | 150 } // namespace v8 |
OLD | NEW |