This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/48328] GCC failed to generate 16bit relative jump table
- From: "carrot at google dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 30 Mar 2011 07:25:37 +0000
- Subject: [Bug target/48328] GCC failed to generate 16bit relative jump table
- Auto-submitted: auto-generated
- References: <bug-48328-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48328
--- Comment #1 from Carrot <carrot at google dot com> 2011-03-30 07:25:31 UTC ---
Another possible enhancement is we can also use HImode jump table entries.
Similar to cases min<0, although tbh is not available in arm mode, we can use
separate instruction to load offset and adjust PC.