[llvm] [AArch64] Create set.fpmr intrinsic and assembly lowering (PR #114248)

Paul Walker via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 5 06:18:43 PST 2024


================
@@ -2145,6 +2145,12 @@ def MSR_FPSR : Pseudo<(outs), (ins GPR64:$val),
                PseudoInstExpansion<(MSR 0xda21, GPR64:$val)>,
                Sched<[WriteSys]>;
 
+let Uses = [FPMR], Defs = [FPMR, NZCV] in
+def SET_FPMR : Pseudo<(outs), (ins GPR64:$val),
----------------
paulwalker-arm wrote:

I think it best to match the existing naming scheme, which would make this `def MSR_FPMR`.

https://github.com/llvm/llvm-project/pull/114248


More information about the llvm-commits mailing list