This patch adds the assembly/disassembly for the following instructions:
cntp : Set scalar to count from predicate-as-counter
The reference can be found here:
https://developer.arm.com/documentation/ddi0602/2022-09
Paths
| Differential D136747
[AArch64][SVE2] Add the SVE2.1 cntp instruction ClosedPublic Authored by david-arm on Oct 26 2022, 1:35 AM.
Details Summary This patch adds the assembly/disassembly for the following instructions: cntp : Set scalar to count from predicate-as-counter The reference can be found here:
Diff Detail Event TimelineComment Actions Feel free to ignore me, but I see SME more often than SVE in this patch.
Comment Actions
I agree, this is an SVE feature rather then SME. Sure SME implements it as part of streaming mode but that's just a different execution mode for SVE.
david-arm added inline comments.
david-arm marked 2 inline comments as done. Comment Actions
david-arm marked 5 inline comments as done. This revision is now accepted and ready to land.Nov 1 2022, 6:14 AM This revision was landed with ongoing or failed builds.Nov 1 2022, 6:38 AM Closed by commit rG5f7a8cf026a6: [AArch64][SVE2] Add the SVE2.1 cntp instruction (authored by david-arm). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 472077 llvm/lib/Target/AArch64/AArch64RegisterInfo.td
llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
llvm/lib/Target/AArch64/AArch64SystemOperands.td
llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.h
llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
llvm/lib/Target/AArch64/SVEInstrFormats.td
llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.h
llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.cpp
llvm/test/MC/AArch64/SVE2p1/cntp-diagnostics.s
llvm/test/MC/AArch64/SVE2p1/cntp.s
|
Do you need a special PrintMethod here? I likely missed this be reviewing your other patch but printSVERegOp (i.e. the default action for PPRRegOp) looks like it might just work.