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

Side by Side Diff: runtime/vm/assembler_arm64.h

Issue 2452453002: Support unaligned integer loads on ARM and MIPS. (Closed)
Patch Set: review Created 4 years, 1 month 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 | « runtime/vm/assembler_arm.cc ('k') | runtime/vm/assembler_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 (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 1383 matching lines...) Expand 10 before | Expand all | Expand 10 after
1394 Register instance, 1394 Register instance,
1395 Register end_address, 1395 Register end_address,
1396 Register temp1, 1396 Register temp1,
1397 Register temp2); 1397 Register temp2);
1398 1398
1399 Address ElementAddressForIntIndex(bool is_external, 1399 Address ElementAddressForIntIndex(bool is_external,
1400 intptr_t cid, 1400 intptr_t cid,
1401 intptr_t index_scale, 1401 intptr_t index_scale,
1402 Register array, 1402 Register array,
1403 intptr_t index) const; 1403 intptr_t index) const;
1404 void LoadElementAddressForIntIndex(Register address,
1405 bool is_external,
1406 intptr_t cid,
1407 intptr_t index_scale,
1408 Register array,
1409 intptr_t index);
1404 Address ElementAddressForRegIndex(bool is_load, 1410 Address ElementAddressForRegIndex(bool is_load,
1405 bool is_external, 1411 bool is_external,
1406 intptr_t cid, 1412 intptr_t cid,
1407 intptr_t index_scale, 1413 intptr_t index_scale,
1408 Register array, 1414 Register array,
1409 Register index); 1415 Register index);
1416 void LoadElementAddressForRegIndex(Register address,
1417 bool is_load,
1418 bool is_external,
1419 intptr_t cid,
1420 intptr_t index_scale,
1421 Register array,
1422 Register index);
1423
1424 void LoadUnaligned(Register dst, Register addr, Register tmp,
1425 OperandSize sz);
1426 void StoreUnaligned(Register src, Register addr, Register tmp,
1427 OperandSize sz);
1410 1428
1411 private: 1429 private:
1412 AssemblerBuffer buffer_; // Contains position independent code. 1430 AssemblerBuffer buffer_; // Contains position independent code.
1413 1431
1414 ObjectPoolWrapper object_pool_wrapper_; 1432 ObjectPoolWrapper object_pool_wrapper_;
1415 1433
1416 int32_t prologue_offset_; 1434 int32_t prologue_offset_;
1417 1435
1418 bool use_far_branches_; 1436 bool use_far_branches_;
1419 1437
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
1953 Register value, 1971 Register value,
1954 Label* no_update); 1972 Label* no_update);
1955 1973
1956 DISALLOW_ALLOCATION(); 1974 DISALLOW_ALLOCATION();
1957 DISALLOW_COPY_AND_ASSIGN(Assembler); 1975 DISALLOW_COPY_AND_ASSIGN(Assembler);
1958 }; 1976 };
1959 1977
1960 } // namespace dart 1978 } // namespace dart
1961 1979
1962 #endif // RUNTIME_VM_ASSEMBLER_ARM64_H_ 1980 #endif // RUNTIME_VM_ASSEMBLER_ARM64_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_arm.cc ('k') | runtime/vm/assembler_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698