[PATCH, BINUTILS, AArch64] Enable Transactional Memory Extension
Sudakshina Das
Sudi.Das@arm.com
Mon Apr 29 13:34:00 GMT 2019
Hi
This patch enables the new Transactional Memory Extension added recently
as part of Arm's new architecture technologies.
https://community.arm.com/developer/ip-products/processors/b/processors-ip-blog/posts/new-technologies-for-the-arm-a-profile-architecture
We introduce a new optional extension "tme" to enable this. The
following instructions are part of the extension:
* tstart <Xt>
* ttest <Xt>
* tcommit
* tcancel #<imm>
The ISA for the above can be found here:
https://developer.arm.com/docs/ddi0602/latest/base-instructions-alphabetic-order
Builds and regression tested on aarch64-none-linux-gnu and added new
tests for the new instructions.
Is this okay for trunk?
Thanks
Sudi
(PS: I have taken out the regenerated files from the patch to keep it
more readable. I will add those while committing)
*** gas/ChangeLog ***
2019-xx-xx Sudakshina Das <sudi.das@arm.com>
* config/tc-aarch64.c (parse_operands): Add case for
AARCH64_OPND_TME_UIMM16.
(aarch64_features): Add "tme".
* doc/c-aarch64.texi: Document the same.
* testsuite/gas/aarch64/tme-invalid.d: New test.
* testsuite/gas/aarch64/tme-invalid.l: New test.
* testsuite/gas/aarch64/tme-invalid.s: New test.
* testsuite/gas/aarch64/tme.d: New test.
* testsuite/gas/aarch64/tme.s: New test.
*** include/ChangeLog ***
2019-xx-xx Sudakshina Das <sudi.das@arm.com>
* opcode/aarch64.h (AARCH64_FEATURE_TME): New.
(enum aarch64_opnd): Add AARCH64_OPND_TME_UIMM16.
*** opcodes/ChangeLog ***
2019-xx-xx Sudakshina Das <sudi.das@arm.com>
* aarch64-asm-2.c: Regenerated.
* aarch64-dis-2.c: Regenerated.
* aarch64-opc-2.c: Regenerated.
* aarch64-opc.c (operand_general_constraint_met_p): Add case for
AARCH64_OPND_TME_UIMM16.
(aarch64_print_operand): Likewise.
* aarch64-tbl.h (QL_IMM_NIL): New.
(TME): New.
(_TME_INSN): New.
(struct aarch64_opcode): Add tstart, tcommit, ttest and tcancel.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rb10863.patch
Type: text/x-patch
Size: 10635 bytes
Desc: rb10863.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20190429/c0e3ee32/attachment.bin>
More information about the Binutils
mailing list