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

Side by Side Diff: src/compiler/ia32/code-generator-ia32.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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/ast/scopes.h" 7 #include "src/ast/scopes.h"
8 #include "src/compiler/code-generator-impl.h" 8 #include "src/compiler/code-generator-impl.h"
9 #include "src/compiler/gap-resolver.h" 9 #include "src/compiler/gap-resolver.h"
10 #include "src/compiler/node-matchers.h" 10 #include "src/compiler/node-matchers.h"
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 } 648 }
649 __ lea(i.OutputRegister(), Operand(base, offset.offset())); 649 __ lea(i.OutputRegister(), Operand(base, offset.offset()));
650 break; 650 break;
651 } 651 }
652 case kIeee754Float64Atan: 652 case kIeee754Float64Atan:
653 ASSEMBLE_IEEE754_UNOP(atan); 653 ASSEMBLE_IEEE754_UNOP(atan);
654 break; 654 break;
655 case kIeee754Float64Atan2: 655 case kIeee754Float64Atan2:
656 ASSEMBLE_IEEE754_BINOP(atan2); 656 ASSEMBLE_IEEE754_BINOP(atan2);
657 break; 657 break;
658 case kIeee754Float64Exp:
659 ASSEMBLE_IEEE754_UNOP(exp);
660 break;
658 case kIeee754Float64Log: 661 case kIeee754Float64Log:
659 ASSEMBLE_IEEE754_UNOP(log); 662 ASSEMBLE_IEEE754_UNOP(log);
660 break; 663 break;
661 case kIeee754Float64Log1p: 664 case kIeee754Float64Log1p:
662 ASSEMBLE_IEEE754_UNOP(log1p); 665 ASSEMBLE_IEEE754_UNOP(log1p);
663 break; 666 break;
664 case kIeee754Float64Log2: 667 case kIeee754Float64Log2:
665 ASSEMBLE_IEEE754_UNOP(log2); 668 ASSEMBLE_IEEE754_UNOP(log2);
666 break; 669 break;
667 case kIeee754Float64Log10: 670 case kIeee754Float64Log10:
(...skipping 1348 matching lines...) Expand 10 before | Expand all | Expand 10 after
2016 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; 2019 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc;
2017 __ Nop(padding_size); 2020 __ Nop(padding_size);
2018 } 2021 }
2019 } 2022 }
2020 2023
2021 #undef __ 2024 #undef __
2022 2025
2023 } // namespace compiler 2026 } // namespace compiler
2024 } // namespace internal 2027 } // namespace internal
2025 } // namespace v8 2028 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698