[PATCH] D99586: [AArch64] Default to zero-cycle-zeroing FP registers.

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 31 01:18:52 PDT 2021


SjoerdMeijer updated this revision to Diff 334372.
SjoerdMeijer added a comment.

This sets FeatureNoZCZeroingFP for some older cores.

I have considered not making this the default, but just setting ZCZeroingFP for each core. But I think the cores not supporting this are an exception, the trend is that this supported by newer cores, and GCC also defaults to this, see https://godbolt.org/z/Mvxvze48M. Thus making ZCZeroingFP the default still makes sense I think.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99586/new/

https://reviews.llvm.org/D99586

Files:
  llvm/lib/Target/AArch64/AArch64.td
  llvm/lib/Target/AArch64/AArch64Subtarget.h
  llvm/test/CodeGen/AArch64/arm64-fast-isel-materialize.ll
  llvm/test/CodeGen/AArch64/arm64-fp-contract-zero.ll
  llvm/test/CodeGen/AArch64/arm64-rev.ll
  llvm/test/CodeGen/AArch64/arm64-zero-cycle-zeroing.ll
  llvm/test/CodeGen/AArch64/f16-imm.ll
  llvm/test/CodeGen/AArch64/fptosi-sat-scalar.ll
  llvm/test/CodeGen/AArch64/fptosi-sat-vector.ll
  llvm/test/CodeGen/AArch64/fptoui-sat-scalar.ll
  llvm/test/CodeGen/AArch64/fptoui-sat-vector.ll
  llvm/test/CodeGen/AArch64/remat-float0.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99586.334372.patch
Type: text/x-patch
Size: 26477 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210331/9800e084/attachment-0001.bin>


More information about the llvm-commits mailing list