[PATCH][GAS][AArch64] Add new command-line options and macros for Armv8.4-a [Patch (2/6)]
Tamar Christina
tamar.christina@arm.com
Wed Nov 8 10:11:00 GMT 2017
Hi All,
This patch adds assembler and disassembler support for the new Armv8.4-a
command-line options and supporting feature macros for AArch64.
The support can be enabled through various new extensions which have all
been back-ported back to Armv8.2-a.
The new extensions are:
+sm4 - Includes support for the encryption algorithms in the
SM3 and SM4 class.
+sha3 - New SHA3 and SHA2 instructions added to Armv8.4-a and
back-ported to Armv8.2-a, implies SHA2
along with a new architecture "armv8.4-a".
These extensions can be used with Armv8.2-a and higher.
Checked with check-gas on aarch64-none-elf and aarch64_be-none-elf,
no regressions.
Ok for master?
Ps. I do not have commit access so if OK can someone apply for me?
Thanks,
Tamar
gas/
2017-11-08 Tamar Christina <tamar.christina@arm.com>
* config/tc-aarch64.c (aarch64_arch_option_table): Add armv8.4-a.
(aarch64_features): Added SM4 and SHA3.
include/
2017-11-08 Tamar Christina <tamar.christina@arm.com>
* opcode/aarch64.h:
(AARCH64_FEATURE_V8_4, AARCH64_FEATURE_SM4): New.
(AARCH64_ARCH_V8_4, AARCH64_FEATURE_SHA3): New.
opcodes/
2017-11-08 Tamar Christina <tamar.christina@arm.com>
* aarch64-tbl.h
(aarch64_feature_v8_4, aarch64_feature_crypto_v8_2): New.
(aarch64_feature_sm4, aarch64_feature_sha3): New.
(aarch64_feature_fp_16_v8_2): New.
(ARMV8_4, SHA3, SM4, CRYPTO_V8_2, FP_F16_V8_2): New.
(V8_4_INSN, CRYPTO_V8_2_INSN): New.
(SHA3_INSN, SM4_INSN, FP16_V8_2_INSN): New.
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: content.patch
Type: text/x-diff
Size: 5019 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20171108/4ecad844/attachment.bin>
More information about the Binutils
mailing list