Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(785)

Side by Side Diff: src/compiler/arm/instruction-scheduler-arm.cc

Issue 1862993002: [arm] Implement Float(32|64)(Min|Max) using vsel. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler/arm/instruction-codes-arm.h ('k') | src/compiler/arm/instruction-selector-arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/compiler/arm/instruction-codes-arm.h ('k') | src/compiler/arm/instruction-selector-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698