This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Introduce abi_word_mode
firstname.lastname@example.org (Richard Kenner) writes:
> > I think it's only superficially valuable. I think that when you
> > really try to write code that uses it, you find that it is actually
> > not very helpful. The type of exact width BITS_PER_WORD has very
> > little meaning or use.
> The case that comes to mind is writing an array that represents a register
> save area. In that case, word_mode is precisely what you want.
But it doesn't help very much because most popular processors have
registers of different sizes. So if you want to get it exactly right
you have to write system dependent code anyhow.