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

Side by Side Diff: src/compiler/mips/code-generator-mips.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 756 matching lines...) Expand 10 before | Expand all | Expand 10 after
767 break; 767 break;
768 case kIeee754Float64Log1p: 768 case kIeee754Float64Log1p:
769 ASSEMBLE_IEEE754_UNOP(log1p); 769 ASSEMBLE_IEEE754_UNOP(log1p);
770 break; 770 break;
771 case kIeee754Float64Log10: 771 case kIeee754Float64Log10:
772 ASSEMBLE_IEEE754_UNOP(log10); 772 ASSEMBLE_IEEE754_UNOP(log10);
773 break; 773 break;
774 case kIeee754Float64Log2: 774 case kIeee754Float64Log2:
775 ASSEMBLE_IEEE754_UNOP(log2); 775 ASSEMBLE_IEEE754_UNOP(log2);
776 break; 776 break;
777 case kIeee754Float64Pow: {
778 MathPowStub stub(isolate(), MathPowStub::DOUBLE);
779 __ CallStub(&stub);
780 break;
781 }
777 case kIeee754Float64Sin: 782 case kIeee754Float64Sin:
778 ASSEMBLE_IEEE754_UNOP(sin); 783 ASSEMBLE_IEEE754_UNOP(sin);
779 break; 784 break;
780 case kIeee754Float64Tan: 785 case kIeee754Float64Tan:
781 ASSEMBLE_IEEE754_UNOP(tan); 786 ASSEMBLE_IEEE754_UNOP(tan);
782 break; 787 break;
783 case kMipsAdd: 788 case kMipsAdd:
784 __ Addu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); 789 __ Addu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1));
785 break; 790 break;
786 case kMipsAddOvf: 791 case kMipsAddOvf:
(...skipping 1297 matching lines...) Expand 10 before | Expand all | Expand 10 after
2084 padding_size -= v8::internal::Assembler::kInstrSize; 2089 padding_size -= v8::internal::Assembler::kInstrSize;
2085 } 2090 }
2086 } 2091 }
2087 } 2092 }
2088 2093
2089 #undef __ 2094 #undef __
2090 2095
2091 } // namespace compiler 2096 } // namespace compiler
2092 } // namespace internal 2097 } // namespace internal
2093 } // namespace v8 2098 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/machine-operator-reducer.cc ('k') | src/compiler/mips/instruction-selector-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698