public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Haochen Jiang <jianghc@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r14-3422] Revert "i386: Add AVX2 pragma wrapper for AVX512DQVL intrins" Date: Thu, 24 Aug 2023 06:35:20 +0000 (GMT) [thread overview] Message-ID: <20230824063520.E8EC63858C53@sourceware.org> (raw) https://gcc.gnu.org/g:c4f2a0ecffcf0ad6738ef4a41e7434406b94c5b3 commit r14-3422-gc4f2a0ecffcf0ad6738ef4a41e7434406b94c5b3 Author: Haochen Jiang <haochen.jiang@intel.com> Date: Thu Aug 24 14:35:03 2023 +0800 Revert "i386: Add AVX2 pragma wrapper for AVX512DQVL intrins" This reverts commit 68f7cb6cf9e8b9f2254855507f3b479552adda5f. Diff: --- gcc/config/i386/avx512vldqintrin.h | 11 ----------- gcc/testsuite/gcc.target/i386/pr111051-1.c | 11 ----------- 2 files changed, 22 deletions(-) diff --git a/gcc/config/i386/avx512vldqintrin.h b/gcc/config/i386/avx512vldqintrin.h index db900ebf467f..1fbf93a0b522 100644 --- a/gcc/config/i386/avx512vldqintrin.h +++ b/gcc/config/i386/avx512vldqintrin.h @@ -28,12 +28,6 @@ #ifndef _AVX512VLDQINTRIN_H_INCLUDED #define _AVX512VLDQINTRIN_H_INCLUDED -#if !defined(__AVX2__) -#pragma GCC push_options -#pragma GCC target("avx2") -#define __DISABLE_AVX2__ -#endif /* __AVX2__ */ - extern __inline __m256i __attribute__ ((__gnu_inline__, __always_inline__, __artificial__)) _mm256_cvttpd_epi64 (__m256d __A) @@ -2008,9 +2002,4 @@ _mm256_maskz_insertf64x2 (__mmask8 __U, __m256d __A, __m128d __B, #endif -#ifdef __DISABLE_AVX2__ -#undef __DISABLE_AVX2__ -#pragma GCC pop_options -#endif /* __DISABLE_AVX2__ */ - #endif /* _AVX512VLDQINTRIN_H_INCLUDED */ diff --git a/gcc/testsuite/gcc.target/i386/pr111051-1.c b/gcc/testsuite/gcc.target/i386/pr111051-1.c deleted file mode 100644 index 973007043cb0..000000000000 --- a/gcc/testsuite/gcc.target/i386/pr111051-1.c +++ /dev/null @@ -1,11 +0,0 @@ -/* { dg-do compile } */ - -#include <immintrin.h> - -#pragma GCC target("avx512vl,avx512dq") - -void foo (__m256i i) -{ - volatile __m256d v1 = _mm256_cvtepi64_pd (i); -} -
reply other threads:[~2023-08-24 6:35 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230824063520.E8EC63858C53@sourceware.org \ --to=jianghc@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).