This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Unused __builtin_ia32_* builtins
- From: Marc Glisse <marc dot glisse at inria dot fr>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Kirill Yukhin <kirill dot yukhin at gmail dot com>, Uros Bizjak <ubizjak at gmail dot com>, gcc at gcc dot gnu dot org
- Date: Thu, 10 May 2018 21:08:36 +0200 (CEST)
- Subject: Re: Unused __builtin_ia32_* builtins
- References: <20180510183514.GL8577@tucnak>
- Reply-to: gcc at gcc dot gnu dot org
On Thu, 10 May 2018, Jakub Jelinek wrote:
for i in `grep __builtin_ia32 config/i386/i386-builtin.def | sed 's/^.*__builtin_ia32_/__builtin_ia32_/;s/".*$//' | sort -u`; do grep -q -w $i config/i386/*.h || echo $i; done
shows many builtins not used in any of the intrinsic headers.
I believe for the __builtin_ia32_* builtins we only support the intrinsics
and not the builtins directly. Can we remove some of these (not necessarily
all of them), after checking when and why they were added and if they were
added for the intrinsic headers which now e.g. uses generic vector arith
instead?
When I removed their use in the intrinsic headers, I tried to remove them,
but Ada people asked us to keep them
https://gcc.gnu.org/ml/gcc-patches/2014-10/msg00843.html
--
Marc Glisse