@@ -315,8 +315,6 @@ let Features = "sse4.1", Attributes = [NoThrow, Const, RequiredVectorWidth<128>]
315315 def pblendw128 : X86Builtin<" _Vector<8, short>(_Vector<8, short>, _Vector<8, short>, _Constant int)" >;
316316 def blendpd : X86Builtin<" _Vector<2, double>(_Vector<2, double>, _Vector<2, double>, _Constant int)" >;
317317 def blendps : X86Builtin<" _Vector<4, float>(_Vector<4, float>, _Vector<4, float>, _Constant int)" >;
318- def blendvpd : X86Builtin<" _Vector<2, double>(_Vector<2, double>, _Vector<2, double>, _Vector<2, double>)" >;
319- def blendvps : X86Builtin<" _Vector<4, float>(_Vector<4, float>, _Vector<4, float>, _Vector<4, float>)" >;
320318 def packusdw128 : X86Builtin<" _Vector<8, short>(_Vector<4, int>, _Vector<4, int>)" >;
321319 def roundps : X86Builtin<" _Vector<4, float>(_Vector<4, float>, _Constant int)" >;
322320 def roundss : X86Builtin<" _Vector<4, float>(_Vector<4, float>, _Vector<4, float>, _Constant int)" >;
@@ -335,7 +333,10 @@ let Features = "sse4.1", Attributes = [NoThrow, Const, RequiredVectorWidth<128>]
335333}
336334
337335let Features = " sse4.1" , Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<128 >] in {
336+ def blendvpd : X86Builtin<" _Vector<2, double>(_Vector<2, double>, _Vector<2, double>, _Vector<2, double>)" >;
337+ def blendvps : X86Builtin<" _Vector<4, float>(_Vector<4, float>, _Vector<4, float>, _Vector<4, float>)" >;
338338 def pblendvb128 : X86Builtin<" _Vector<16, char>(_Vector<16, char>, _Vector<16, char>, _Vector<16, char>)" >;
339+
339340 def pmuldq128 : X86Builtin<" _Vector<2, long long int>(_Vector<4, int>, _Vector<4, int>)" >;
340341}
341342
@@ -470,8 +471,6 @@ let Features = "avx", Attributes = [NoThrow, Const, RequiredVectorWidth<256>] in
470471 def vpermilvarps256 : X86Builtin<" _Vector<8, float>(_Vector<8, float>, _Vector<8, int>)" >;
471472 def blendpd256 : X86Builtin<" _Vector<4, double>(_Vector<4, double>, _Vector<4, double>, _Constant int)" >;
472473 def blendps256 : X86Builtin<" _Vector<8, float>(_Vector<8, float>, _Vector<8, float>, _Constant int)" >;
473- def blendvpd256 : X86Builtin<" _Vector<4, double>(_Vector<4, double>, _Vector<4, double>, _Vector<4, double>)" >;
474- def blendvps256 : X86Builtin<" _Vector<8, float>(_Vector<8, float>, _Vector<8, float>, _Vector<8, float>)" >;
475474 def shufpd256 : X86Builtin<" _Vector<4, double>(_Vector<4, double>, _Vector<4, double>, _Constant int)" >;
476475 def shufps256 : X86Builtin<" _Vector<8, float>(_Vector<8, float>, _Vector<8, float>, _Constant int)" >;
477476 def dpps256 : X86Builtin<" _Vector<8, float>(_Vector<8, float>, _Vector<8, float>, _Constant char)" >;
@@ -495,6 +494,11 @@ let Features = "avx", Attributes = [NoThrow, Const, RequiredVectorWidth<128>] in
495494 def vpermilps : X86Builtin<" _Vector<4, float>(_Vector<4, float>, _Constant int)" >;
496495}
497496
497+ let Features = " avx" , Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<256 >] in {
498+ def blendvpd256 : X86Builtin<" _Vector<4, double>(_Vector<4, double>, _Vector<4, double>, _Vector<4, double>)" >;
499+ def blendvps256 : X86Builtin<" _Vector<8, float>(_Vector<8, float>, _Vector<8, float>, _Vector<8, float>)" >;
500+ }
501+
498502let Features = " avx" , Attributes = [NoThrow, Const, RequiredVectorWidth<256 >] in {
499503 def vpermilpd256 : X86Builtin<" _Vector<4, double>(_Vector<4, double>, _Constant int)" >;
500504 def vpermilps256 : X86Builtin<" _Vector<8, float>(_Vector<8, float>, _Constant int)" >;
0 commit comments