This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Remove bswap STRICT_ALING target limitation
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>,Richard Biener <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org,thomas dot preudhomme at arm dot com
- Date: Fri, 27 Jun 2014 15:33:58 +0200
- Subject: Re: [PATCH] Remove bswap STRICT_ALING target limitation
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot LSU dot 2 dot 11 dot 1406271156020 dot 29270 at zhemvz dot fhfr dot qr> <yddfviqqzxi dot fsf at lokon dot CeBiTec dot Uni-Bielefeld dot DE>
On June 27, 2014 2:50:33 PM CEST, Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> wrote:
>Richard Biener <rguenther@suse.de> 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 x86_64-unknown-linux-gnu.
>>
>> Richard.
>>
>> 2014-06-27 Richard Biener <rguenther@suse.de>
>>
>> * 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.
Richard.
> Rainer