Skip to content

Add Arm SVE2.1 and SME MOP4 feature detection - #439

Open
patryk-kaiser-ARM wants to merge 1 commit into
pytorch:mainfrom
patryk-kaiser-ARM:patkai01/arm-sve2p1-sme-mop4
Open

patryk-kaiser-ARM wants to merge 1 commit into
pytorch:mainfrom
patryk-kaiser-ARM:patkai01/arm-sve2p1-sme-mop4

Conversation

@patryk-kaiser-ARM

Copy link
Copy Markdown

Add feature checks for Arm SVE2.1 and SME MOP4.

  • Detect SVE2.1 on Linux using HWCAP2_SVE2P1 (bit 36).
  • Detect SME MOP4 on Linux using HWCAP_SME_SMOP4 (bit 47).
  • Detect SVE2.1 on Windows using PF_ARM_SVE2_1_INSTRUCTIONS_AVAILABLE (feature 48).

Windows does not currently expose an equivalent feature value for SME MOP4 so the detection is Linux only here.

Tested using QEMU AArch64 11.1.1 with both feature flags enabled.

Signed-off-by: Patryk Kaiser <patryk.kaiser@arm.com>
@meta-cla meta-cla Bot added the cla signed label Oct 6, 2026
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.

1 participant