aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2021-12-29 01:58:27 -0800
committeriximeow <me@iximeow.net>2021-12-29 01:58:27 -0800
commit611a375a524fcdee098ae7fae00c5498ff0d1465 (patch)
treeb4e71d2d267797a946382151b6de4a79b47a61c9 /test
parent9967fba9f8f8449626692e336ff4d44823f036fc (diff)
stxrb memory operand error
Diffstat (limited to 'test')
-rw-r--r--test/armv8/a64.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/armv8/a64.rs b/test/armv8/a64.rs
index be1f486..c7bddf7 100644
--- a/test/armv8/a64.rs
+++ b/test/armv8/a64.rs
@@ -4355,6 +4355,20 @@ fn test_weird_str() {
}
#[test]
+fn test_mismatches() {
+ const TESTS: &[([u8; 4], &'static str)] = &[
+ ([0x00, 0x00, 0x00, 0x08], "stxrb w0, w0, [x0]"),
+ ];
+ let errs = run_tests(TESTS);
+
+ for err in errs.iter() {
+ println!("{}", err);
+ }
+
+ assert!(errs.is_empty());
+}
+
+#[test]
fn test_cas() {
const TESTS: &[([u8; 4], &'static str)] = &[
([0x20, 0x7c, 0x20, 0x08], "casp w0, w1, w0, w1, [x1]"),