diff options
author | iximeow <me@iximeow.net> | 2021-12-27 21:58:16 -0800 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2021-12-27 21:58:16 -0800 |
commit | dab8f49060b94589efecc951f4f74cdf10928afb (patch) | |
tree | 5071a05dc3a3bb13f7611b3f42c3db58429072f7 /test/armv8 | |
parent | cb833bf3b0d96d18f33e4032a915111cab71200c (diff) |
fix variable-width index, more fp16 instructions
Diffstat (limited to 'test/armv8')
-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 ed2b49d..11426ea 100644 --- a/test/armv8/a64.rs +++ b/test/armv8/a64.rs @@ -4339,3 +4339,17 @@ fn test_movi() { assert!(errs.is_empty()); } + +#[test] +fn test_weird_str() { + const TESTS: &[([u8; 4], &'static str)] = &[ + ([0x08, 0xdb, 0x7c, 0xf8], "ldr x8, [x24, w28, sxtw 3]"), + ]; + let errs = run_tests(TESTS); + + for err in errs.iter() { + println!("{}", err); + } + + assert!(errs.is_empty()); +} |