This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Introduce abi_word_mode
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Cc: iant at google dot com, Andreas dot Krebbel at de dot ibm dot com, gcc-patches at gcc dot gnu dot org, mark at codesourcery dot com, richard at codesourcery dot com
- Date: Tue, 10 Oct 2006 00:38:29 +0200 (CEST)
- Subject: Re: [PATCH] Introduce abi_word_mode
(I apologize for the duplicate messages, I used a broken mailer ...)
kenner@vlsi1.ultra.nyu.edu (Richard Kenner) wrote on 10/10/2006 12:26:03 AM:
> > 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.
Actually, not. See my reply to Ian -- in our proposed usage scenario on
s390, the register save area size is *different* from the physical register
size, and we would like the former to be "abi_word_mode" while the latter
is word_mode.
Bye,
Ulrich
--
Dr. Ulrich Weigand
Linux on zSeries Development
Ulrich.Weigand@de.ibm.com