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

Side by Side Diff: src/crankshaft/x64/lithium-x64.h

Issue 2070813002: Revert of [builtins] Introduce proper Float64Exp 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/crankshaft/x64/lithium-codegen-x64.cc ('k') | src/crankshaft/x64/lithium-x64.cc » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 #ifndef V8_CRANKSHAFT_X64_LITHIUM_X64_H_ 5 #ifndef V8_CRANKSHAFT_X64_LITHIUM_X64_H_
6 #define V8_CRANKSHAFT_X64_LITHIUM_X64_H_ 6 #define V8_CRANKSHAFT_X64_LITHIUM_X64_H_
7 7
8 #include "src/crankshaft/hydrogen.h" 8 #include "src/crankshaft/hydrogen.h"
9 #include "src/crankshaft/lithium.h" 9 #include "src/crankshaft/lithium.h"
10 #include "src/crankshaft/lithium-allocator.h" 10 #include "src/crankshaft/lithium-allocator.h"
(...skipping 891 matching lines...) Expand 10 before | Expand all | Expand 10 after
902 public: 902 public:
903 explicit LMathClz32(LOperand* value) { 903 explicit LMathClz32(LOperand* value) {
904 inputs_[0] = value; 904 inputs_[0] = value;
905 } 905 }
906 906
907 LOperand* value() { return inputs_[0]; } 907 LOperand* value() { return inputs_[0]; }
908 908
909 DECLARE_CONCRETE_INSTRUCTION(MathClz32, "math-clz32") 909 DECLARE_CONCRETE_INSTRUCTION(MathClz32, "math-clz32")
910 }; 910 };
911 911
912 class LMathExp final : public LTemplateInstruction<1, 1, 0> { 912
913 class LMathExp final : public LTemplateInstruction<1, 1, 2> {
913 public: 914 public:
914 explicit LMathExp(LOperand* value) { inputs_[0] = value; } 915 LMathExp(LOperand* value, LOperand* temp1, LOperand* temp2) {
916 inputs_[0] = value;
917 temps_[0] = temp1;
918 temps_[1] = temp2;
919 ExternalReference::InitializeMathExpData();
920 }
915 921
916 LOperand* value() { return inputs_[0]; } 922 LOperand* value() { return inputs_[0]; }
923 LOperand* temp1() { return temps_[0]; }
924 LOperand* temp2() { return temps_[1]; }
917 925
918 DECLARE_CONCRETE_INSTRUCTION(MathExp, "math-exp") 926 DECLARE_CONCRETE_INSTRUCTION(MathExp, "math-exp")
919 }; 927 };
920 928
921 929
922 class LMathSqrt final : public LTemplateInstruction<1, 1, 0> { 930 class LMathSqrt final : public LTemplateInstruction<1, 1, 0> {
923 public: 931 public:
924 explicit LMathSqrt(LOperand* value) { 932 explicit LMathSqrt(LOperand* value) {
925 inputs_[0] = value; 933 inputs_[0] = value;
926 } 934 }
(...skipping 1719 matching lines...) Expand 10 before | Expand all | Expand 10 after
2646 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2654 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2647 }; 2655 };
2648 2656
2649 #undef DECLARE_HYDROGEN_ACCESSOR 2657 #undef DECLARE_HYDROGEN_ACCESSOR
2650 #undef DECLARE_CONCRETE_INSTRUCTION 2658 #undef DECLARE_CONCRETE_INSTRUCTION
2651 2659
2652 } // namespace internal 2660 } // namespace internal
2653 } // namespace v8 2661 } // namespace v8
2654 2662
2655 #endif // V8_CRANKSHAFT_X64_LITHIUM_X64_H_ 2663 #endif // V8_CRANKSHAFT_X64_LITHIUM_X64_H_
OLDNEW
« no previous file with comments | « src/crankshaft/x64/lithium-codegen-x64.cc ('k') | src/crankshaft/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698