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

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

Issue 1680783002: [intrinsics] Kill the %_IsMinusZero intrinsic. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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/compiler/typer.cc ('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 29 matching lines...) Expand all
40 V(CheckInstanceType) \ 40 V(CheckInstanceType) \
41 V(CheckNonSmi) \ 41 V(CheckNonSmi) \
42 V(CheckMaps) \ 42 V(CheckMaps) \
43 V(CheckMapValue) \ 43 V(CheckMapValue) \
44 V(CheckSmi) \ 44 V(CheckSmi) \
45 V(CheckValue) \ 45 V(CheckValue) \
46 V(ClampDToUint8) \ 46 V(ClampDToUint8) \
47 V(ClampIToUint8) \ 47 V(ClampIToUint8) \
48 V(ClampTToUint8) \ 48 V(ClampTToUint8) \
49 V(ClassOfTestAndBranch) \ 49 V(ClassOfTestAndBranch) \
50 V(CompareMinusZeroAndBranch) \
51 V(CompareNumericAndBranch) \ 50 V(CompareNumericAndBranch) \
52 V(CmpObjectEqAndBranch) \ 51 V(CmpObjectEqAndBranch) \
53 V(CmpHoleAndBranch) \ 52 V(CmpHoleAndBranch) \
54 V(CmpMapAndBranch) \ 53 V(CmpMapAndBranch) \
55 V(CmpT) \ 54 V(CmpT) \
56 V(ConstantD) \ 55 V(ConstantD) \
57 V(ConstantE) \ 56 V(ConstantE) \
58 V(ConstantI) \ 57 V(ConstantI) \
59 V(ConstantS) \ 58 V(ConstantS) \
60 V(ConstantT) \ 59 V(ConstantT) \
(...skipping 923 matching lines...) Expand 10 before | Expand all | Expand 10 after
984 inputs_[0] = object; 983 inputs_[0] = object;
985 } 984 }
986 985
987 LOperand* object() { return inputs_[0]; } 986 LOperand* object() { return inputs_[0]; }
988 987
989 DECLARE_CONCRETE_INSTRUCTION(CmpHoleAndBranch, "cmp-hole-and-branch") 988 DECLARE_CONCRETE_INSTRUCTION(CmpHoleAndBranch, "cmp-hole-and-branch")
990 DECLARE_HYDROGEN_ACCESSOR(CompareHoleAndBranch) 989 DECLARE_HYDROGEN_ACCESSOR(CompareHoleAndBranch)
991 }; 990 };
992 991
993 992
994 class LCompareMinusZeroAndBranch final : public LControlInstruction<1, 1> {
995 public:
996 LCompareMinusZeroAndBranch(LOperand* value, LOperand* temp) {
997 inputs_[0] = value;
998 temps_[0] = temp;
999 }
1000
1001 LOperand* value() { return inputs_[0]; }
1002 LOperand* temp() { return temps_[0]; }
1003
1004 DECLARE_CONCRETE_INSTRUCTION(CompareMinusZeroAndBranch,
1005 "cmp-minus-zero-and-branch")
1006 DECLARE_HYDROGEN_ACCESSOR(CompareMinusZeroAndBranch)
1007 };
1008
1009
1010 class LIsStringAndBranch final : public LControlInstruction<1, 1> { 993 class LIsStringAndBranch final : public LControlInstruction<1, 1> {
1011 public: 994 public:
1012 LIsStringAndBranch(LOperand* value, LOperand* temp) { 995 LIsStringAndBranch(LOperand* value, LOperand* temp) {
1013 inputs_[0] = value; 996 inputs_[0] = value;
1014 temps_[0] = temp; 997 temps_[0] = temp;
1015 } 998 }
1016 999
1017 LOperand* value() { return inputs_[0]; } 1000 LOperand* value() { return inputs_[0]; }
1018 LOperand* temp() { return temps_[0]; } 1001 LOperand* temp() { return temps_[0]; }
1019 1002
(...skipping 1746 matching lines...) Expand 10 before | Expand all | Expand 10 after
2766 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2749 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2767 }; 2750 };
2768 2751
2769 #undef DECLARE_HYDROGEN_ACCESSOR 2752 #undef DECLARE_HYDROGEN_ACCESSOR
2770 #undef DECLARE_CONCRETE_INSTRUCTION 2753 #undef DECLARE_CONCRETE_INSTRUCTION
2771 2754
2772 } // namespace internal 2755 } // namespace internal
2773 } // namespace v8 2756 } // namespace v8
2774 2757
2775 #endif // V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_ 2758 #endif // V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | src/crankshaft/arm/lithium-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698