You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clang/test/CodeGen/X86/builtin_test_helpers.h
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -230,6 +230,11 @@ constexpr bool match_v16si(__m512i _v, int a, int b, int c, int d, int e, int f,
230
230
return v[0] == a && v[1] == b && v[2] == c && v[3] == d && v[4] == e && v[5] == f && v[6] == g && v[7] == h && v[8] == i && v[9] == j && v[10] == k && v[11] == l && v[12] == m && v[13] == n && v[14] == o && v[15] == p;
231
231
}
232
232
233
+
constexprboolmatch_v16su(__m512i _v, unsignedint a, unsignedint b, unsignedint c, unsignedint d, unsignedint e, unsignedint f, unsignedint g, unsignedint h, unsignedint i, unsignedint j, unsignedint k, unsignedint l, unsignedint m, unsignedint n, unsignedint o, unsignedint p) {
234
+
__v16su v = (__v16su)_v;
235
+
return v[0] == a && v[1] == b && v[2] == c && v[3] == d && v[4] == e && v[5] == f && v[6] == g && v[7] == h && v[8] == i && v[9] == j && v[10] == k && v[11] == l && v[12] == m && v[13] == n && v[14] == o && v[15] == p;
236
+
}
237
+
233
238
constexprboolmatch_v32hi(__m512i _v, short __e00, short __e01, short __e02, short __e03, short __e04, short __e05, short __e06, short __e07,
234
239
short __e08, short __e09, short __e10, short __e11, short __e12, short __e13, short __e14, short __e15,
235
240
short __e16, short __e17, short __e18, short __e19, short __e20, short __e21, short __e22, short __e23,
0 commit comments