[Bug target/57583] large switches with jump tables are horribly broken on m68k
mikpelinux at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sun Dec 18 18:46:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57583
--- Comment #8 from Mikael Pettersson <mikpelinux at gmail dot com> ---
Created attachment 40362
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40362&action=edit
patch adding -mlong-jump-table-offsets option for m68k
This is the crude patch I mentioned in an older comment, forward-ported to
trunk. It's only a compile-time option for using long offsets, plus needed
adjustments here and there.
I haven't tried to implement CASE_VECTOR_SHORTEN_MODE since I don't think it's
useful without per-insn length attributes.
Why does the backend have three identical definitions of ASM_RETURN_CASE_JUMP?
More information about the Gcc-bugs
mailing list