[PATCH] ARM: Implement big endian bit-conversion for NEON types

Christian Pirker cpirker at a-bix.com
Wed May 7 07:48:39 PDT 2014


Hi All,

This patch enables correct conversion between integer and vector data in big endian mode (data format differs wrt. endian mode).
The patch covers the conversion between floating point and vector types, and the function argument passing of vector types providing compatibility to the ARM ABI.
Big endian bit-conversions are implemented using VREV64 and VREV32 instructions.

Thanks,
Christian

http://reviews.llvm.org/D3651

Files:
  lib/Target/ARM/ARMFastISel.cpp
  lib/Target/ARM/ARMISelLowering.cpp
  lib/Target/ARM/ARMInstrNEON.td
  test/CodeGen/ARM/big-endian-neon-bitconv.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3651.9173.patch
Type: text/x-patch
Size: 25382 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140507/66b5bd89/attachment.bin>


More information about the llvm-commits mailing list