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

--- Comment #13 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Oleg Endo from comment #12)
> (In reply to H.J. Lu from comment #9)
> > Do iq2000 mcore sh4eb psABIs require signed/unsigned extensions for 8/16-bit
> > integers?
> 
> On SH we have two ABIs.  GNU ABI (default) requires the sign extension to
> 32-bit.  The Hitachi/Renesas abi (-mrenesas) doesn't require it and allows
> for undefined upper bits.

So sign extension to 32-bit works for both ABIs.

Reply via email to