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

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

Issue 2103733003: [turbofan] Introduce Float64Pow and NumberPow operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE on ARM64 bug fix. Created 4 years, 5 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
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 765 matching lines...) Expand 10 before | Expand all | Expand 10 after
776 break; 776 break;
777 case kIeee754Float64Log1p: 777 case kIeee754Float64Log1p:
778 ASSEMBLE_IEEE754_UNOP(log1p); 778 ASSEMBLE_IEEE754_UNOP(log1p);
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 kIeee754Float64Pow: {
787 MathPowStub stub(isolate(), MathPowStub::DOUBLE);
788 __ CallStub(&stub);
789 break;
790 }
786 case kIeee754Float64Sin: 791 case kIeee754Float64Sin:
787 ASSEMBLE_IEEE754_UNOP(sin); 792 ASSEMBLE_IEEE754_UNOP(sin);
788 break; 793 break;
789 case kIeee754Float64Tan: 794 case kIeee754Float64Tan:
790 ASSEMBLE_IEEE754_UNOP(tan); 795 ASSEMBLE_IEEE754_UNOP(tan);
791 break; 796 break;
792 case kMips64Add: 797 case kMips64Add:
793 __ Addu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); 798 __ Addu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1));
794 break; 799 break;
795 case kMips64Dadd: 800 case kMips64Dadd:
(...skipping 1535 matching lines...) Expand 10 before | Expand all | Expand 10 after
2331 padding_size -= v8::internal::Assembler::kInstrSize; 2336 padding_size -= v8::internal::Assembler::kInstrSize;
2332 } 2337 }
2333 } 2338 }
2334 } 2339 }
2335 2340
2336 #undef __ 2341 #undef __
2337 2342
2338 } // namespace compiler 2343 } // namespace compiler
2339 } // namespace internal 2344 } // namespace internal
2340 } // namespace v8 2345 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/mips/instruction-selector-mips.cc ('k') | src/compiler/mips64/instruction-selector-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698