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

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

Issue 2080233002: [turbofan] Properly lower NumberTan to Float64Tan. (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 | « no previous file | 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 680 matching lines...) Expand 10 before | Expand all | Expand 10 after
691 case IrOpcode::kNumberLog: 691 case IrOpcode::kNumberLog:
692 return machine()->Float64Log(); 692 return machine()->Float64Log();
693 case IrOpcode::kNumberLog1p: 693 case IrOpcode::kNumberLog1p:
694 return machine()->Float64Log1p(); 694 return machine()->Float64Log1p();
695 case IrOpcode::kNumberLog2: 695 case IrOpcode::kNumberLog2:
696 return machine()->Float64Log2(); 696 return machine()->Float64Log2();
697 case IrOpcode::kNumberLog10: 697 case IrOpcode::kNumberLog10:
698 return machine()->Float64Log10(); 698 return machine()->Float64Log10();
699 case IrOpcode::kNumberSin: 699 case IrOpcode::kNumberSin:
700 return machine()->Float64Sin(); 700 return machine()->Float64Sin();
701 case IrOpcode::kNumberTan:
702 return machine()->Float64Tan();
701 case IrOpcode::kNumberSqrt: 703 case IrOpcode::kNumberSqrt:
702 return machine()->Float64Sqrt(); 704 return machine()->Float64Sqrt();
703 case IrOpcode::kNumberCbrt: 705 case IrOpcode::kNumberCbrt:
704 return machine()->Float64Cbrt(); 706 return machine()->Float64Cbrt();
705 case IrOpcode::kNumberExpm1: 707 case IrOpcode::kNumberExpm1:
706 return machine()->Float64Expm1(); 708 return machine()->Float64Expm1();
707 case IrOpcode::kNumberSilenceNaN: 709 case IrOpcode::kNumberSilenceNaN:
708 return machine()->Float64SilenceNaN(); 710 return machine()->Float64SilenceNaN();
709 default: 711 default:
710 UNREACHABLE(); 712 UNREACHABLE();
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
755 } 757 }
756 758
757 Node* RepresentationChanger::InsertChangeTaggedToFloat64(Node* node) { 759 Node* RepresentationChanger::InsertChangeTaggedToFloat64(Node* node) {
758 return jsgraph()->graph()->NewNode(simplified()->ChangeTaggedToFloat64(), 760 return jsgraph()->graph()->NewNode(simplified()->ChangeTaggedToFloat64(),
759 node); 761 node);
760 } 762 }
761 763
762 } // namespace compiler 764 } // namespace compiler
763 } // namespace internal 765 } // namespace internal
764 } // namespace v8 766 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/compiler/simplified-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698