On Wed, May 9, 2018 at 2:20 PM, Jim Wilson <j...@sifive.com> wrote: > On Wed, May 2, 2018 at 3:05 PM, Jim Wilson <j...@sifive.com> wrote: >> This improves the code for a switch statement on targets that sign-extend >> function arguments, such as RISC-V. Given a simple testcase >> ... >> gcc/ >> * expr.c (do_tablejump): When converting index to Pmode, if we have a >> sign extended promoted subreg, and the range does not have the sign >> bit >> set, then do a sign extend.
ping^2 https://gcc.gnu.org/ml/gcc-patches/2018-05/msg00118.html Jim