[GCC]][AArch64][PATCH] Fix big endian float immediate moves.

Tamar Christina tamar.christina@arm.com
Tue Aug 1 15:05:00 GMT 2017


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.

Thanks,
Tamar


gcc/
2017-08-01  Tamar Christina  <tamar.christina@arm.com>

	* config/aarch64/aarch64.c (aarch64_reinterpret_float_as_int):
	Correct endianness.

-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7983-diff.patch
Type: text/x-diff
Size: 806 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20170801/c2b36287/attachment.bin>


More information about the Gcc-patches mailing list