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: [PATCH] Introduce abi_word_mode


kenner@vlsi1.ultra.nyu.edu (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.

Ian


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