Crossjumping of tables

Josef Zlomek zlomj9am@artax.karlin.mff.cuni.cz
Fri Mar 14 15:43:00 GMT 2003


> > Note that this UNSPEC does have a particular semantics that needs
> > to be respected.  The value in the literal pool is not the address
> > represented by the label, but rather the *offset* from the start
> > of the literal pool to that address.
> >
> > delegitimize_address is always careful to return something that
> > represent the same value, so it would leave this particular
> > UNSPEC as is in any case.

The type of unspec with the pic label is 100, I have looked into
s390_delegitimize_address and it returns the unchanged argument
for type 100.

> Ah.  Ok.  If the s390 backend ever wants to expose these semantics
> to the middle-end, i.e. that this UNSPEC represents an offset from
> the start of the literal pool, it could use s390_delegitimize_address
> to do so.  Otherwise, this optimization may just have to be disabled
> on that target.

Josef



More information about the Gcc-patches mailing list