[PATCH] D42806: [AArch64] optionally filter out denorms when using frsqrte to calculate sqrt
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 1 11:19:04 PST 2018
spatel added a comment.
In https://reviews.llvm.org/D42806#995193, @efriedma wrote:
> 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';
>
Ah, great - so we don't need this patch. Should still change the select operand to FPZero to produce the 'bic' rather than 'bsl' though?
https://reviews.llvm.org/D42806
More information about the llvm-commits
mailing list