This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/80530] [7/8 Regression][AArch64] ICE when expanding reciprocal square root with -mcpu=exynos-m1 or -mcpu=xgene-1
- From: "wilco at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 26 Apr 2017 18:08:11 +0000
- Subject: [Bug target/80530] [7/8 Regression][AArch64] ICE when expanding reciprocal square root with -mcpu=exynos-m1 or -mcpu=xgene-1
- Auto-submitted: auto-generated
- References: <bug-80530-4@http.gcc.gnu.org/bugzilla/>
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.