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

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

Issue 148503002: A64: Synchronize with r15545. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « src/arm/ic-arm.cc ('k') | src/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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 V(CheckInstanceType) \ 74 V(CheckInstanceType) \
75 V(CheckNonSmi) \ 75 V(CheckNonSmi) \
76 V(CheckMaps) \ 76 V(CheckMaps) \
77 V(CheckPrototypeMaps) \ 77 V(CheckPrototypeMaps) \
78 V(CheckSmi) \ 78 V(CheckSmi) \
79 V(ClampDToUint8) \ 79 V(ClampDToUint8) \
80 V(ClampIToUint8) \ 80 V(ClampIToUint8) \
81 V(ClampTToUint8) \ 81 V(ClampTToUint8) \
82 V(ClassOfTestAndBranch) \ 82 V(ClassOfTestAndBranch) \
83 V(CmpConstantEqAndBranch) \ 83 V(CmpConstantEqAndBranch) \
84 V(CmpIDAndBranch) \ 84 V(CompareNumericAndBranch) \
85 V(CmpObjectEqAndBranch) \ 85 V(CmpObjectEqAndBranch) \
86 V(CmpMapAndBranch) \ 86 V(CmpMapAndBranch) \
87 V(CmpT) \ 87 V(CmpT) \
88 V(ConstantD) \ 88 V(ConstantD) \
89 V(ConstantI) \ 89 V(ConstantI) \
90 V(ConstantS) \ 90 V(ConstantS) \
91 V(ConstantT) \ 91 V(ConstantT) \
92 V(Context) \ 92 V(Context) \
93 V(DebugBreak) \ 93 V(DebugBreak) \
94 V(DeclareGlobals) \ 94 V(DeclareGlobals) \
95 V(DeleteProperty) \ 95 V(DeleteProperty) \
96 V(Deoptimize) \ 96 V(Deoptimize) \
97 V(DivI) \ 97 V(DivI) \
98 V(DoubleToI) \ 98 V(DoubleToI) \
99 V(DoubleToSmi) \ 99 V(DoubleToSmi) \
100 V(DummyUse) \ 100 V(DummyUse) \
101 V(ElementsKind) \ 101 V(ElementsKind) \
102 V(FixedArrayBaseLength) \
103 V(FunctionLiteral) \ 102 V(FunctionLiteral) \
104 V(GetCachedArrayIndex) \ 103 V(GetCachedArrayIndex) \
105 V(GlobalObject) \ 104 V(GlobalObject) \
106 V(GlobalReceiver) \ 105 V(GlobalReceiver) \
107 V(Goto) \ 106 V(Goto) \
108 V(HasCachedArrayIndexAndBranch) \ 107 V(HasCachedArrayIndexAndBranch) \
109 V(HasInstanceTypeAndBranch) \ 108 V(HasInstanceTypeAndBranch) \
110 V(In) \ 109 V(In) \
111 V(InstanceOf) \ 110 V(InstanceOf) \
112 V(InstanceOfKnownGlobal) \ 111 V(InstanceOfKnownGlobal) \
113 V(InstanceSize) \ 112 V(InstanceSize) \
114 V(InstructionGap) \ 113 V(InstructionGap) \
115 V(Integer32ToDouble) \ 114 V(Integer32ToDouble) \
116 V(Integer32ToSmi) \ 115 V(Integer32ToSmi) \
117 V(Uint32ToDouble) \ 116 V(Uint32ToDouble) \
118 V(InvokeFunction) \ 117 V(InvokeFunction) \
119 V(IsConstructCallAndBranch) \ 118 V(IsConstructCallAndBranch) \
120 V(IsObjectAndBranch) \ 119 V(IsObjectAndBranch) \
121 V(IsStringAndBranch) \ 120 V(IsStringAndBranch) \
121 V(IsNumberAndBranch) \
122 V(IsSmiAndBranch) \ 122 V(IsSmiAndBranch) \
123 V(IsUndetectableAndBranch) \ 123 V(IsUndetectableAndBranch) \
124 V(Label) \ 124 V(Label) \
125 V(LazyBailout) \ 125 V(LazyBailout) \
126 V(LoadContextSlot) \ 126 V(LoadContextSlot) \
127 V(LoadExternalArrayPointer) \ 127 V(LoadExternalArrayPointer) \
128 V(LoadFunctionPrototype) \ 128 V(LoadFunctionPrototype) \
129 V(LoadGlobalCell) \ 129 V(LoadGlobalCell) \
130 V(LoadGlobalGeneric) \ 130 V(LoadGlobalGeneric) \
131 V(LoadKeyed) \ 131 V(LoadKeyed) \
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 DECLARE_CONCRETE_INSTRUCTION(MultiplySubD, "multiply-sub-d") 713 DECLARE_CONCRETE_INSTRUCTION(MultiplySubD, "multiply-sub-d")
714 }; 714 };
715 715
716 716
717 class LDebugBreak: public LTemplateInstruction<0, 0, 0> { 717 class LDebugBreak: public LTemplateInstruction<0, 0, 0> {
718 public: 718 public:
719 DECLARE_CONCRETE_INSTRUCTION(DebugBreak, "break") 719 DECLARE_CONCRETE_INSTRUCTION(DebugBreak, "break")
720 }; 720 };
721 721
722 722
723 class LCmpIDAndBranch: public LControlInstruction<2, 0> { 723 class LCompareNumericAndBranch: public LControlInstruction<2, 0> {
724 public: 724 public:
725 LCmpIDAndBranch(LOperand* left, LOperand* right) { 725 LCompareNumericAndBranch(LOperand* left, LOperand* right) {
726 inputs_[0] = left; 726 inputs_[0] = left;
727 inputs_[1] = right; 727 inputs_[1] = right;
728 } 728 }
729 729
730 LOperand* left() { return inputs_[0]; } 730 LOperand* left() { return inputs_[0]; }
731 LOperand* right() { return inputs_[1]; } 731 LOperand* right() { return inputs_[1]; }
732 732
733 DECLARE_CONCRETE_INSTRUCTION(CmpIDAndBranch, "cmp-id-and-branch") 733 DECLARE_CONCRETE_INSTRUCTION(CompareNumericAndBranch,
734 DECLARE_HYDROGEN_ACCESSOR(CompareIDAndBranch) 734 "compare-numeric-and-branch")
735 DECLARE_HYDROGEN_ACCESSOR(CompareNumericAndBranch)
735 736
736 Token::Value op() const { return hydrogen()->token(); } 737 Token::Value op() const { return hydrogen()->token(); }
737 bool is_double() const { 738 bool is_double() const {
738 return hydrogen()->representation().IsDouble(); 739 return hydrogen()->representation().IsDouble();
739 } 740 }
740 741
741 virtual void PrintDataTo(StringStream* stream); 742 virtual void PrintDataTo(StringStream* stream);
742 }; 743 };
743 744
744 745
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
919 LOperand* value() { return inputs_[0]; } 920 LOperand* value() { return inputs_[0]; }
920 LOperand* temp() { return temps_[0]; } 921 LOperand* temp() { return temps_[0]; }
921 922
922 DECLARE_CONCRETE_INSTRUCTION(IsObjectAndBranch, "is-object-and-branch") 923 DECLARE_CONCRETE_INSTRUCTION(IsObjectAndBranch, "is-object-and-branch")
923 DECLARE_HYDROGEN_ACCESSOR(IsObjectAndBranch) 924 DECLARE_HYDROGEN_ACCESSOR(IsObjectAndBranch)
924 925
925 virtual void PrintDataTo(StringStream* stream); 926 virtual void PrintDataTo(StringStream* stream);
926 }; 927 };
927 928
928 929
930 class LIsNumberAndBranch: public LControlInstruction<1, 0> {
931 public:
932 explicit LIsNumberAndBranch(LOperand* value) {
933 inputs_[0] = value;
934 }
935
936 LOperand* value() { return inputs_[0]; }
937
938 DECLARE_CONCRETE_INSTRUCTION(IsNumberAndBranch, "is-number-and-branch")
939 DECLARE_HYDROGEN_ACCESSOR(IsNumberAndBranch)
940 };
941
942
929 class LIsStringAndBranch: public LControlInstruction<1, 1> { 943 class LIsStringAndBranch: public LControlInstruction<1, 1> {
930 public: 944 public:
931 LIsStringAndBranch(LOperand* value, LOperand* temp) { 945 LIsStringAndBranch(LOperand* value, LOperand* temp) {
932 inputs_[0] = value; 946 inputs_[0] = value;
933 temps_[0] = temp; 947 temps_[0] = temp;
934 } 948 }
935 949
936 LOperand* value() { return inputs_[0]; } 950 LOperand* value() { return inputs_[0]; }
937 LOperand* temp() { return temps_[0]; } 951 LOperand* temp() { return temps_[0]; }
938 952
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
1274 LOperand* value() { return inputs_[0]; } 1288 LOperand* value() { return inputs_[0]; }
1275 LOperand* temp() { return temps_[0]; } 1289 LOperand* temp() { return temps_[0]; }
1276 1290
1277 DECLARE_CONCRETE_INSTRUCTION(CmpMapAndBranch, "cmp-map-and-branch") 1291 DECLARE_CONCRETE_INSTRUCTION(CmpMapAndBranch, "cmp-map-and-branch")
1278 DECLARE_HYDROGEN_ACCESSOR(CompareMap) 1292 DECLARE_HYDROGEN_ACCESSOR(CompareMap)
1279 1293
1280 Handle<Map> map() const { return hydrogen()->map(); } 1294 Handle<Map> map() const { return hydrogen()->map(); }
1281 }; 1295 };
1282 1296
1283 1297
1284 class LFixedArrayBaseLength: public LTemplateInstruction<1, 1, 0> {
1285 public:
1286 explicit LFixedArrayBaseLength(LOperand* value) {
1287 inputs_[0] = value;
1288 }
1289
1290 LOperand* value() { return inputs_[0]; }
1291
1292 DECLARE_CONCRETE_INSTRUCTION(FixedArrayBaseLength,
1293 "fixed-array-base-length")
1294 DECLARE_HYDROGEN_ACCESSOR(FixedArrayBaseLength)
1295 };
1296
1297
1298 class LMapEnumLength: public LTemplateInstruction<1, 1, 0> { 1298 class LMapEnumLength: public LTemplateInstruction<1, 1, 0> {
1299 public: 1299 public:
1300 explicit LMapEnumLength(LOperand* value) { 1300 explicit LMapEnumLength(LOperand* value) {
1301 inputs_[0] = value; 1301 inputs_[0] = value;
1302 } 1302 }
1303 1303
1304 LOperand* value() { return inputs_[0]; } 1304 LOperand* value() { return inputs_[0]; }
1305 1305
1306 DECLARE_CONCRETE_INSTRUCTION(MapEnumLength, "map-enum-length") 1306 DECLARE_CONCRETE_INSTRUCTION(MapEnumLength, "map-enum-length")
1307 }; 1307 };
(...skipping 1544 matching lines...) Expand 10 before | Expand all | Expand 10 after
2852 2852
2853 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2853 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2854 }; 2854 };
2855 2855
2856 #undef DECLARE_HYDROGEN_ACCESSOR 2856 #undef DECLARE_HYDROGEN_ACCESSOR
2857 #undef DECLARE_CONCRETE_INSTRUCTION 2857 #undef DECLARE_CONCRETE_INSTRUCTION
2858 2858
2859 } } // namespace v8::internal 2859 } } // namespace v8::internal
2860 2860
2861 #endif // V8_ARM_LITHIUM_ARM_H_ 2861 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/ic-arm.cc ('k') | src/arm/lithium-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698