[PATCH] D131389: [AArch64] Add Missing v8.8a ALLINT PSTATE
Sam Elliott via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 8 03:45:28 PDT 2022
lenary created this revision.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
lenary requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
I noticed, on close reading of the Arm ARM, that llvm is missing
assembly support for a recently-added PSTATE: ALLINT from FEAT_NMI.
This patch:
- Adds the missing PSTATE
- Aligns the decoder more closely with the Arm ARM Decoder pseudocode, including allowing 4-bit immediates for all PSTATES except those explicitly noted (ALLINT, and the SVCRs that we handle separately).
- Tries to centralise the information about the immediates accepted by a given named PSTATE, rather than spreading it around the LLVM codebase.
- Updates tests for existing pstates to reflect these changes.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D131389
Files:
llvm/lib/Target/AArch64/AArch64.td
llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
llvm/lib/Target/AArch64/AArch64SystemOperands.td
llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.h
llvm/test/MC/AArch64/armv8.1a-pan.s
llvm/test/MC/AArch64/armv8.2a-uao.s
llvm/test/MC/AArch64/armv8.4a-dit.s
llvm/test/MC/AArch64/armv8.5a-ssbs-error.s
llvm/test/MC/AArch64/armv8.8a-nmi-error.s
llvm/test/MC/AArch64/armv8.8a-nmi.s
llvm/test/MC/Disassembler/AArch64/armv8.1a-pan.txt
llvm/test/MC/Disassembler/AArch64/armv8.2a-uao.txt
llvm/test/MC/Disassembler/AArch64/armv8.8a-nmi.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131389.450753.patch
Type: text/x-patch
Size: 15220 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220808/c471adc4/attachment.bin>
More information about the llvm-commits
mailing list