[PATCH][GCC][ARM] Restrict TARGET_DOTPROD to baseline Armv8.2-a.

Kyrill Tkachov kyrylo.tkachov@foss.arm.com
Wed Nov 15 11:04:00 GMT 2017


Hi Tamar,

On 14/11/17 15:53, Tamar Christina wrote:
> Hi All,
>
> Dot Product is intended to only be available for Armv8.2-a and newer.
> While this restriction is reflected in the intrinsics, the patterns
> themselves were missing the Armv8.2-a bit.
>
> While GCC would prevent invalid options e.g. `-march=armv8.1-a+dotprod`
> we should prevent the pattern from being able to expand at all.
>
> Regtested on arm-none-eabi and no issues.
>
> Ok for trunk?
>

Ok.
Thanks,
Kyrill

> Thanks,
> Tamar
>
> gcc/
> 2017-11-14  Tamar Christina  <tamar.christina@arm.com>
>
>         * config/arm/arm.h (TARGET_DOTPROD): Add arm_arch8_2.
>
> -- 



More information about the Gcc-patches mailing list