[PATCH, BINUTILS, ARM, 2/3] Add instruction SB for AArch32

Sudakshina Das sudi.das@arm.com
Wed Sep 19 14:36:00 GMT 2018


Hi

Thia patch is part of the patch series to add support for ARMv8.5-A
extensions.
(https://developer.arm.com/products/architecture/cpu-architecture/a-profile/exploration-tools)

This patch adds the instruction SB. This instruction
is retrospectively made optional for all versions of the architecture
from ARMv8.0 to ARMv8.4 and is mandatory from ARMv8.5. Hence adding a
new "+sb" for older archtectures.

Testing done: Builds and reg tests all pass on arm-none-eabi.
Added new tests.

Ok for trunk?

Thanks
Sudi
PS. I do not have commit access so if OK can someone apply for me?

*** include/ChangeLog ***

2018-xx-xx  Sudakshina Das  <sudi.das@arm.com>

	* opcode/arm.h (SB_EXT_ARMV8): New.
	(ARM_ARCH_V8_5A): Add SB_EXT_ARMV8 by default.

*** opcodes/ChangeLog ***

2018-xx-xx  Sudakshina Das  <sudi.das@arm.com>

	* arm-dis.c (arm_opcodes): Add sb.
	(thumb32_opcodes): Likewise.

*** gas/ChangeLog ***

2018-xx-xx  Sudakshina Das  <sudi.das@arm.com>

	* config/tc-arm.c (sb_ext_armv8): New.
	(insns): Add new sb instruction.
	(arm_extensions): Add "sb".
	* doc/c-arm.texi: Document the above.
	* testsuite/gas/arm/sb-bad.d: New test.
	* testsuite/gas/arm/sb-bad.l: New test.
	* testsuite/gas/arm/sb-thumb1.d: New test.
	* testsuite/gas/arm/sb-thumb2.d: New test.
	* testsuite/gas/arm/sb.s: New test.
	* testsuite/gas/arm/sb1.d: New test.
	* testsuite/gas/arm/sb2.d: New test.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: rb9974.patch
Type: text/x-patch
Size: 7944 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20180919/fe59359d/attachment.bin>


More information about the Binutils mailing list