[Bug target/63424] Octave -O3 build: internal compiler error: in prepare_cmp_insn, at optabs.c:4237

renlin.li at arm dot com gcc-bugzilla@gcc.gnu.org
Wed Oct 22 08:58:00 GMT 2014


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

--- Comment #2 from Renlin Li <renlin.li at arm dot com> ---
VEC_COND_EXPR with V2DI mode is generated as aarch64 target supports it
(vcond<mode><mode>). The VEC_COND_EXPR expression will further folded into
MIN_EXPR/MAX_EXPR expression in the dom pass.

However, aarch64 min/max expanders don't support V2DI mode. The compiler tries
to generate compare and jump sequence for this, and no vector compare can be
found(aarch64 dose have one, however, the compiler uses cbranch as a key to
search for a compare insn). And no library function is provided, it asserts.



More information about the Gcc-bugs mailing list