[RFA:] In -build-operand!, -build-reg-operand, collect the natural mode, not the used mode,
Hans-Peter Nilsson
hans-peter.nilsson@axis.com
Fri Dec 20 19:33:00 GMT 2002
> From: Doug Evans <dje@transmeta.com>
> Date: Fri, 20 Dec 2002 09:17:10 -0800 (PST)
> I think what we want to do is require all sets of registers
> to use the natural mode of the register.
> For registers like x86's al,ah,ax,eax, we can either
> - add set-partial, or some such
> - use (set (subword ...) ...)
> - require the description of additional registers that are
> smaller-mode aliases of the "real" register
>
> I think I prefer either of the latter two.
My vote is for (set (subword ...) ...)
brgds, H-P
More information about the Cgen
mailing list