This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: mn10300 64-bit clean-up


On May 20, 2000, Alexandre Oliva <aoliva@cygnus.com> wrote:

> No, I'm extracting the high word in case HOST_WIDE_INT is 64-bits
> long.  It will be exactly -1 or 0 in the 32-bits case.

BTW, I've just stumbled across split_double, that does precisely what
I want, except that it GEN_INTs the separate words, which I don't
need.  I'm thinking of creating split_wide (any better names) by
removing the GEN_INTs from split_double, renaming it, and creating a
new split_double that calls split_wide then GEN_INTs the wide ints.

But I'll have to fix split_double() first.  It also assumes sign
extension on signed shift right :-0

-- 
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]