SMS in gcc4.0

Steven Bosscher stevenb@suse.de
Thu Jun 2 13:14:00 GMT 2005


On Jun 02, 2005 03:09 PM, Mostafa Hagog <MUSTAFA@il.ibm.com> wrote:

> As to the subtraction for IA-64; I expect that the gen_sub2_insn handles
> the subtraction correctly and generate the required RTL to do the
> subtraction according to the machine description.

But that expectation is incorrect.  gen_sub2_insn will quite hapilly
produce RTL that doesn't satisfy the predicates and constraints of any
insn.

> If it requires additional
> moves this is due to a target limitation, which means this is not the
> problem of SMS, it should be somewhere in the machine description.

No, the machine description is fine.  There simply are no sub and add
insns for ar.lc (loop counter reg on ia64).

Gr.
Steven




More information about the Gcc mailing list