From 1189dc786c7f96bc513056e86294b12b9567fd6e Mon Sep 17 00:00:00 2001 From: iximeow Date: Sat, 26 Jun 2021 02:12:59 -0700 Subject: clean up avx2-related warnings --- test/long_mode/evex_generated.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test') 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 -- cgit v1.1