Disassemble macOS binaries to check for SME and SME2 instructions
Introduction
Prepare an arm64 Mach-O fixture
Inspect strings and symbols in a binary
Disassemble binaries and verify SME2
Automate and adapt the inspection workflow
Next Steps
Disassemble macOS binaries to check for SME and SME2 instructions
Review frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
Select the
arm64 slice when you inspect a universal Mach-O binary. Use options such as -arch arm64 with otool, strings, and nm, and confirm the slice with lipo -info.No. Strings and symbol names can suggest that the program relates to SME2. However, they alone don’t establish that SME or SME2 instructions are present. Inspect decoded executable code instead.
Compare the instruction bytes, mnemonic, operands, and address in
llvm-objdump output. Cross-check the decoded instruction and address with otool for the same binary.It confirms that the instructions are present in the inspected executable code. It doesn’t show whether the application calls that code or whether running it improves performance.
Put
verify-static-sme2.sh, strict-sme2.awk, and the compiled binaries in the working directory. Run the script with the binary name. The positive fixture should pass, while the string-only control should report no matching instructions.