[PATCH][AArch64][test] Disable vector cost model on vect_ctz_1.c test
Kyrill Tkachov
kyrylo.tkachov@arm.com
Thu Dec 4 09:42:00 GMT 2014
Hi all,
The second scan-assembler test for clz\tv\[0-9\]+\.2s FAILs on this test
due to vector costs on A57.
The vectorisation happens for cortex-a53 and thunderx.
I think this test was supposed to test the capability of vectorising clz
rather than the tuning decision of whether to (though I imagine people
can argue the other way),
so this patch adds an -fno-vect-cost-model to it to get it to always
vectorise.
This way the test passes on all -mcpu options.
Ok for trunk?
Thanks,
Kyrill
2014-12-04 Kyrylo Tkachov kyrylo.tkachov@arm.com\
* gcc.target/aarch64/vect_ctz_1.c: Add -fno-vect-cost-model to
dg-options.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aarch64-test-clz-vect.patch
Type: text/x-patch
Size: 442 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20141204/5cd5c62f/attachment.bin>
More information about the Gcc-patches
mailing list