diff options
author | iximeow <me@iximeow.net> | 2019-01-06 16:37:01 -0800 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2020-01-12 16:10:13 -0800 |
commit | 4f9b07b86c8706cc98d036d8e20966ca630bf278 (patch) | |
tree | 8efb82fc1d998f64f99bc019a0db081431cf91bd /test/test.rs | |
parent | 3b300f3625e6cf9ea1f36ba6d12b61ba0b08e53b (diff) |
add a vex test
Diffstat (limited to 'test/test.rs')
-rw-r--r-- | test/test.rs | 9 |
1 files changed, 9 insertions, 0 deletions
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] |