From 4f9b07b86c8706cc98d036d8e20966ca630bf278 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 6 Jan 2019 16:37:01 -0800 Subject: add a vex test --- test/test.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/test.rs b/test/test.rs index 54b52b8..956faf1 100644 --- a/test/test.rs +++ b/test/test.rs @@ -103,6 +103,15 @@ fn test_test_cmp() { } #[test] +#[ignore] +// VEX prefixes are not supported at the moment, in any form +fn test_avx() { + assert_eq!(&format!("{}", decode( + &[0xc5, 0xf8, 0x10, 0x00] + ).unwrap()), "vmovups xmm0, xmmword [rax]"); +} + +#[test] fn test_misc() { assert_eq!(&format!("{}", decode( &[0x48, 0x8d, 0xa4, 0xc7, 0x20, 0x00, 0x00, 0x12] -- cgit v1.1