[PATCH] D139455: AMDGPU: Document denormal behavior

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 14 14:32:30 PST 2022


arsenm added a comment.

In D139455#3996356 <https://reviews.llvm.org/D139455#3996356>, @artem.tamazov wrote:

> Just in case, am I correct that the compiler engages //output// modifiers only when "denormal-fp-math"="positive-zero"? AFAIU this is necessary because output modifiers force -0 to +0.

We have preserve-sign behavior and ignore positive-zero mode entirely. Also the modifiers are silently ignored for ieee mode =0. I don't remember what the wrong behavior depending on the denormal mode was, beyond don't use these without flushing


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

https://reviews.llvm.org/D139455



More information about the llvm-commits mailing list