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

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

Issue 272183003: ARM64: Small optimisations (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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 | « no previous file | src/arm64/lithium-arm64.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 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 #ifndef V8_ARM64_LITHIUM_ARM64_H_ 5 #ifndef V8_ARM64_LITHIUM_ARM64_H_
6 #define V8_ARM64_LITHIUM_ARM64_H_ 6 #define V8_ARM64_LITHIUM_ARM64_H_
7 7
8 #include "hydrogen.h" 8 #include "hydrogen.h"
9 #include "lithium-allocator.h" 9 #include "lithium-allocator.h"
10 #include "lithium.h" 10 #include "lithium.h"
(...skipping 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after
1034 inputs_[0] = value; 1034 inputs_[0] = value;
1035 } 1035 }
1036 1036
1037 LOperand* value() { return inputs_[0]; } 1037 LOperand* value() { return inputs_[0]; }
1038 1038
1039 DECLARE_CONCRETE_INSTRUCTION(DoubleBits, "double-bits") 1039 DECLARE_CONCRETE_INSTRUCTION(DoubleBits, "double-bits")
1040 DECLARE_HYDROGEN_ACCESSOR(DoubleBits) 1040 DECLARE_HYDROGEN_ACCESSOR(DoubleBits)
1041 }; 1041 };
1042 1042
1043 1043
1044 class LConstructDouble V8_FINAL : public LTemplateInstruction<1, 2, 1> { 1044 class LConstructDouble V8_FINAL : public LTemplateInstruction<1, 2, 0> {
1045 public: 1045 public:
1046 LConstructDouble(LOperand* hi, LOperand* lo, LOperand* temp) { 1046 LConstructDouble(LOperand* hi, LOperand* lo) {
1047 inputs_[0] = hi; 1047 inputs_[0] = hi;
1048 inputs_[1] = lo; 1048 inputs_[1] = lo;
1049 temps_[0] = temp;
1050 } 1049 }
1051 1050
1052 LOperand* hi() { return inputs_[0]; } 1051 LOperand* hi() { return inputs_[0]; }
1053 LOperand* lo() { return inputs_[1]; } 1052 LOperand* lo() { return inputs_[1]; }
1054 LOperand* temp() { return temps_[0]; }
1055 1053
1056 DECLARE_CONCRETE_INSTRUCTION(ConstructDouble, "construct-double") 1054 DECLARE_CONCRETE_INSTRUCTION(ConstructDouble, "construct-double")
1057 }; 1055 };
1058 1056
1059 1057
1060 class LClassOfTestAndBranch V8_FINAL : public LControlInstruction<1, 2> { 1058 class LClassOfTestAndBranch V8_FINAL : public LControlInstruction<1, 2> {
1061 public: 1059 public:
1062 LClassOfTestAndBranch(LOperand* value, LOperand* temp1, LOperand* temp2) { 1060 LClassOfTestAndBranch(LOperand* value, LOperand* temp1, LOperand* temp2) {
1063 inputs_[0] = value; 1061 inputs_[0] = value;
1064 temps_[0] = temp1; 1062 temps_[0] = temp1;
(...skipping 2125 matching lines...) Expand 10 before | Expand all | Expand 10 after
3190 3188
3191 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 3189 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
3192 }; 3190 };
3193 3191
3194 #undef DECLARE_HYDROGEN_ACCESSOR 3192 #undef DECLARE_HYDROGEN_ACCESSOR
3195 #undef DECLARE_CONCRETE_INSTRUCTION 3193 #undef DECLARE_CONCRETE_INSTRUCTION
3196 3194
3197 } } // namespace v8::internal 3195 } } // namespace v8::internal
3198 3196
3199 #endif // V8_ARM64_LITHIUM_ARM64_H_ 3197 #endif // V8_ARM64_LITHIUM_ARM64_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm64/lithium-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698