Unused __builtin_ia32_* builtins

Marc Glisse marc.glisse@inria.fr
Thu May 10 19:08:00 GMT 2018


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



More information about the Gcc mailing list