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

Side by Side Diff: src/compiler/raw-machine-assembler.h

Issue 2220973002: [turbofan] Remove the FloatXXSubPreserveNan operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Reintroduce an optimization for arm. Created 4 years, 4 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/opcodes.h ('k') | src/compiler/typer.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 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 #ifndef V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 5 #ifndef V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/compiler/common-operator.h" 9 #include "src/compiler/common-operator.h"
10 #include "src/compiler/graph.h" 10 #include "src/compiler/graph.h"
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 UINTPTR_BINOP(Uint, GreaterThan); 426 UINTPTR_BINOP(Uint, GreaterThan);
427 427
428 #undef UINTPTR_BINOP 428 #undef UINTPTR_BINOP
429 429
430 Node* Float32Add(Node* a, Node* b) { 430 Node* Float32Add(Node* a, Node* b) {
431 return AddNode(machine()->Float32Add(), a, b); 431 return AddNode(machine()->Float32Add(), a, b);
432 } 432 }
433 Node* Float32Sub(Node* a, Node* b) { 433 Node* Float32Sub(Node* a, Node* b) {
434 return AddNode(machine()->Float32Sub(), a, b); 434 return AddNode(machine()->Float32Sub(), a, b);
435 } 435 }
436 Node* Float32SubPreserveNan(Node* a, Node* b) {
437 return AddNode(machine()->Float32SubPreserveNan(), a, b);
438 }
439 Node* Float32Mul(Node* a, Node* b) { 436 Node* Float32Mul(Node* a, Node* b) {
440 return AddNode(machine()->Float32Mul(), a, b); 437 return AddNode(machine()->Float32Mul(), a, b);
441 } 438 }
442 Node* Float32Div(Node* a, Node* b) { 439 Node* Float32Div(Node* a, Node* b) {
443 return AddNode(machine()->Float32Div(), a, b); 440 return AddNode(machine()->Float32Div(), a, b);
444 } 441 }
445 Node* Float32Abs(Node* a) { return AddNode(machine()->Float32Abs(), a); } 442 Node* Float32Abs(Node* a) { return AddNode(machine()->Float32Abs(), a); }
446 Node* Float32Neg(Node* a) { return AddNode(machine()->Float32Neg(), a); } 443 Node* Float32Neg(Node* a) { return AddNode(machine()->Float32Neg(), a); }
447 Node* Float32Sqrt(Node* a) { return AddNode(machine()->Float32Sqrt(), a); } 444 Node* Float32Sqrt(Node* a) { return AddNode(machine()->Float32Sqrt(), a); }
448 Node* Float32Equal(Node* a, Node* b) { 445 Node* Float32Equal(Node* a, Node* b) {
(...skipping 12 matching lines...) Expand all
461 Node* Float32GreaterThanOrEqual(Node* a, Node* b) { 458 Node* Float32GreaterThanOrEqual(Node* a, Node* b) {
462 return Float32LessThanOrEqual(b, a); 459 return Float32LessThanOrEqual(b, a);
463 } 460 }
464 461
465 Node* Float64Add(Node* a, Node* b) { 462 Node* Float64Add(Node* a, Node* b) {
466 return AddNode(machine()->Float64Add(), a, b); 463 return AddNode(machine()->Float64Add(), a, b);
467 } 464 }
468 Node* Float64Sub(Node* a, Node* b) { 465 Node* Float64Sub(Node* a, Node* b) {
469 return AddNode(machine()->Float64Sub(), a, b); 466 return AddNode(machine()->Float64Sub(), a, b);
470 } 467 }
471 Node* Float64SubPreserveNan(Node* a, Node* b) {
472 return AddNode(machine()->Float64SubPreserveNan(), a, b);
473 }
474 Node* Float64Mul(Node* a, Node* b) { 468 Node* Float64Mul(Node* a, Node* b) {
475 return AddNode(machine()->Float64Mul(), a, b); 469 return AddNode(machine()->Float64Mul(), a, b);
476 } 470 }
477 Node* Float64Div(Node* a, Node* b) { 471 Node* Float64Div(Node* a, Node* b) {
478 return AddNode(machine()->Float64Div(), a, b); 472 return AddNode(machine()->Float64Div(), a, b);
479 } 473 }
480 Node* Float64Mod(Node* a, Node* b) { 474 Node* Float64Mod(Node* a, Node* b) {
481 return AddNode(machine()->Float64Mod(), a, b); 475 return AddNode(machine()->Float64Mod(), a, b);
482 } 476 }
483 Node* Float64Max(Node* a, Node* b) { 477 Node* Float64Max(Node* a, Node* b) {
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 bool deferred_; 826 bool deferred_;
833 friend class RawMachineAssembler; 827 friend class RawMachineAssembler;
834 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); 828 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel);
835 }; 829 };
836 830
837 } // namespace compiler 831 } // namespace compiler
838 } // namespace internal 832 } // namespace internal
839 } // namespace v8 833 } // namespace v8
840 834
841 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 835 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/typer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698