On 10/21/10 22:11, Ian Lance Taylor wrote:
Paul Koning writes:
To take that example, on the pdp11 an SImode is two HImodes. Could
the RTL template in the MD file for, say, addsi3 split that into two
or three insns that operate on HImode values and describe the actual
instructions? In this c
Frédéric RISS writes:
>> The lower subreg pass will do that for you if you have the right set of
>> insns.
>
> Could you expand a bit on what the 'right set of instructions' is or
> even better give an example of an md file where we could find an
> example?
E.g., on a 32-bit system, start with a
Le jeudi 21 octobre 2010 à 21:11 -0700, Ian Lance Taylor a écrit :
> Paul Koning writes:
>
> > To take that example, on the pdp11 an SImode is two HImodes. Could
> > the RTL template in the MD file for, say, addsi3 split that into two
> > or three insns that operate on HImode values and describe
Paul Koning writes:
> To take that example, on the pdp11 an SImode is two HImodes. Could
> the RTL template in the MD file for, say, addsi3 split that into two
> or three insns that operate on HImode values and describe the actual
> instructions? In this case: add high parts, then add low parts
On Oct 21, 2010, at 8:15 PM, Ian Lance Taylor wrote:
> Frederic Riss writes:
>
>> Is it possible to describe multi-register values in RTL when the
>> subparts of the value aren't stored in consecutive registers? For
>> example having a DI value constructed from 2 unrelated SI registers
>> (with
Frederic Riss writes:
> Is it possible to describe multi-register values in RTL when the
> subparts of the value aren't stored in consecutive registers? For
> example having a DI value constructed from 2 unrelated SI registers
> (without losing the semantic of the original DI value) ?
Not really
Hi,
Is it possible to describe multi-register values in RTL when the
subparts of the value aren't stored in consecutive registers? For
example having a DI value constructed from 2 unrelated SI registers
(without losing the semantic of the original DI value) ?
Thanks a lot,
Fred