================
@@ -82,6 +82,17 @@ let Attributes = [Const, NoThrow, RequiredVectorWidth<128>]
in {
}
}
+ foreach Cmp = ["min", "max"] in {
+ let Features = "sse", Attributes = [Constexpr] in {
+ def Cmp#ps : X86Builtin<"_Vector<4, float>(_Vector<4, float>, _Vector<4,
float>)">;
+ def Cmp#ss : X86Builtin<"_Vector<4, float>(_Vector<4, float>, _Vector<4,
float>)">;
+ }
+ let Features = "sse2", Attributes = [Constexpr] in {
+ def Cmp#pd : X86Builtin<"_Vector<2, double>(_Vector<2, double>,
_Vector<2, double>)">;
+ def Cmp#sd : X86Builtin<"_Vector<2, double>(_Vector<2, double>,
_Vector<2, double>)">;
+ }
+ }
----------------
RKSimon wrote:
move these to existing sse/sse2 128 blocks below - doesn't matter if you keep
the foreach or just epand them
https://github.com/llvm/llvm-project/pull/171966
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits