From 2c81a7ae33cb322b46a921d7dcfd2ec72d824834 Mon Sep 17 00:00:00 2001 From: Tobias Decking Date: Tue, 25 Jun 2024 23:21:14 +0200 Subject: [PATCH] Refactor avx512f: zeroing primitives --- library/stdarch/crates/core_arch/src/x86/avx512f.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/library/stdarch/crates/core_arch/src/x86/avx512f.rs b/library/stdarch/crates/core_arch/src/x86/avx512f.rs index 0228fcf37cee..d352da880a66 100644 --- a/library/stdarch/crates/core_arch/src/x86/avx512f.rs +++ b/library/stdarch/crates/core_arch/src/x86/avx512f.rs @@ -15717,7 +15717,7 @@ pub unsafe fn _mm_maskz_cvttpd_epu32(k: __mmask8, a: __m128d) -> __m128i { #[cfg_attr(test, assert_instr(vxorps))] pub unsafe fn _mm512_setzero_pd() -> __m512d { // All-0 is a properly initialized __m512d - mem::zeroed() + const { mem::zeroed() } } /// Returns vector of type `__m512` with all elements set to zero. @@ -15729,7 +15729,7 @@ pub unsafe fn _mm512_setzero_pd() -> __m512d { #[cfg_attr(test, assert_instr(vxorps))] pub unsafe fn _mm512_setzero_ps() -> __m512 { // All-0 is a properly initialized __m512 - mem::zeroed() + const { mem::zeroed() } } /// Return vector of type `__m512` with all elements set to zero. @@ -15741,7 +15741,7 @@ pub unsafe fn _mm512_setzero_ps() -> __m512 { #[cfg_attr(test, assert_instr(vxorps))] pub unsafe fn _mm512_setzero() -> __m512 { // All-0 is a properly initialized __m512 - mem::zeroed() + const { mem::zeroed() } } /// Returns vector of type `__m512i` with all elements set to zero. @@ -15753,7 +15753,7 @@ pub unsafe fn _mm512_setzero() -> __m512 { #[cfg_attr(test, assert_instr(vxorps))] pub unsafe fn _mm512_setzero_si512() -> __m512i { // All-0 is a properly initialized __m512i - mem::zeroed() + const { mem::zeroed() } } /// Return vector of type `__m512i` with all elements set to zero. @@ -15765,7 +15765,7 @@ pub unsafe fn _mm512_setzero_si512() -> __m512i { #[cfg_attr(test, assert_instr(vxorps))] pub unsafe fn _mm512_setzero_epi32() -> __m512i { // All-0 is a properly initialized __m512i - mem::zeroed() + const { mem::zeroed() } } /// Sets packed 32-bit integers in `dst` with the supplied values in reverse