This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: mn10300 64-bit clean-up
On May 20, 2000, Richard Henderson <rth@cygnus.com> wrote:
>> ! val[1] = (val[0] >> 31) >> 1;
> This doesn't seem right.
Indeed, it isn't. It also assumes sign extension on shift right.
How about rewriting GCC in Java? :-) :-)
--
Alexandre Oliva Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org} Write to mailing lists, not to me