This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [GCC]][AArch64][PATCH] Fix big endian float immediate moves.
- From: James Greenhalgh <james dot greenhalgh at arm dot com>
- To: <gcc-patches at gcc dot gnu dot org>, <Richard dot Earnshaw at arm dot com>, <Marcus dot Shawcroft at arm dot com>
- Cc: <nd at arm dot com>, <tamchr01 at arm dot com>
- Date: Wed, 2 Aug 2017 09:28:02 +0100
- Subject: Re: [GCC]][AArch64][PATCH] Fix big endian float immediate moves.
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=pass (sender IP is 217.140.96.140) smtp.mailfrom=arm.com; gcc.gnu.org; dkim=none (message not signed) header.d=none;gcc.gnu.org; dmarc=bestguesspass action=none header.from=arm.com;
- Nodisclaimer: True
- References: <20170801150510.GA11610@arm.com>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
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