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

Side by Side Diff: src/compiler/representation-change.cc

Issue 2070813002: Revert of [builtins] Introduce proper Float64Exp operator. (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
« no previous file with comments | « src/compiler/raw-machine-assembler.h ('k') | src/compiler/simplified-lowering.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/representation-change.h" 5 #include "src/compiler/representation-change.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "src/base/bits.h" 9 #include "src/base/bits.h"
10 #include "src/code-factory.h" 10 #include "src/code-factory.h"
(...skipping 653 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 case IrOpcode::kNumberLessThan: 664 case IrOpcode::kNumberLessThan:
665 case IrOpcode::kSpeculativeNumberLessThan: 665 case IrOpcode::kSpeculativeNumberLessThan:
666 return machine()->Float64LessThan(); 666 return machine()->Float64LessThan();
667 case IrOpcode::kNumberLessThanOrEqual: 667 case IrOpcode::kNumberLessThanOrEqual:
668 case IrOpcode::kSpeculativeNumberLessThanOrEqual: 668 case IrOpcode::kSpeculativeNumberLessThanOrEqual:
669 return machine()->Float64LessThanOrEqual(); 669 return machine()->Float64LessThanOrEqual();
670 case IrOpcode::kNumberAtan: 670 case IrOpcode::kNumberAtan:
671 return machine()->Float64Atan(); 671 return machine()->Float64Atan();
672 case IrOpcode::kNumberAtan2: 672 case IrOpcode::kNumberAtan2:
673 return machine()->Float64Atan2(); 673 return machine()->Float64Atan2();
674 case IrOpcode::kNumberExp:
675 return machine()->Float64Exp();
676 case IrOpcode::kNumberFround: 674 case IrOpcode::kNumberFround:
677 return machine()->TruncateFloat64ToFloat32(); 675 return machine()->TruncateFloat64ToFloat32();
678 case IrOpcode::kNumberLog: 676 case IrOpcode::kNumberLog:
679 return machine()->Float64Log(); 677 return machine()->Float64Log();
680 case IrOpcode::kNumberLog1p: 678 case IrOpcode::kNumberLog1p:
681 return machine()->Float64Log1p(); 679 return machine()->Float64Log1p();
682 case IrOpcode::kNumberLog2: 680 case IrOpcode::kNumberLog2:
683 return machine()->Float64Log2(); 681 return machine()->Float64Log2();
684 case IrOpcode::kNumberLog10: 682 case IrOpcode::kNumberLog10:
685 return machine()->Float64Log10(); 683 return machine()->Float64Log10();
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 } 734 }
737 735
738 Node* RepresentationChanger::InsertChangeTaggedToFloat64(Node* node) { 736 Node* RepresentationChanger::InsertChangeTaggedToFloat64(Node* node) {
739 return jsgraph()->graph()->NewNode(simplified()->ChangeTaggedToFloat64(), 737 return jsgraph()->graph()->NewNode(simplified()->ChangeTaggedToFloat64(),
740 node); 738 node);
741 } 739 }
742 740
743 } // namespace compiler 741 } // namespace compiler
744 } // namespace internal 742 } // namespace internal
745 } // namespace v8 743 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/raw-machine-assembler.h ('k') | src/compiler/simplified-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698