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

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

Issue 2065503002: [builtins] Introduce proper Float64Atan and Float64Atan2 operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: [WIP] Fix GCC/Win32. 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 641 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 case IrOpcode::kNumberDivide: 652 case IrOpcode::kNumberDivide:
653 return machine()->Float64Div(); 653 return machine()->Float64Div();
654 case IrOpcode::kNumberModulus: 654 case IrOpcode::kNumberModulus:
655 return machine()->Float64Mod(); 655 return machine()->Float64Mod();
656 case IrOpcode::kNumberEqual: 656 case IrOpcode::kNumberEqual:
657 return machine()->Float64Equal(); 657 return machine()->Float64Equal();
658 case IrOpcode::kNumberLessThan: 658 case IrOpcode::kNumberLessThan:
659 return machine()->Float64LessThan(); 659 return machine()->Float64LessThan();
660 case IrOpcode::kNumberLessThanOrEqual: 660 case IrOpcode::kNumberLessThanOrEqual:
661 return machine()->Float64LessThanOrEqual(); 661 return machine()->Float64LessThanOrEqual();
662 case IrOpcode::kNumberAtan:
663 return machine()->Float64Atan();
664 case IrOpcode::kNumberAtan2:
665 return machine()->Float64Atan2();
662 case IrOpcode::kNumberLog: 666 case IrOpcode::kNumberLog:
663 return machine()->Float64Log(); 667 return machine()->Float64Log();
664 case IrOpcode::kNumberLog1p: 668 case IrOpcode::kNumberLog1p:
665 return machine()->Float64Log1p(); 669 return machine()->Float64Log1p();
666 default: 670 default:
667 UNREACHABLE(); 671 UNREACHABLE();
668 return nullptr; 672 return nullptr;
669 } 673 }
670 } 674 }
671 675
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
712 } 716 }
713 717
714 Node* RepresentationChanger::InsertChangeTaggedToFloat64(Node* node) { 718 Node* RepresentationChanger::InsertChangeTaggedToFloat64(Node* node) {
715 return jsgraph()->graph()->NewNode(simplified()->ChangeTaggedToFloat64(), 719 return jsgraph()->graph()->NewNode(simplified()->ChangeTaggedToFloat64(),
716 node); 720 node);
717 } 721 }
718 722
719 } // namespace compiler 723 } // namespace compiler
720 } // namespace internal 724 } // namespace internal
721 } // namespace v8 725 } // 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