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

Side by Side Diff: src/compiler/mips64/code-generator-mips64.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/mips/code-generator-mips.cc ('k') | src/compiler/opcodes.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 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/ast/scopes.h" 5 #include "src/ast/scopes.h"
6 #include "src/compiler/code-generator.h" 6 #include "src/compiler/code-generator.h"
7 #include "src/compiler/code-generator-impl.h" 7 #include "src/compiler/code-generator-impl.h"
8 #include "src/compiler/gap-resolver.h" 8 #include "src/compiler/gap-resolver.h"
9 #include "src/compiler/node-matchers.h" 9 #include "src/compiler/node-matchers.h"
10 #include "src/compiler/osr.h" 10 #include "src/compiler/osr.h"
(...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after
779 break; 779 break;
780 case kIeee754Float64Log2: 780 case kIeee754Float64Log2:
781 ASSEMBLE_IEEE754_UNOP(log2); 781 ASSEMBLE_IEEE754_UNOP(log2);
782 break; 782 break;
783 case kIeee754Float64Log10: 783 case kIeee754Float64Log10:
784 ASSEMBLE_IEEE754_UNOP(log10); 784 ASSEMBLE_IEEE754_UNOP(log10);
785 break; 785 break;
786 case kIeee754Float64Sin: 786 case kIeee754Float64Sin:
787 ASSEMBLE_IEEE754_UNOP(sin); 787 ASSEMBLE_IEEE754_UNOP(sin);
788 break; 788 break;
789 case kIeee754Float64Tan:
790 ASSEMBLE_IEEE754_UNOP(tan);
791 break;
789 case kMips64Add: 792 case kMips64Add:
790 __ Addu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); 793 __ Addu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1));
791 break; 794 break;
792 case kMips64Dadd: 795 case kMips64Dadd:
793 __ Daddu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); 796 __ Daddu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1));
794 break; 797 break;
795 case kMips64DaddOvf: 798 case kMips64DaddOvf:
796 // Pseudo-instruction used for overflow/branch. No opcode emitted here. 799 // Pseudo-instruction used for overflow/branch. No opcode emitted here.
797 break; 800 break;
798 case kMips64Sub: 801 case kMips64Sub:
(...skipping 1519 matching lines...) Expand 10 before | Expand all | Expand 10 after
2318 padding_size -= v8::internal::Assembler::kInstrSize; 2321 padding_size -= v8::internal::Assembler::kInstrSize;
2319 } 2322 }
2320 } 2323 }
2321 } 2324 }
2322 2325
2323 #undef __ 2326 #undef __
2324 2327
2325 } // namespace compiler 2328 } // namespace compiler
2326 } // namespace internal 2329 } // namespace internal
2327 } // namespace v8 2330 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/mips/code-generator-mips.cc ('k') | src/compiler/opcodes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698