[AArch64] Support for CLZ
Vidya Praveen
vidyapraveen@arm.com
Wed May 22 11:47:00 GMT 2013
Hello,
This patch adds support to AdvSIMD CLZ instruction and adds tests for the same.
Regression test done for aarch64-none-elf with no issues.
OK?
Regards
VP
---
gcc/ChangeLog
2013-05-22 Vidya Praveen <vidyapraveen@arm.com>
* config/aarch64/aarch64-simd.md (clzv4si2): Support for CLZ
instruction (AdvSIMD).
* config/aarch64/aarch64-builtins.c
(aarch64_builtin_vectorized_function): Handler for BUILT_IN_CLZ.
* config/aarch64/aarch-simd-builtins.def: Entry for CLZ.
* testsuite/gcc.target/aarch64/vect-clz.c: New file.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clz.patch
Type: text/x-patch
Size: 2823 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130522/12178ed4/attachment.bin>
More information about the Gcc-patches
mailing list