Skip to content

Conversation

@sdesmalen-arm
Copy link
Collaborator

This patch simplifies the code in two different ways:

  • When SVE is available, return cntd directly to avoid the need for bitfield insert.
  • When SME is available, check the PSTATE.SM bit of SVCR directly rather than calling __arm_sme_state.

This patch simplifies the code in two different ways:
* When SVE is available, return `cntd` directly to avoid the need
  for bitfield insert.
* When SME is available, check the PSTATE.SM bit of `SVCR` directly
  rather than calling `__arm_sme_state`.
@sdesmalen-arm sdesmalen-arm merged commit 5a0d73b into llvm:main Dec 10, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants