This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH, BINUTILS, AARCH64, 3/8] Add Pointer Arithmetic instructions in Memory Tagging Extension
- From: "Richard Earnshaw (lists)" <Richard dot Earnshaw at arm dot com>
- To: Sudakshina Das <Sudi dot Das at arm dot com>, "binutils at sourceware dot org" <binutils at sourceware dot org>
- Cc: Ramana Radhakrishnan <Ramana dot Radhakrishnan at arm dot com>, "nickc at redhat dot com" <nickc at redhat dot com>, nd <nd at arm dot com>
- Date: Tue, 30 Oct 2018 09:46:11 +0000
- Subject: Re: [PATCH, BINUTILS, AARCH64, 3/8] Add Pointer Arithmetic instructions in Memory Tagging Extension
- References: <233fbaf7-1e69-319d-6179-2ba420815d45@arm.com>
On 09/10/2018 18:24, Sudakshina Das wrote:
> Hi
>
> This patch is part of the patch series to add support for ARMv8.5-A
> Memory Tagging Extensions.
> (https://developer.arm.com/products/architecture/cpu-architecture/a-profile/exploration-tools)
> Memory Tagging Extension (MTE) is an optional extension to
> ARMv8.5-A and is enabled using the +memtag command line option.
>
> This patch add support to the Pointer Arithmetic instructions from
> MTE. These are the following instructions added in this patch:
> - SUBP <Xd>, <Xn|SP>, <Xm|SP>
> - SUBPS <Xd>, <Xn|SP>, <Xm|SP>
> - CMPP <Xn|SP>, <Xm|SP>
> where CMPP is an alias to SUBPS XZR, <Xn|SP>, <Xm|SP>
>
> where
> <Xd> : Is the 64-bit destination GPR.
> <Xn|SP> : Is the 64-bit first source GPR or Stack pointer.
> <Xm|SP> : Is the 64-bit second source GPR or Stack pointer.
>
> Testing done: Builds and reg tests all pass on aarch64-none-linux-gnu.
> Added test.
>
> Is this ok for trunk?
>
> Thanks
> Sudi
>
> *** opcodes/ChangeLog ***
>
> 2018-xx-xx Sudakshina Das <sudi.das@arm.com>
>
> * aarch64-tbl.h (aarch64_opcode_table): Add subp, subps and
> cmpp.
> * aarch64-asm-2.c: Regenarated.
> * aarch64-dis-2.c: Regenerated.
> * aarch64-opc-2.c: Regenerated.
>
> *** gas/ChangeLog ***
>
> 2018-xx-xx Sudakshina Das <sudi.das@arm.com>
>
> * testsuite/gas/aarch64/armv8_5-a-mte.s: Add tests for subp,
> subps and cmpp.
> * testsuite/gas/aarch64/armv8_5-a-mte.d: Likewise.
>
>
OK with the MTE/MEMTAG issue fixed.
R.