Unnecessary sign- and zero-extensions in GCC?

Nicholas Nethercote njn@cs.utexas.edu
Mon Apr 18 19:45:00 GMT 2005


On Mon, 18 Apr 2005, Steven Bosscher wrote:

>> I've been looking at GCC's use of sign-extensions when dealing with
>> integers smaller than a machine word size.  It looks like there is room
>> for improvement.
>
> Is your problem the same as the one described on one of the Wiki pages,
> "http://gcc.gnu.org/wiki/Exploiting Dual Mode Operation"?

I think so, yes.

Nick



More information about the Gcc mailing list