On Sun, Apr 21, 2013 at 05:58:33PM +0100, Richard Henderson wrote: > On 2013-04-21 11:35, Aurelien Jarno wrote: > >Wouldn't it be better to only declare the zero constraint (using bfc in > >that case), and let the middle-end to load the constant in other cases? > > Possibly. I wondered if the work of the extra constraint was worth > the effort.
I am not sure it would make the patch that much bigger. And it would prevent a constant to be reloaded twice, provided we fix/improve the constant propagation to avoid this. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurel...@aurel32.net http://www.aurel32.net