[AArch64_be] Fix vtbl[34] and vtbx4

Christophe Lyon christophe.lyon@linaro.org
Tue Sep 15 16:25:00 GMT 2015


This patch re-implements vtbl[34] and vtbx4 AdvSIMD intrinsics using
existing builtins, and fixes the behaviour on aarch64_be.

Tested on aarch64_be-none-elf and aarch64-none-elf using the Foundation Model.

OK?

Christophe.
-------------- next part --------------
2015-09-15  Christophe Lyon  <christophe.lyon@linaro.org>

	* config/aarch64/aarch64-builtins.c
	(aarch64_types_tbl_qualifiers): New static data.
	(TYPES_TBL): Define.
	* config/aarch64/aarch64-simd-builtins.def: Update builtins
	tables.
	* config/aarch64/aarch64-simd.md (aarch64_tbl3v8qi): New.
	* config/aarch64/arm_neon.h (vtbl3_s8, vtbl3_u8, vtbl3_p8)
	(vtbl4_s8, vtbl4_u8, vtbl4_p8): Rewrite using builtin functions.
	(vtbx4_s8, vtbx4_u8, vtbx4_p8): Emulate behaviour using other
	intrinsics.
	* config/aarch64/iterators.md (V8Q): New.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtbX.patch
Type: text/x-patch
Size: 9898 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150915/6d00fe33/attachment.bin>


More information about the Gcc-patches mailing list