Re: [PATCH] Remove bswap STRICT_ALING target limitation

2014-06-30 Thread Rainer Orth
Richard Biener writes: > On June 27, 2014 2:50:33 PM CEST, Rainer Orth > wrote: >>Richard Biener writes: >> >>> The following patch enables bswap-from-load for STRICT_ALIGNMENT >>> targets when the load is aligned instead of unconditionally >>> (which probably was not intended). >>> >>> (note t

Re: [PATCH] Remove bswap STRICT_ALING target limitation

2014-06-27 Thread Rainer Orth
Richard Biener writes: >>> 2014-06-27 Richard Biener >>> >>> * tree-ssa-math-opts.c (bswap_replace): Fix >>> SLOW_UNALIGNED_ACCESS test to only apply to unaligned object. >> >>This should fix PR bootstrap/61320. > > That would be odd. It's almost exactly the workaround patch you've pr

Re: [PATCH] Remove bswap STRICT_ALING target limitation

2014-06-27 Thread Richard Biener
On June 27, 2014 2:50:33 PM CEST, Rainer Orth wrote: >Richard Biener writes: > >> The following patch enables bswap-from-load for STRICT_ALIGNMENT >> targets when the load is aligned instead of unconditionally >> (which probably was not intended). >> >> (note to self: we should fully transition

Re: [PATCH] Remove bswap STRICT_ALING target limitation

2014-06-27 Thread Rainer Orth
Richard Biener writes: > The following patch enables bswap-from-load for STRICT_ALIGNMENT > targets when the load is aligned instead of unconditionally > (which probably was not intended). > > (note to self: we should fully transition to use SLOW_UNALIGNED_ACCESS) > > Bootstrapped and tested on x

[PATCH] Remove bswap STRICT_ALING target limitation

2014-06-27 Thread Richard Biener
The following patch enables bswap-from-load for STRICT_ALIGNMENT targets when the load is aligned instead of unconditionally (which probably was not intended). (note to self: we should fully transition to use SLOW_UNALIGNED_ACCESS) Bootstrapped and tested on x86_64-unknown-linux-gnu. Richard.