[ARM] Add ARMv8.1 command line options.

Matthew Wahab matthew.wahab@foss.arm.com
Tue Oct 13 11:10:00 GMT 2015


Some of the command line options may be unnecessary so I'll drop this patch.
Matthew

On 08/10/15 12:00, Matthew Wahab wrote:
> Ping.
>
> Updated patch attached, I've broken the over-long lines added to arm-arches.def and
> arm-fpus.def.
>
> Matthew
>
> On 17/09/15 18:54, Matthew Wahab wrote:
>> Hello,
>>
>> ARMv8.1 is a set of architectural extensions to ARMv8. Support has been
>> enabled in binutils for ARMv8.1 for the architechure, using the name
>> "armv8.1-a".
>>
>> This patch adds support to gcc for specifying an ARMv8.1 architecture
>> using options "-march=armv8.1-a" and "-march=armv8.1-a+crc". It also
>> adds the FPU options "-mfpu=neon-fp-armv8.1" and
>> "-mpu=crypto-neon-fp-armv8.1", to specify the ARMv8.1 Adv.SIMD
>> instruction set.  The changes set the apropriate architecture and fpu
>> options for binutils but don't otherwise change the code generated by
>> gcc.
>>
>> Tested for arm-none-linux-gnueabihf with native bootstrap and make
>> check.
>>
>> Ok for trunk?
>> Matthew
>>
>> 2015-09-17  Matthew Wahab  <matthew.wahab@arm.com>
>>
>>      * config/arm/arm-arches.def: Add "armv8.1-a" and "armv8.1-a+crc".
>>      * config/arm/arm-fpus.def: Add "neon-fp-armv8.1" and
>>      "crypto-neon-fp-armv8.1".
>>      * config/arm/arm-protos.h (FL2_ARCH8_1): New.
>>      (FL2_FOR_ARCH8_1A): New.
>>      * config/arm/arm-tables.opt: Regenerate.
>>      * config/arm/arm.h (FPU_FL_RDMA): New.
>>      * doc/invoke.texi (ARM -march): Add "armv8.1-a" and
>>      "armv8.1-a+crc".
>>      (ARM -mfpu): Add "neon-fp-armv8.1" and "crypto-neon-fp-armv8.1".
>



More information about the Gcc-patches mailing list