[PATCH] D42806: [AArch64] optionally filter out denorms when using frsqrte to calculate sqrt

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 1 11:01:27 PST 2018


efriedma added a comment.

frsqrte produces a finite estimate for denormal numbers.  From the ARM ARM:

  if exp == 0 then
      while fraction<51> == 0 do
          fraction = fraction<50:0> : '0';
          exp = exp - 1;
      fraction = fraction<50:0> : '0';


https://reviews.llvm.org/D42806





More information about the llvm-commits mailing list