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

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

Issue 2077533002: [builtins] Introduce proper Float64Exp operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Import tests from Raymond. 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
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 729 matching lines...) Expand 10 before | Expand all | Expand 10 after
740 __ Addu(i.OutputRegister(), offset.from_stack_pointer() ? sp : fp, 740 __ Addu(i.OutputRegister(), offset.from_stack_pointer() ? sp : fp,
741 Operand(offset.offset())); 741 Operand(offset.offset()));
742 break; 742 break;
743 } 743 }
744 case kIeee754Float64Atan: 744 case kIeee754Float64Atan:
745 ASSEMBLE_IEEE754_UNOP(atan); 745 ASSEMBLE_IEEE754_UNOP(atan);
746 break; 746 break;
747 case kIeee754Float64Atan2: 747 case kIeee754Float64Atan2:
748 ASSEMBLE_IEEE754_BINOP(atan2); 748 ASSEMBLE_IEEE754_BINOP(atan2);
749 break; 749 break;
750 case kIeee754Float64Exp:
751 ASSEMBLE_IEEE754_UNOP(exp);
752 break;
750 case kIeee754Float64Log: 753 case kIeee754Float64Log:
751 ASSEMBLE_IEEE754_UNOP(log); 754 ASSEMBLE_IEEE754_UNOP(log);
752 break; 755 break;
753 case kIeee754Float64Log1p: 756 case kIeee754Float64Log1p:
754 ASSEMBLE_IEEE754_UNOP(log1p); 757 ASSEMBLE_IEEE754_UNOP(log1p);
755 break; 758 break;
756 case kIeee754Float64Log2: 759 case kIeee754Float64Log2:
757 ASSEMBLE_IEEE754_UNOP(log2); 760 ASSEMBLE_IEEE754_UNOP(log2);
758 break; 761 break;
759 case kIeee754Float64Log10: 762 case kIeee754Float64Log10:
(...skipping 1293 matching lines...) Expand 10 before | Expand all | Expand 10 after
2053 padding_size -= v8::internal::Assembler::kInstrSize; 2056 padding_size -= v8::internal::Assembler::kInstrSize;
2054 } 2057 }
2055 } 2058 }
2056 } 2059 }
2057 2060
2058 #undef __ 2061 #undef __
2059 2062
2060 } // namespace compiler 2063 } // namespace compiler
2061 } // namespace internal 2064 } // namespace internal
2062 } // namespace v8 2065 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698