On 03/16/12 05:36, Bernd Schmidt wrote:
> The machine is "special". Pointer addition is a different operation than
> integer addition. It'll also need a new ptr_plus rtx code which takes a
> Pmode and an SImode operand. Pmode is larger than SImode but fits in a
> single register; intptr_t (which is what we'd need to use if we freely
> cast between pointers and integers is DImode - that requires two regs
> and can't be used for memory addressing.
Surely the least amount of work is to not use sizetype/intptr_t, but a
custom type that has the same bit-width as a pointer?