This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Remove bswap STRICT_ALING target limitation


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]