Probably very similar to PR87149: $ ppc64le-linux-gnu-gcc /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/powerpc/vsx-builtin-3.c -mno-fprnd -c /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/powerpc/vsx-builtin-3.c: In function ‘do_math’: /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/powerpc/vsx-builtin-3.c:152:1: error: unrecognizable insn: 152 | } | ^ (insn 203 202 204 2 (set (reg:DF 146 [ _26 ]) (unspec:DF [ (reg:DF 145 [ _25 ]) ] UNSPEC_FRIM)) "/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/powerpc/vsx-builtin-3.c":146:13 -1 (nil)) during RTL pass: vregs /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/powerpc/vsx-builtin-3.c:152:1: internal compiler error: in extract_insn, at recog.c:2305 0x572551 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-ppc64le/build/gcc/rtl-error.c:108 0x57256d _fatal_insn_not_found(rtx_def const*, char const*, int, char const*) /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-ppc64le/build/gcc/rtl-error.c:116 0x571a5a extract_insn(rtx_insn*) /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-ppc64le/build/gcc/recog.c:2305 0x7b899f instantiate_virtual_regs_in_insn /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-ppc64le/build/gcc/function.c:1605 0x7b899f instantiate_virtual_regs /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-ppc64le/build/gcc/function.c:1975 0x7b899f execute /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-ppc64le/build/gcc/function.c:2024
Confirmed.
Any progress on that Segher?
It's the same problem as many other PRs. You are using -mcpu=power8 (it is the default for powerpc64le), but disabling some 2.04 insns (power5+).
(In reply to Segher Boessenkool from comment #3) > It's the same problem as many other PRs. You are using -mcpu=power8 (it is > the default for powerpc64le), but disabling some 2.04 insns (power5+). Works for me, so lets decrease the priority of it.
commit 68dd57808f7c0147acdb5ca72c88ff655afcb0ce Author: Carl Love <carll@us.ibm.com> Date: Fri Mar 20 18:15:05 2020 -0500 rs6000: Add command line and builtin compatibility check 2020-03-20 Carl Love <cel@us.ibm.com> PR/target 87583 * gcc/config/rs6000/rs6000.c (rs6000_option_override_internal): Add check for TARGET_FPRND for Power 7 or newer.
The releases/gcc-9 branch has been updated by Carl Love <carll@gcc.gnu.org>: https://gcc.gnu.org/g:8ab40918a3b6b9093930193fe8900d738858e75f commit r9-8425-g8ab40918a3b6b9093930193fe8900d738858e75f Author: Carl Love <carll@us.ibm.com> Date: Tue Mar 31 11:30:00 2020 -0500 rs6000: Add command line and builtin compatibility check 2020-03-31 Carl Love <cel@us.ibm.com> backport of mainline commit commit 68dd57808f7c0147acdb5ca72c88ff655afcb0ce Author: Carl Love <carll@us.ibm.com> Date: Fri Mar 20 18:15:05 2020 -0500 whith change log typo fixed. PR target/87583 * gcc/config/rs6000/rs6000.c (rs6000_option_override_internal): Add check for TARGET_FPRND for Power 7 or newer.
The releases/gcc-8 branch has been updated by Carl Love <carll@gcc.gnu.org>: https://gcc.gnu.org/g:bfb0e282e3dacb7c72f78b9b546b36a6fcc534e8 commit r8-10153-gbfb0e282e3dacb7c72f78b9b546b36a6fcc534e8 Author: Carl Love <carll@us.ibm.com> Date: Tue Mar 31 11:53:47 2020 -0500 rs6000 Add command line and builtin compatibility check 2020-03-31 Carl Love <cel@us.ibm.com> backport of mainline commit commit 68dd57808f7c0147acdb5ca72c88ff655afcb0ce Author: Carl Love <carll@us.ibm.com> Date: Fri Mar 20 18:15:05 2020 -0500 whith change log typo fixed. PR target/87583 * gcc/config/rs6000/rs6000.c (rs6000_option_override_internal): Add check for TARGET_FPRND for Power 7 or newer.
The issue was fixed with a patch to mainline, backported to GCC 8 and 9