Skip to content
Snippets Groups Projects
Commit 70f59d2a authored by Cui, Lili's avatar Cui, Lili
Browse files

Support andn_optab for x86

Add new andn pattern to match the new optab added by
r15-1890-gf379596e0ba99d. Only enable 64bit, 128bit and
256bit vector ANDN, X86-64 has mask mov instruction when
avx512 is enabled.

gcc/ChangeLog:

	* config/i386/sse.md (andn<mode>3): New.
	* config/i386/mmx.md (andn<mode>3): New.

gcc/testsuite/ChangeLog:

	* g++.target/i386/vect-cmp.C: New test.
parent 72ae35bb
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment