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]
Other format: [Raw text]

Re: pointer-set hash fallback cleanup


On Oct 18, 2004, at 9:49 AM, Richard Henderson wrote:

Jakub, this is what I'd had in mind for the fallback. There's no reason
to compute the golden ratio with libm functions rather than just writing
out enough digits so as not to matter.

Possibly stupid question... Has gcc ever been ported to a system where sizeof(long)*CHAR_BIT is anything other than 32 or 64?

If the answer is no, then I don't think there's any reason to have this
fallback.  I would be very surprised if pointer-set.c was the only thing
that would have to be modified for the first port to such a system.

--Matt


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