This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/80530] [7/8 Regression][AArch64] ICE when expanding reciprocal square root with -mcpu=exynos-m1 or -mcpu=xgene-1


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80530

wilco at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wilco at gcc dot gnu.org

--- Comment #2 from wilco at gcc dot gnu.org ---
Basically what happens we claim the builtin exists and then when rsqrt is to be
expanded we decide not to emit it. There is no alternative (unlike div and sqrt
which can fall back to their original instruction), so it fails.

aarch64_emit_approx_sqrt needs to use use_rsqrt_p when recp is true rather than
using a different condition.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]