[PATCH] D148126: [llvm][readobj] Add AArch64 SME and SME2 note types
David Spickett via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 12 06:27:49 PDT 2023
DavidSpickett created this revision.
Herald added subscribers: ctetreau, hiraditya, kristof.beyls, emaste.
Herald added a reviewer: jhenderson.
Herald added a project: All.
DavidSpickett requested review of this revision.
Herald added subscribers: llvm-commits, alextsao1999, MaskRay.
Herald added a project: LLVM.
These are used to store new state added by the Scalable Matrix
Extension which is documented in
https://developer.arm.com/documentation/ddi0616/aa/.
The values match those defined by Linux, see:
https://github.com/torvalds/linux/blob/e62252bc55b6d4eddc6c2bdbf95a448180d6a08d/include/uapi/linux/elf.h#L435
The ZT register(s) are added by SME2 which is not yet publicly
documented but has support in LLVM and Linux already.
Also added descriptions for SVE and PAC_MASK notes since those
were missing.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D148126
Files:
llvm/include/llvm/BinaryFormat/ELF.h
llvm/lib/ObjectYAML/ELFYAML.cpp
llvm/test/tools/llvm-readobj/ELF/note-core.test
llvm/tools/llvm-readobj/ELFDumper.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148126.512809.patch
Type: text/x-patch
Size: 6315 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230412/ff90ace3/attachment.bin>
More information about the llvm-commits
mailing list