[PATCH] Teach X86 builtins which target features they require
Justin Bogner
mail at justinbogner.com
Mon Aug 3 15:27:07 PDT 2015
Eric Christopher <echristo at gmail.com> writes:
> Thank you for the somewhat ridiculous amount of typing there :)
>
> Might need some changes when I use it, but obviously having the information
> there is better than not so LGTM :)
r243908
>
> -eric
>
> On Mon, Aug 3, 2015 at 3:08 PM Justin Bogner <mail at justinbogner.com> wrote:
>
> This adds the required target feature names to x86 builtins that need
> particular features. Most have exactly one ("avx", "aes", etc), but some
> of the avx512 features have multiple requirements, eg "avx512vl,avx512bw".
>
> Eric: this should be what you need to implement the warning for using
> functions with unsatisfied target requirements for builtins.
More information about the cfe-commits
mailing list