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

Side by Side Diff: src/compiler/ia32/code-generator-ia32.cc

Issue 2083453002: [builtins] Introduce proper Float64Tan 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/code-assembler.h ('k') | src/compiler/instruction-codes.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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/code-generator.h" 5 #include "src/compiler/code-generator.h"
6 6
7 #include "src/ast/scopes.h" 7 #include "src/ast/scopes.h"
8 #include "src/compiler/code-generator-impl.h" 8 #include "src/compiler/code-generator-impl.h"
9 #include "src/compiler/gap-resolver.h" 9 #include "src/compiler/gap-resolver.h"
10 #include "src/compiler/node-matchers.h" 10 #include "src/compiler/node-matchers.h"
(...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 break; 678 break;
679 case kIeee754Float64Log2: 679 case kIeee754Float64Log2:
680 ASSEMBLE_IEEE754_UNOP(log2); 680 ASSEMBLE_IEEE754_UNOP(log2);
681 break; 681 break;
682 case kIeee754Float64Log10: 682 case kIeee754Float64Log10:
683 ASSEMBLE_IEEE754_UNOP(log10); 683 ASSEMBLE_IEEE754_UNOP(log10);
684 break; 684 break;
685 case kIeee754Float64Sin: 685 case kIeee754Float64Sin:
686 ASSEMBLE_IEEE754_UNOP(sin); 686 ASSEMBLE_IEEE754_UNOP(sin);
687 break; 687 break;
688 case kIeee754Float64Tan:
689 ASSEMBLE_IEEE754_UNOP(tan);
690 break;
688 case kIA32Add: 691 case kIA32Add:
689 if (HasImmediateInput(instr, 1)) { 692 if (HasImmediateInput(instr, 1)) {
690 __ add(i.InputOperand(0), i.InputImmediate(1)); 693 __ add(i.InputOperand(0), i.InputImmediate(1));
691 } else { 694 } else {
692 __ add(i.InputRegister(0), i.InputOperand(1)); 695 __ add(i.InputRegister(0), i.InputOperand(1));
693 } 696 }
694 break; 697 break;
695 case kIA32And: 698 case kIA32And:
696 if (HasImmediateInput(instr, 1)) { 699 if (HasImmediateInput(instr, 1)) {
697 __ and_(i.InputOperand(0), i.InputImmediate(1)); 700 __ and_(i.InputOperand(0), i.InputImmediate(1));
(...skipping 1336 matching lines...) Expand 10 before | Expand all | Expand 10 after
2034 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; 2037 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc;
2035 __ Nop(padding_size); 2038 __ Nop(padding_size);
2036 } 2039 }
2037 } 2040 }
2038 2041
2039 #undef __ 2042 #undef __
2040 2043
2041 } // namespace compiler 2044 } // namespace compiler
2042 } // namespace internal 2045 } // namespace internal
2043 } // namespace v8 2046 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/code-assembler.h ('k') | src/compiler/instruction-codes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698