diff options
author | iximeow <me@iximeow.net> | 2021-06-26 02:12:59 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2021-06-26 02:12:59 -0700 |
commit | 1189dc786c7f96bc513056e86294b12b9567fd6e (patch) | |
tree | dafdf04eeb05743dbf0d72a2e0aff7a6fb8846ba /test/long_mode/evex_generated.rs | |
parent | d951f4bbce1102ddab30e3a5f65ddac8ab221ac9 (diff) |
clean up avx2-related warnings
Diffstat (limited to 'test/long_mode/evex_generated.rs')
-rw-r--r-- | test/long_mode/evex_generated.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/long_mode/evex_generated.rs b/test/long_mode/evex_generated.rs index c948c0e..9c23e4b 100644 --- a/test/long_mode/evex_generated.rs +++ b/test/long_mode/evex_generated.rs @@ -3,6 +3,7 @@ use std::fmt::Write; use yaxpeax_arch::{AddressBase, Decoder, LengthedInstruction}; use yaxpeax_x86::long_mode::InstDecoder; +#[allow(dead_code)] fn test_invalid(data: &[u8]) { test_invalid_under(&InstDecoder::default(), data); } @@ -15,6 +16,7 @@ fn test_invalid_under(decoder: &InstDecoder, data: &[u8]) { } } +#[allow(dead_code)] fn test_display(data: &[u8], expected: &'static str) { test_display_under(&InstDecoder::default(), data, expected); } @@ -54,6 +56,7 @@ fn test_avx_full(bytes: &[u8], text: &'static str) { test_invalid_under(&InstDecoder::minimal(), bytes); } +#[allow(non_snake_case)] #[test] fn tests_None_0f() { test_avx_full(&[0x62, 0xf1, 0x7c, 0xad, 0x10, 0xca], "vmovups ymm1{k5}{z}, ymm2"); // VMOVUPS_YMMf32_MASKmskw_YMMf32_AVX512, extension: AVX512EVEX |