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

Side by Side Diff: src/crankshaft/arm/lithium-arm.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/contexts.h ('k') | src/crankshaft/arm/lithium-arm.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_ARM_LITHIUM_ARM_H_ 5 #ifndef V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_
6 #define V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_ 6 #define V8_CRANKSHAFT_ARM_LITHIUM_ARM_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 887 matching lines...) Expand 10 before | Expand all | Expand 10 after
898 public: 898 public:
899 explicit LMathClz32(LOperand* value) { 899 explicit LMathClz32(LOperand* value) {
900 inputs_[0] = value; 900 inputs_[0] = value;
901 } 901 }
902 902
903 LOperand* value() { return inputs_[0]; } 903 LOperand* value() { return inputs_[0]; }
904 904
905 DECLARE_CONCRETE_INSTRUCTION(MathClz32, "math-clz32") 905 DECLARE_CONCRETE_INSTRUCTION(MathClz32, "math-clz32")
906 }; 906 };
907 907
908 class LMathExp final : public LTemplateInstruction<1, 1, 0> { 908
909 class LMathExp final : public LTemplateInstruction<1, 1, 3> {
909 public: 910 public:
910 explicit LMathExp(LOperand* value) { inputs_[0] = value; } 911 LMathExp(LOperand* value,
912 LOperand* double_temp,
913 LOperand* temp1,
914 LOperand* temp2) {
915 inputs_[0] = value;
916 temps_[0] = temp1;
917 temps_[1] = temp2;
918 temps_[2] = double_temp;
919 ExternalReference::InitializeMathExpData();
920 }
911 921
912 LOperand* value() { return inputs_[0]; } 922 LOperand* value() { return inputs_[0]; }
923 LOperand* temp1() { return temps_[0]; }
924 LOperand* temp2() { return temps_[1]; }
925 LOperand* double_temp() { return temps_[2]; }
913 926
914 DECLARE_CONCRETE_INSTRUCTION(MathExp, "math-exp") 927 DECLARE_CONCRETE_INSTRUCTION(MathExp, "math-exp")
915 }; 928 };
916 929
917 930
918 class LMathSqrt final : public LTemplateInstruction<1, 1, 0> { 931 class LMathSqrt final : public LTemplateInstruction<1, 1, 0> {
919 public: 932 public:
920 explicit LMathSqrt(LOperand* value) { 933 explicit LMathSqrt(LOperand* value) {
921 inputs_[0] = value; 934 inputs_[0] = value;
922 } 935 }
(...skipping 1716 matching lines...) Expand 10 before | Expand all | Expand 10 after
2639 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2652 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2640 }; 2653 };
2641 2654
2642 #undef DECLARE_HYDROGEN_ACCESSOR 2655 #undef DECLARE_HYDROGEN_ACCESSOR
2643 #undef DECLARE_CONCRETE_INSTRUCTION 2656 #undef DECLARE_CONCRETE_INSTRUCTION
2644 2657
2645 } // namespace internal 2658 } // namespace internal
2646 } // namespace v8 2659 } // namespace v8
2647 2660
2648 #endif // V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_ 2661 #endif // V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « src/contexts.h ('k') | src/crankshaft/arm/lithium-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698