[Bug target/84406] [8 Regression][MSP430] ICE on valid code in find_widening_optab_handler_and_mode, at optabs-query.c:476
jozefl.gcc at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Feb 15 18:44:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84406
--- Comment #3 from Jozef Lawrynowicz <jozefl.gcc at gmail dot com> ---
Created attachment 43433
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43433&action=edit
define {u,}mulhipsi3 insns
I applied the patch but trunk still ICEs.
After defining some insns for "umulhipsi3" and "mulhipsi3" in msp430.md, the
build gets a little further, but then a case is encountered where a widen from
QI to PSI is attempted. QI != PARTIAL_INT_MODE, so we ICE again.
The insns in attached patch are mostly just copied from the mulhisi*, so are
almost definitely not correct, but they are at least there for GCC to use in
the build.
More information about the Gcc-bugs
mailing list