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