Fixed clang arm intrinsics for older compiler versions #663

Merged
minosgalanakis merged 1 commit from bugfix/fix-intrisic-aesce-clang into development 2026-02-11 07:43:12 -06:00
minosgalanakis commented 2026-01-15 09:20:04 -06:00 (Migrated from github.com)

Description

Resolves #660

PR checklist

Please remove the segment/s on either side of the | symbol as appropriate, and add any relevant link/s to the end of the line.
If the provided content is part of the present PR remove the # symbol.

  • changelog provided | not required because:
  • framework PR not required
  • mbedtls development PR not required because: The file only resides on this repository
  • mbedtls 3.6 PR provided Mbed-TLS/mbedtls#10565
  • tests not required because: TODO
## Description Resolves #660 ## PR checklist Please remove the segment/s on either side of the | symbol as appropriate, and add any relevant link/s to the end of the line. If the provided content is part of the present PR remove the # symbol. - [ ] **changelog** provided | not required because: - [ ] **framework PR** not required - [ ] **mbedtls development PR** not required because: The file only resides on this repository - [ ] **mbedtls 3.6 PR** provided Mbed-TLS/mbedtls#10565 - **tests** not required because: TODO
gilles-peskine-arm (Migrated from github.com) approved these changes 2026-02-10 10:36:52 -06:00
gilles-peskine-arm (Migrated from github.com) left a comment

Makes sense to me: llc-6.0 -march=aarch64 -mattr=help lists crypto but not aes, and llc-7 -march=aarch64 -mattr=help lists both. And for aarch64_32, according to the checks above, you need Clang ≥11, and llc-11 -march=aarch64_32 -mattr=help lists both aes and crypto.

Makes sense to me: `llc-6.0 -march=aarch64 -mattr=help` lists `crypto` but not `aes`, and `llc-7 -march=aarch64 -mattr=help` lists both. And for aarch64_32, according to the checks above, you need Clang ≥11, and `llc-11 -march=aarch64_32 -mattr=help` lists both `aes` and `crypto`.
davidhorstmann-arm (Migrated from github.com) approved these changes 2026-02-11 05:53:32 -06:00
davidhorstmann-arm (Migrated from github.com) left a comment

LGTM, thanks!

LGTM, thanks!
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-Mbed-TLS/TF-PSA-Crypto!663
No description provided.