[Patch AArch64 2/2]Add missing vcond by rewriting it with vcond_mask/vec_cmp patterns.

Bin Cheng Bin.Cheng@arm.com
Wed Jun 15 09:22:00 GMT 2016


Hi,
This is the second patch.  It rewrites vcond patterns using vcond_mask/vec_cmp patterns introduced in the first one.  It also implements vcond patterns which were missing in the current AArch64 backend.  After this patch, I have a simple follow up change enabling testing requirement "vect_cond_mixed" on AArch64, which will enable various tests.

Bootstrap & test along with the first patch on AArch64, is it OK?

Thanks,
bin

2016-06-07  Alan Lawrence  <alan.lawrence@arm.com>
	    Renlin Li  <renlin.li@arm.com>
	    Bin Cheng  <bin.cheng@arm.com>

	* config/aarch64/iterators.md (V_cmp_mixed, v_cmp_mixed): New.
	* config/aarch64/aarch64-simd.md (<su><maxmin>v2di3): Call
	gen_vcondv2div2di instead of gen_aarch64_vcond_internalv2div2di.
	(aarch64_vcond_internal<mode><mode>): Delete pattern.
	(aarch64_vcond_internal<VDQF_COND:mode><VDQF:mode>): Ditto.
	(vcond<mode><mode>): Re-implement using vec_cmp and vcond_mask.
	(vcondu<mode><mode>): Ditto.
	(vcond<v_cmp_result><mode>): Delete.
	(vcond<v_cmp_mixed><mode>): New pattern.
	(vcondu<mode><v_cmp_mixed>): New pattern.
	(aarch64_cmtst<mode>): Revise comment using aarch64_vcond instead
	of aarch64_vcond_internal.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: aarch64-vcond-20160607.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20160615/4f2dbcbb/attachment.txt>


More information about the Gcc-patches mailing list