[PATCH, BINUTILS, ARM] Add SSBB and PSSBB
Sudakshina Das
Sudi.Das@arm.com
Wed Jul 11 14:39:00 GMT 2018
Hi
This patch adds the following speculation barrier instructions
to the ARM assembler and disassembler according to
https://developer.arm.com/support/arm-security-updates/speculative-processor-vulnerability/download-the-whitepaper
SSBB
PSSBB
These are added retrospectively to all older architectures,
and thus have been added to ARM_EXT_V3 for AArch32 and ARM_EXT_V6T2
for Thumb2.
Testing done: Builds and reg tests all pass on arm-none-linux-gnueabi.
Updated test to check.
Is this ok for trunk? I do not have commit rights. If it is ok can someone
commit it on my behalf.
Thanks
Sudi
*** opcodes/ChangeLog ***
2018-xx-xx Sudakshina Das <sudi.das@arm.com>
* arm-dis.c (arm_opcodes): Add ssbb and pssbb and move
csdb together with them.
(thumb32_opcodes): Likewise.
*** gas/ChangeLog ***
2018-xx-xx Sudakshina Das <sudi.das@arm.com>
* config/tc-arm.c (insns): Add new ssbb and pssbb instructions.
* testsuite/gas/arm/csdb.s: Add new tests for ssbb and pssbb.
* testsuite/gas/arm/csdb.d: Likewise
* testsuite/gas/arm/thumb2_it_bad.s: Likewise.
* testsuite/gas/arm/thumb2_it_bad.l: Likewise.
* testsuite/gas/arm/barrier.d: Update with ssbb.
* testsuite/gas/arm/barrier-thumb.d: Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rb9172.patch
Type: text/x-patch
Size: 5970 bytes
Desc: rb9172.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20180711/8fdff150/attachment.bin>
More information about the Binutils
mailing list