@@ -542,12 +542,6 @@ let Features = "avx",
542542  def movmskps256 : X86Builtin<" int(_Vector<8, float>)"  >;
543543}
544544
545- let Features = " avx"  ,
546-     Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<256 >] in {
547-   def movmskpd256 : X86Builtin<" int(_Vector<4, double>)"  >;
548-   def movmskps256 : X86Builtin<" int(_Vector<8, float>)"  >;
549- }
550- 
551545let Features = " avx"  ,
552546    Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<256 >] in {
553547  def vtestzpd256 : X86Builtin<" int(_Vector<4, double>, _Vector<4, double>)"  >;
@@ -594,11 +588,6 @@ let Features = "avx", Attributes = [NoThrow, Const, Constexpr, RequiredVectorWid
594588  def vec_set_v8si : X86Builtin<" _Vector<8, int>(_Vector<8, int>, int, _Constant int)"  >;
595589}
596590
597- let Features = " avx2"  ,
598-     Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<256 >] in {
599-   def pmovmskb256 : X86Builtin<" int(_Vector<32, char>)"  >;
600- }
601- 
602591let Features = " avx2"  , Attributes = [NoThrow, Const, RequiredVectorWidth<256 >] in {
603592  def mpsadbw256 : X86Builtin<" _Vector<32, char>(_Vector<32, char>, _Vector<32, char>, _Constant char)"  >;
604593  def palignr256 : X86Builtin<" _Vector<32, char>(_Vector<32, char>, _Vector<32, char>, _Constant int)"  >;
@@ -607,8 +596,9 @@ let Features = "avx2", Attributes = [NoThrow, Const, RequiredVectorWidth<256>] i
607596  def phaddsw256 : X86Builtin<" _Vector<16, short>(_Vector<16, short>, _Vector<16, short>)"  >;
608597  def phsubw256 : X86Builtin<" _Vector<16, short>(_Vector<16, short>, _Vector<16, short>)"  >;
609598  def phsubd256 : X86Builtin<" _Vector<8, int>(_Vector<8, int>, _Vector<8, int>)"  >;
610-   def phsubsw256 : X86Builtin<" _Vector<16, short>(_Vector<16, short>, _Vector<16, short>)"  >;
611-   def pmovmskb256 : X86Builtin<" int(_Vector<32, char>)"  >;
599+   def phsubsw256
600+       : X86Builtin<
601+             " _Vector<16, short>(_Vector<16, short>, _Vector<16, short>)"  >;
612602  def pmulhrsw256 : X86Builtin<" _Vector<16, short>(_Vector<16, short>, _Vector<16, short>)"  >;
613603  def psadbw256 : X86Builtin<" _Vector<4, long long int>(_Vector<32, char>, _Vector<32, char>)"  >;
614604  def pshufb256 : X86Builtin<" _Vector<32, char>(_Vector<32, char>, _Vector<32, char>)"  >;
@@ -635,6 +625,7 @@ let Features = "avx2", Attributes = [NoThrow, Const, RequiredVectorWidth<256>] i
635625
636626
637627let Features = " avx2"  , Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<256 >] in {
628+   def pmovmskb256 : X86Builtin<" int(_Vector<32, char>)"  >;
638629  def pavgb256 : X86Builtin<" _Vector<32, unsigned char>(_Vector<32, unsigned char>, _Vector<32, unsigned char>)"  >;
639630  def pavgw256 : X86Builtin<" _Vector<16, unsigned short>(_Vector<16, unsigned short>, _Vector<16, unsigned short>)"  >;
640631
0 commit comments