Re: Postreload and STRICT_LOW_PART

2009-09-20 Thread Paolo Bonzini
On 09/20/2009 06:31 PM, Richard Guenther wrote: On Sun, Sep 20, 2009 at 6:10 PM, Andreas Schwab wrote: Why is postreload converting (set (REGX) (CONST_INT A)) ... (set (REGX) (CONST_INT B)) into (set (STRICT_LOW_PART (REGX)) (CONST_INT B))? That looks like a pessimisation especially if the con

Re: Postreload and STRICT_LOW_PART

2009-09-20 Thread Richard Guenther
On Sun, Sep 20, 2009 at 6:10 PM, Andreas Schwab wrote: > Why is postreload converting (set (REGX) (CONST_INT A)) ... (set (REGX) > (CONST_INT B)) into (set (STRICT_LOW_PART (REGX)) (CONST_INT B))?  That > looks like a pessimisation especially if the constants are small, since > STRICT_LOW_PART mus

Postreload and STRICT_LOW_PART

2009-09-20 Thread Andreas Schwab
Why is postreload converting (set (REGX) (CONST_INT A)) ... (set (REGX) (CONST_INT B)) into (set (STRICT_LOW_PART (REGX)) (CONST_INT B))? That looks like a pessimisation especially if the constants are small, since STRICT_LOW_PART must not touch the high part. Is there a way for the backend to st