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

Side by Side Diff: src/compiler/arm/code-generator-arm.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/builtins.cc ('k') | src/compiler/arm64/code-generator-arm64.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 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 #include "src/compiler/code-generator.h" 5 #include "src/compiler/code-generator.h"
6 6
7 #include "src/arm/macro-assembler-arm.h" 7 #include "src/arm/macro-assembler-arm.h"
8 #include "src/ast/scopes.h" 8 #include "src/ast/scopes.h"
9 #include "src/compiler/code-generator-impl.h" 9 #include "src/compiler/code-generator-impl.h"
10 #include "src/compiler/gap-resolver.h" 10 #include "src/compiler/gap-resolver.h"
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after
732 break; 732 break;
733 case kIeee754Float64Log2: 733 case kIeee754Float64Log2:
734 ASSEMBLE_IEEE754_UNOP(log2); 734 ASSEMBLE_IEEE754_UNOP(log2);
735 break; 735 break;
736 case kIeee754Float64Log10: 736 case kIeee754Float64Log10:
737 ASSEMBLE_IEEE754_UNOP(log10); 737 ASSEMBLE_IEEE754_UNOP(log10);
738 break; 738 break;
739 case kIeee754Float64Sin: 739 case kIeee754Float64Sin:
740 ASSEMBLE_IEEE754_UNOP(sin); 740 ASSEMBLE_IEEE754_UNOP(sin);
741 break; 741 break;
742 case kIeee754Float64Tan:
743 ASSEMBLE_IEEE754_UNOP(tan);
744 break;
742 case kArmAdd: 745 case kArmAdd:
743 __ add(i.OutputRegister(), i.InputRegister(0), i.InputOperand2(1), 746 __ add(i.OutputRegister(), i.InputRegister(0), i.InputOperand2(1),
744 i.OutputSBit()); 747 i.OutputSBit());
745 break; 748 break;
746 case kArmAnd: 749 case kArmAnd:
747 __ and_(i.OutputRegister(), i.InputRegister(0), i.InputOperand2(1), 750 __ and_(i.OutputRegister(), i.InputRegister(0), i.InputOperand2(1),
748 i.OutputSBit()); 751 i.OutputSBit());
749 break; 752 break;
750 case kArmBic: 753 case kArmBic:
751 __ bic(i.OutputRegister(), i.InputRegister(0), i.InputOperand2(1), 754 __ bic(i.OutputRegister(), i.InputRegister(0), i.InputOperand2(1),
(...skipping 1081 matching lines...) Expand 10 before | Expand all | Expand 10 after
1833 padding_size -= v8::internal::Assembler::kInstrSize; 1836 padding_size -= v8::internal::Assembler::kInstrSize;
1834 } 1837 }
1835 } 1838 }
1836 } 1839 }
1837 1840
1838 #undef __ 1841 #undef __
1839 1842
1840 } // namespace compiler 1843 } // namespace compiler
1841 } // namespace internal 1844 } // namespace internal
1842 } // namespace v8 1845 } // namespace v8
OLDNEW
« no previous file with comments | « src/builtins.cc ('k') | src/compiler/arm64/code-generator-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698