| 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 RUNTIME_VM_ASSEMBLER_ARM64_H_ | 5 #ifndef RUNTIME_VM_ASSEMBLER_ARM64_H_ |
| 6 #define RUNTIME_VM_ASSEMBLER_ARM64_H_ | 6 #define RUNTIME_VM_ASSEMBLER_ARM64_H_ |
| 7 | 7 |
| 8 #ifndef RUNTIME_VM_ASSEMBLER_H_ | 8 #ifndef RUNTIME_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 1147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1158 Patchability patchable = kNotPatchable); | 1158 Patchability patchable = kNotPatchable); |
| 1159 | 1159 |
| 1160 void BranchLinkPatchable(const StubEntry& stub_entry); | 1160 void BranchLinkPatchable(const StubEntry& stub_entry); |
| 1161 void BranchLinkToRuntime(); | 1161 void BranchLinkToRuntime(); |
| 1162 | 1162 |
| 1163 // Emit a call that shares its object pool entries with other calls | 1163 // Emit a call that shares its object pool entries with other calls |
| 1164 // that have the same equivalence marker. | 1164 // that have the same equivalence marker. |
| 1165 void BranchLinkWithEquivalence(const StubEntry& stub_entry, | 1165 void BranchLinkWithEquivalence(const StubEntry& stub_entry, |
| 1166 const Object& equivalence); | 1166 const Object& equivalence); |
| 1167 | 1167 |
| 1168 void AddImmediate(Register dest, int64_t imm) { |
| 1169 AddImmediate(dest, dest, imm); |
| 1170 } |
| 1171 |
| 1168 // Macros accepting a pp Register argument may attempt to load values from | 1172 // Macros accepting a pp Register argument may attempt to load values from |
| 1169 // the object pool when possible. Unless you are sure that the untagged object | 1173 // the object pool when possible. Unless you are sure that the untagged object |
| 1170 // pool pointer is in another register, or that it is not available at all, | 1174 // pool pointer is in another register, or that it is not available at all, |
| 1171 // PP should be passed for pp. | 1175 // PP should be passed for pp. |
| 1172 void AddImmediate(Register dest, Register rn, int64_t imm); | 1176 void AddImmediate(Register dest, Register rn, int64_t imm); |
| 1173 void AddImmediateSetFlags(Register dest, Register rn, int64_t imm); | 1177 void AddImmediateSetFlags(Register dest, Register rn, int64_t imm); |
| 1174 void SubImmediateSetFlags(Register dest, Register rn, int64_t imm); | 1178 void SubImmediateSetFlags(Register dest, Register rn, int64_t imm); |
| 1175 void AndImmediate(Register rd, Register rn, int64_t imm); | 1179 void AndImmediate(Register rd, Register rn, int64_t imm); |
| 1176 void OrImmediate(Register rd, Register rn, int64_t imm); | 1180 void OrImmediate(Register rd, Register rn, int64_t imm); |
| 1177 void XorImmediate(Register rd, Register rn, int64_t imm); | 1181 void XorImmediate(Register rd, Register rn, int64_t imm); |
| (...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1918 Register value, | 1922 Register value, |
| 1919 Label* no_update); | 1923 Label* no_update); |
| 1920 | 1924 |
| 1921 DISALLOW_ALLOCATION(); | 1925 DISALLOW_ALLOCATION(); |
| 1922 DISALLOW_COPY_AND_ASSIGN(Assembler); | 1926 DISALLOW_COPY_AND_ASSIGN(Assembler); |
| 1923 }; | 1927 }; |
| 1924 | 1928 |
| 1925 } // namespace dart | 1929 } // namespace dart |
| 1926 | 1930 |
| 1927 #endif // RUNTIME_VM_ASSEMBLER_ARM64_H_ | 1931 #endif // RUNTIME_VM_ASSEMBLER_ARM64_H_ |
| OLD | NEW |