OLD | NEW |
---|---|
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #ifndef VM_ASSEMBLER_ARM64_H_ | 5 #ifndef VM_ASSEMBLER_ARM64_H_ |
6 #define VM_ASSEMBLER_ARM64_H_ | 6 #define VM_ASSEMBLER_ARM64_H_ |
7 | 7 |
8 #ifndef VM_ASSEMBLER_H_ | 8 #ifndef VM_ASSEMBLER_H_ |
9 #error Do not include assembler_arm64.h directly; use assembler.h instead. | 9 #error Do not include assembler_arm64.h directly; use assembler.h instead. |
10 #endif | 10 #endif |
(...skipping 1228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1239 void BranchLinkWithEquivalence(const StubEntry& stub_entry, | 1239 void BranchLinkWithEquivalence(const StubEntry& stub_entry, |
1240 const Object& equivalence); | 1240 const Object& equivalence); |
1241 | 1241 |
1242 // Macros accepting a pp Register argument may attempt to load values from | 1242 // Macros accepting a pp Register argument may attempt to load values from |
1243 // the object pool when possible. Unless you are sure that the untagged object | 1243 // the object pool when possible. Unless you are sure that the untagged object |
1244 // pool pointer is in another register, or that it is not available at all, | 1244 // pool pointer is in another register, or that it is not available at all, |
1245 // PP should be passed for pp. | 1245 // PP should be passed for pp. |
1246 void AddImmediate(Register dest, Register rn, int64_t imm); | 1246 void AddImmediate(Register dest, Register rn, int64_t imm); |
1247 void AddImmediateSetFlags(Register dest, Register rn, int64_t imm); | 1247 void AddImmediateSetFlags(Register dest, Register rn, int64_t imm); |
1248 void SubImmediateSetFlags(Register dest, Register rn, int64_t imm); | 1248 void SubImmediateSetFlags(Register dest, Register rn, int64_t imm); |
1249 void SubImmediate(Register dest, Register rn, int64_t imm); | |
regis
2016/10/08 09:10:37
Not sure you need this.
Vyacheslav Egorov (Google)
2016/10/24 20:23:03
Done.
| |
1249 void AndImmediate(Register rd, Register rn, int64_t imm); | 1250 void AndImmediate(Register rd, Register rn, int64_t imm); |
1250 void OrImmediate(Register rd, Register rn, int64_t imm); | 1251 void OrImmediate(Register rd, Register rn, int64_t imm); |
1251 void XorImmediate(Register rd, Register rn, int64_t imm); | 1252 void XorImmediate(Register rd, Register rn, int64_t imm); |
1252 void TestImmediate(Register rn, int64_t imm); | 1253 void TestImmediate(Register rn, int64_t imm); |
1253 void CompareImmediate(Register rn, int64_t imm); | 1254 void CompareImmediate(Register rn, int64_t imm); |
1254 | 1255 |
1255 void LoadFromOffset(Register dest, Register base, int32_t offset, | 1256 void LoadFromOffset(Register dest, Register base, int32_t offset, |
1256 OperandSize sz = kDoubleWord); | 1257 OperandSize sz = kDoubleWord); |
1257 void LoadFieldFromOffset(Register dest, Register base, int32_t offset, | 1258 void LoadFieldFromOffset(Register dest, Register base, int32_t offset, |
1258 OperandSize sz = kDoubleWord) { | 1259 OperandSize sz = kDoubleWord) { |
(...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1953 Register value, | 1954 Register value, |
1954 Label* no_update); | 1955 Label* no_update); |
1955 | 1956 |
1956 DISALLOW_ALLOCATION(); | 1957 DISALLOW_ALLOCATION(); |
1957 DISALLOW_COPY_AND_ASSIGN(Assembler); | 1958 DISALLOW_COPY_AND_ASSIGN(Assembler); |
1958 }; | 1959 }; |
1959 | 1960 |
1960 } // namespace dart | 1961 } // namespace dart |
1961 | 1962 |
1962 #endif // VM_ASSEMBLER_ARM64_H_ | 1963 #endif // VM_ASSEMBLER_ARM64_H_ |
OLD | NEW |