[PATCH] D83818: [AArch64] fjcvtzs,rmif,cfinv,setf* all clobber nzcv
Sjoerd Meijer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 23 04:11:21 PDT 2020
SjoerdMeijer added a comment.
Agreed. From the ArmARM:
> Floating-point FJCVTZS instruction sets the PSTATE.Z flag if the result of the conversion, when converted back to a double-precision floating-point number, gives precisely the same value as the original. Other PSTATE flags are cleared by this instruction
And there are similar descriptions for the other instructions.
With the instruction descriptions fixed, would it be possible to add a test case for this:
> Adding these defs will prevent these instructions from being scheduled within an nzcv live range.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83818/new/
https://reviews.llvm.org/D83818
More information about the llvm-commits
mailing list