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

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

Issue 2011303002: [arm] [arm64] Add optional operators Float32Neg and Float64Neg. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 case kArm64Rbit: 78 case kArm64Rbit:
79 case kArm64Rbit32: 79 case kArm64Rbit32:
80 case kArm64Float32Cmp: 80 case kArm64Float32Cmp:
81 case kArm64Float32Add: 81 case kArm64Float32Add:
82 case kArm64Float32Sub: 82 case kArm64Float32Sub:
83 case kArm64Float32Mul: 83 case kArm64Float32Mul:
84 case kArm64Float32Div: 84 case kArm64Float32Div:
85 case kArm64Float32Max: 85 case kArm64Float32Max:
86 case kArm64Float32Min: 86 case kArm64Float32Min:
87 case kArm64Float32Abs: 87 case kArm64Float32Abs:
88 case kArm64Float32Neg:
88 case kArm64Float32Sqrt: 89 case kArm64Float32Sqrt:
89 case kArm64Float32RoundDown: 90 case kArm64Float32RoundDown:
90 case kArm64Float64Cmp: 91 case kArm64Float64Cmp:
91 case kArm64Float64Add: 92 case kArm64Float64Add:
92 case kArm64Float64Sub: 93 case kArm64Float64Sub:
93 case kArm64Float64Mul: 94 case kArm64Float64Mul:
94 case kArm64Float64Div: 95 case kArm64Float64Div:
95 case kArm64Float64Mod: 96 case kArm64Float64Mod:
96 case kArm64Float64Max: 97 case kArm64Float64Max:
97 case kArm64Float64Min: 98 case kArm64Float64Min:
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 return 20; 285 return 20;
285 286
286 case kArm64Float32Add: 287 case kArm64Float32Add:
287 case kArm64Float32Sub: 288 case kArm64Float32Sub:
288 case kArm64Float64Add: 289 case kArm64Float64Add:
289 case kArm64Float64Sub: 290 case kArm64Float64Sub:
290 return 5; 291 return 5;
291 292
292 case kArm64Float32Abs: 293 case kArm64Float32Abs:
293 case kArm64Float32Cmp: 294 case kArm64Float32Cmp:
295 case kArm64Float32Neg:
294 case kArm64Float64Abs: 296 case kArm64Float64Abs:
295 case kArm64Float64Cmp: 297 case kArm64Float64Cmp:
296 case kArm64Float64Neg: 298 case kArm64Float64Neg:
297 return 3; 299 return 3;
298 300
299 case kArm64Float32Div: 301 case kArm64Float32Div:
300 case kArm64Float32Sqrt: 302 case kArm64Float32Sqrt:
301 return 12; 303 return 12;
302 304
303 case kArm64Float64Div: 305 case kArm64Float64Div:
(...skipping 28 matching lines...) Expand all
332 return 5; 334 return 5;
333 335
334 default: 336 default:
335 return 2; 337 return 2;
336 } 338 }
337 } 339 }
338 340
339 } // namespace compiler 341 } // namespace compiler
340 } // namespace internal 342 } // namespace internal
341 } // namespace v8 343 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm64/instruction-codes-arm64.h ('k') | src/compiler/arm64/instruction-selector-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698