aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2019-01-06 16:37:01 -0800
committeriximeow <me@iximeow.net>2020-01-12 16:10:13 -0800
commit4f9b07b86c8706cc98d036d8e20966ca630bf278 (patch)
tree8efb82fc1d998f64f99bc019a0db081431cf91bd
parent3b300f3625e6cf9ea1f36ba6d12b61ba0b08e53b (diff)
add a vex test
-rw-r--r--test/test.rs9
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]