[PATCH] ARMEB: Vector narrow operations

Christian Pirker cpirker at a-bix.com
Fri Jun 6 08:20:47 PDT 2014


Hi all,

This patch implements correct vector narrow operations from <2 x 64> to <2 x 8>, <2 x 16>, and <2 x 32> and from <4 x 32 > to <4 x 8>, <4 x 16> vector type for big endian.
It applies to both integer and float type vectors. The CLANG vectorizer is likely to generate such vector extensions for array type casts.
You may also look into D4043, that covers the vector extension operations.

Please review.

Thanks,
Christian

http://reviews.llvm.org/D4044

Files:
  lib/Target/ARM/ARMISelLowering.cpp
  test/CodeGen/ARM/big-endian-neon-narrow.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4044.10181.patch
Type: text/x-patch
Size: 7341 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140606/68763805/attachment.bin>


More information about the llvm-commits mailing list