[Bug target/105271] ICE in extract_insn, at recog.cc:2791 (error: unrecognizable insn)
linkw at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Apr 14 06:50:02 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105271
Kewen Lin <linkw at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org
Target|powerpc-e300c3-linux-gnu |powerpc*-linux-gnu
Last reconfirmed| |2022-04-14
Ever confirmed|0 |1
CC| |linkw at gcc dot gnu.org
--- Comment #1 from Kewen Lin <linkw at gcc dot gnu.org> ---
It can be reproduce even without cross build, and it's related to commit
r12-7925.
Unlike the other vector integer mode, V2DImode on vec_neg
(__builtin_altivec_neg_v2di) is special, it requires the pattern negv2di and
it's further expanded into vzero and subv2di, the latter has the condition
guard "VECTOR_UNIT_P8_VECTOR_P (V2DImode)", so it's wrong to move it out from
P8 vector stanza. The fix can be to move it back to be under power8-vector
stanza.
More information about the Gcc-bugs
mailing list