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: [GCC]][AArch64][PATCH] Fix big endian float immediate moves.


On Tue, Aug 01, 2017 at 04:05:13PM +0100, Tamar Christina wrote:
> Hi All,
> 
> real_to_target seems to return the order of the elements in the array
> differently depending on the endiannes. This undoes the endianness when
> combining the values back to a HOST_WIDE_INT.
> 
> Regtested on aach64-none-linux-gnu and aarch64_be-none-linux-gnu and no issues.

OK. But...

> +      ival |= (zext_hwi (res[1-order], 32) << 32);

Spaces either side of the '-' please.

Cheers,
James


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