summary refs log tree commit diff
path: root/util.c
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2022-05-08 12:28:45 -0700
committerQuentin Carbonneaux <quentin@c9x.me>2022-05-10 11:51:47 +0200
commit4ac7d770d6f064cd49c336c6e88c068a1d1f10c6 (patch)
tree9e1c8589ded662e5a6ad5cb4286a66556993e061 /util.c
parent2caa26e388b1c904d2f12fb09f84df7e761d8331 (diff)
downloadroux-4ac7d770d6f064cd49c336c6e88c068a1d1f10c6.tar.gz
arm64: fix maximum immediate size for small loads/stores
The maximum immediate size for 1, 2, 4, and 8 byte loads/stores is
4095, 8190, 16380, and 32760 respectively[0][1][2].

[0] https://developer.arm.com/documentation/dui0802/a/A64-Data-Transfer-Instructions/LDRB--immediate-
[1] https://developer.arm.com/documentation/dui0802/a/A64-Data-Transfer-Instructions/LDRH--immediate-
[2] https://developer.arm.com/documentation/dui0802/a/A64-Data-Transfer-Instructions/LDR--immediate-
Diffstat (limited to 'util.c')
0 files changed, 0 insertions, 0 deletions