aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/armv8/a64.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/armv8/a64.rs b/tests/armv8/a64.rs
index 7f6fd04..1d04a76 100644
--- a/tests/armv8/a64.rs
+++ b/tests/armv8/a64.rs
@@ -4756,6 +4756,11 @@ fn test_vec_shift() {
fn test_pac() {
const TESTS: &[([u8; 4], &'static str)] = &[
([0x00, 0x04, 0xc1, 0xda], "pacib x0, x0"),
+ ([0x00, 0x04, 0xa8, 0xf8], "ldrab x0, [x0, #0x400]"),
+ ([0x00, 0x04, 0xb0, 0xf8], "ldrab x0, [x0, #0x800]"),
+ ([0x00, 0x04, 0xf0, 0xf8], "ldrab x0, [x0, #-0x800]"),
+ ([0x00, 0x14, 0x20, 0xf8], "ldraa x0, [x0, #0x8]"),
+ ([0x00, 0x04, 0xa4, 0xf8], "ldrab x0, [x0, #0x200]"),
];
let errs = run_tests(TESTS);