aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2020-02-22 17:00:12 -0800
committeriximeow <me@iximeow.net>2020-02-22 17:00:23 -0800
commit8f363fcdb3fd8cd588b787874ea94b6fb83dff39 (patch)
treea3056815bcd6551ceeecef00414554fba265fecc /test
parenta2d4713dcae92cc16838c43f3a5e9703a1c926da (diff)
remove unused function
Diffstat (limited to 'test')
-rw-r--r--test/test.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/test.rs b/test/test.rs
index 0c43b83..2f7f779 100644
--- a/test/test.rs
+++ b/test/test.rs
@@ -122,11 +122,6 @@ fn test_sse2() {
test_display_under(&InstDecoder::minimal(), bytes, text);
}
- fn test_instr_invalid(bytes: &[u8]) {
- test_invalid_under(&InstDecoder::minimal(), bytes);
- test_invalid_under(&InstDecoder::default(), bytes);
- }
-
test_instr(&[0xf2, 0x0f, 0x10, 0x0c, 0xc7], "movsd xmm1, [rdi + rax * 8]");
test_instr(&[0xf2, 0x0f, 0x11, 0x0c, 0xc7], "movsd [rdi + rax * 8], xmm1");
test_instr(&[0x66, 0x0f, 0x11, 0x0c, 0xc7], "movupd [rdi + rax * 8], xmm1");