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

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

Issue 2215403002: [turbofan] Make Float32Neg and Float64Neg mandatory operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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/mips64/instruction-selector-mips64.cc ('k') | src/compiler/wasm-compiler.h » ('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 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 Node* Float32SubPreserveNan(Node* a, Node* b) { 436 Node* Float32SubPreserveNan(Node* a, Node* b) {
437 return AddNode(machine()->Float32SubPreserveNan(), a, b); 437 return AddNode(machine()->Float32SubPreserveNan(), a, b);
438 } 438 }
439 Node* Float32Mul(Node* a, Node* b) { 439 Node* Float32Mul(Node* a, Node* b) {
440 return AddNode(machine()->Float32Mul(), a, b); 440 return AddNode(machine()->Float32Mul(), a, b);
441 } 441 }
442 Node* Float32Div(Node* a, Node* b) { 442 Node* Float32Div(Node* a, Node* b) {
443 return AddNode(machine()->Float32Div(), a, b); 443 return AddNode(machine()->Float32Div(), a, b);
444 } 444 }
445 Node* Float32Abs(Node* a) { return AddNode(machine()->Float32Abs(), a); } 445 Node* Float32Abs(Node* a) { return AddNode(machine()->Float32Abs(), a); }
446 Node* Float32Neg(Node* a) { return Float32Sub(Float32Constant(-0.0f), a); } 446 Node* Float32Neg(Node* a) { return AddNode(machine()->Float32Neg(), a); }
447 Node* Float32Sqrt(Node* a) { return AddNode(machine()->Float32Sqrt(), a); } 447 Node* Float32Sqrt(Node* a) { return AddNode(machine()->Float32Sqrt(), a); }
448 Node* Float32Equal(Node* a, Node* b) { 448 Node* Float32Equal(Node* a, Node* b) {
449 return AddNode(machine()->Float32Equal(), a, b); 449 return AddNode(machine()->Float32Equal(), a, b);
450 } 450 }
451 Node* Float32NotEqual(Node* a, Node* b) { 451 Node* Float32NotEqual(Node* a, Node* b) {
452 return Word32BinaryNot(Float32Equal(a, b)); 452 return Word32BinaryNot(Float32Equal(a, b));
453 } 453 }
454 Node* Float32LessThan(Node* a, Node* b) { 454 Node* Float32LessThan(Node* a, Node* b) {
455 return AddNode(machine()->Float32LessThan(), a, b); 455 return AddNode(machine()->Float32LessThan(), a, b);
456 } 456 }
(...skipping 23 matching lines...) Expand all
480 Node* Float64Mod(Node* a, Node* b) { 480 Node* Float64Mod(Node* a, Node* b) {
481 return AddNode(machine()->Float64Mod(), a, b); 481 return AddNode(machine()->Float64Mod(), a, b);
482 } 482 }
483 Node* Float64Max(Node* a, Node* b) { 483 Node* Float64Max(Node* a, Node* b) {
484 return AddNode(machine()->Float64Max(), a, b); 484 return AddNode(machine()->Float64Max(), a, b);
485 } 485 }
486 Node* Float64Min(Node* a, Node* b) { 486 Node* Float64Min(Node* a, Node* b) {
487 return AddNode(machine()->Float64Min(), a, b); 487 return AddNode(machine()->Float64Min(), a, b);
488 } 488 }
489 Node* Float64Abs(Node* a) { return AddNode(machine()->Float64Abs(), a); } 489 Node* Float64Abs(Node* a) { return AddNode(machine()->Float64Abs(), a); }
490 Node* Float64Neg(Node* a) { return Float64Sub(Float64Constant(-0.0), a); } 490 Node* Float64Neg(Node* a) { return AddNode(machine()->Float64Neg(), a); }
491 Node* Float64Acos(Node* a) { return AddNode(machine()->Float64Acos(), a); } 491 Node* Float64Acos(Node* a) { return AddNode(machine()->Float64Acos(), a); }
492 Node* Float64Acosh(Node* a) { return AddNode(machine()->Float64Acosh(), a); } 492 Node* Float64Acosh(Node* a) { return AddNode(machine()->Float64Acosh(), a); }
493 Node* Float64Asin(Node* a) { return AddNode(machine()->Float64Asin(), a); } 493 Node* Float64Asin(Node* a) { return AddNode(machine()->Float64Asin(), a); }
494 Node* Float64Asinh(Node* a) { return AddNode(machine()->Float64Asinh(), a); } 494 Node* Float64Asinh(Node* a) { return AddNode(machine()->Float64Asinh(), a); }
495 Node* Float64Atan(Node* a) { return AddNode(machine()->Float64Atan(), a); } 495 Node* Float64Atan(Node* a) { return AddNode(machine()->Float64Atan(), a); }
496 Node* Float64Atanh(Node* a) { return AddNode(machine()->Float64Atanh(), a); } 496 Node* Float64Atanh(Node* a) { return AddNode(machine()->Float64Atanh(), a); }
497 Node* Float64Atan2(Node* a, Node* b) { 497 Node* Float64Atan2(Node* a, Node* b) {
498 return AddNode(machine()->Float64Atan2(), a, b); 498 return AddNode(machine()->Float64Atan2(), a, b);
499 } 499 }
500 Node* Float64Cbrt(Node* a) { return AddNode(machine()->Float64Cbrt(), a); } 500 Node* Float64Cbrt(Node* a) { return AddNode(machine()->Float64Cbrt(), a); }
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 bool deferred_; 832 bool deferred_;
833 friend class RawMachineAssembler; 833 friend class RawMachineAssembler;
834 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); 834 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel);
835 }; 835 };
836 836
837 } // namespace compiler 837 } // namespace compiler
838 } // namespace internal 838 } // namespace internal
839 } // namespace v8 839 } // namespace v8
840 840
841 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 841 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/compiler/mips64/instruction-selector-mips64.cc ('k') | src/compiler/wasm-compiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698