[PATCH][ARM]Add armv7ve architecture support to gas

Renlin Li renlin.li@arm.com
Mon Nov 11 18:03:00 GMT 2013


Hello all,

This patch will add new arch option armv7ve to gas. armv7ve is basically 
a armv7-a architecture profile with Virtualization Extensions.

"-march=armv7ve" has the same effect as 
"-march=armv7-a+virt+sec+idiv+mp" in the command line.
In the assembler code, the following configurations have the same effects:

.arch armv7ve
=====or=======
.arch armv7-a
.arch_extension idiv
.arch_extension mp
.arch_extension sec
.arch_extension virt

A small test case is also added.

This has been tested for arm-none-linux-gnueabi on the model.
Okay for trunk?

Kind regards,
Renlin Li

Add support for armv7ve to gas.

gas/ChangeLog:

2013-11-11  Renlin Li  <Renlin.Li@arm.com>

     * config/tc-arm.c (arm_archs): New armv7ve architecture option.
     (arm_cpus): Replace ARM_ARCH_V7A_IDIV_MP_SEC_VIRT with
     ARM_ARCH_V7VE for cortex-a7, cortex-a12 and cortex-a15.
     (cpu_arch_ver): Likewise.
     * doc/c-arm.texi: Document armv7ve.

gas/testsuite/ChangeLog:

2013-11-1  Renlin Li  <Renlin.Li@arm.com>
     * gas/arm/attr-march-armv7ve.d: New test case for armv7ve.

include/opcode/ChangeLog:

2013-11-11  Renlin Li  <Renlin.Li@arm.com>
     * arm.h (ARM_AEXT_V7VE): New define.
     (ARM_ARCH_V7VE): New define.
     (ARM_ARCH_V7A_IDIV_MP_SEC_VIRT): Removed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gas.diff
Type: text/x-patch
Size: 4645 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20131111/0306df52/attachment.bin>


More information about the Binutils mailing list