This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Aarch64 ISA additions (SM3, SM4, SHA3)
- From: Tamar Christina <Tamar dot Christina at arm dot com>
- To: "noloader at gmail dot com" <noloader at gmail dot com>, gcc-help <gcc-help at gcc dot gnu dot org>
- Cc: nd <nd at arm dot com>
- Date: Tue, 6 Feb 2018 11:47:13 +0000
- Subject: RE: Aarch64 ISA additions (SM3, SM4, SHA3)
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=Tamar dot Christina at arm dot com;
- Nodisclaimer: True
- References: <CAH8yC8m98KLzqxd14VJK_7r3wjSHk_w-_SseR8FF4ojsFBLXyw@mail.gmail.com>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Hi Jeff,
>
> * What versions of GCC offer SM3, SM4 and SHA3?
They will be supported starting with GCC 8.
> * What is AES and SHA2? How is it different from +crypto?
>
In short, +crypto = +eas +sha2. We are retro-actively splitting the Armv8.0-A Cryptographic extensions into two groups
Based on the algorithm family.
For more on this see the Arm ARM (version ca or newer) on page C3-219 in the note.
https://developer.arm.com/products/architecture/a-profile/docs/ddi0487/latest/arm-architecture-reference-manual-armv8-for-armv8-a-architecture-profile
> * Can we now use, say, -march=armv8.4-a+aes or -march=armv8.4-a+sha2
> instead of -march=armv8-a+crypto?
Yes, that's correct.
Regards,
Tamar
>
> Jeff