From dab8f49060b94589efecc951f4f74cdf10928afb Mon Sep 17 00:00:00 2001 From: iximeow Date: Mon, 27 Dec 2021 21:58:16 -0800 Subject: fix variable-width index, more fp16 instructions --- test/armv8/a64.rs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'test') 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()); +} -- cgit v1.1