diff options
author | iximeow <me@iximeow.net> | 2024-03-17 02:44:57 +0000 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2024-03-17 02:44:57 +0000 |
commit | a91c1c50a39ff68a7e73cef70829e8a5b08b4b6b (patch) | |
tree | 6fa88baec038e8cb43d4f349d627a12df51df1db /tests/armv8 | |
parent | 79d220ce177833f7dd80e15e1094bbfbf4c6f8b1 (diff) |
be more explicit about undefined system instructions being invalid
Diffstat (limited to 'tests/armv8')
-rw-r--r-- | tests/armv8/a64.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/armv8/a64.rs b/tests/armv8/a64.rs index a3ec96e..00f53e6 100644 --- a/tests/armv8/a64.rs +++ b/tests/armv8/a64.rs @@ -4753,6 +4753,11 @@ fn test_vec_shift() { } #[test] +fn test_reserved() { + test_err([0x00, 0x00, 0x20, 0xd5], DecodeError::InvalidOpcode); +} + +#[test] fn test_system() { const TESTS: &[([u8; 4], &'static str)] = &[ ([0x00, 0x00, 0x08, 0xd5], "sys #0x0, c0, c0, #0x0, x0"), |