diff options
author | iximeow <me@iximeow.net> | 2021-12-29 01:57:52 -0800 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2021-12-29 01:57:52 -0800 |
commit | 8b77b3cf4ee5be247663353bd75fd3abd495acf7 (patch) | |
tree | 357fad3d7b43e7f26da4b916285b035e5f89f171 /test | |
parent | eee66c89e88e9114d4ae5e8e722cf33d919ccfc6 (diff) |
cas and sme/sve stub
Diffstat (limited to 'test')
-rw-r--r-- | test/armv8/a64.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/armv8/a64.rs b/test/armv8/a64.rs index 11426ea..be1f486 100644 --- a/test/armv8/a64.rs +++ b/test/armv8/a64.rs @@ -4353,3 +4353,17 @@ fn test_weird_str() { assert!(errs.is_empty()); } + +#[test] +fn test_cas() { + const TESTS: &[([u8; 4], &'static str)] = &[ + ([0x20, 0x7c, 0x20, 0x08], "casp w0, w1, w0, w1, [x1]"), + ]; + let errs = run_tests(TESTS); + + for err in errs.iter() { + println!("{}", err); + } + + assert!(errs.is_empty()); +} |