aboutsummaryrefslogtreecommitdiffhomepage
path: root/gen
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2024-10-11 11:22:35 +0900
committerMITSUNARI Shigeo <[email protected]>2024-10-13 13:51:06 +0900
commit864fd0c49ce07fc534b16250758987c445bb9c70 (patch)
tree4615ae3631cf2e9ca7325c39b45a1bc121b926fb /gen
parent183e17f94d4ae2f72d6bc84063c1c01cf2512eb5 (diff)
downloadxbyak-864fd0c49ce07fc534b16250758987c445bb9c70.tar.gz
xbyak-864fd0c49ce07fc534b16250758987c445bb9c70.zip
add vaddnepbf16
Diffstat (limited to 'gen')
-rw-r--r--gen/gen_avx512.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/gen/gen_avx512.cpp b/gen/gen_avx512.cpp
index 79ec79a..23923b0 100644
--- a/gen/gen_avx512.cpp
+++ b/gen/gen_avx512.cpp
@@ -944,6 +944,22 @@ void putFP16_2()
}
}
+void putAVX10_BF16()
+{
+ const struct Tbl {
+ const char *name;
+ uint64_t type;
+ uint8_t code;
+ } tbl[] = {
+ { "vaddnepbf16", T_66 | T_MAP5 | T_EW0 | T_YMM | T_B16, 0x58 },
+ };
+ for (size_t i = 0; i < NUM_OF_ARRAY(tbl); i++) {
+ const Tbl& p = tbl[i];
+ std::string s = type2String(p.type | T_MUST_EVEX);
+ printf("void %s(const Xmm& x1, const Xmm& x2, const Operand& op) { opAVX_X_X_XM(x1, x2, op, %s, 0x%2X); }\n" , p.name, s.c_str(), p.code);
+ }
+}
+
void putFP16()
{
putFP16_1();
@@ -952,6 +968,11 @@ void putFP16()
putFP16_2();
}
+void putAVX10()
+{
+ putAVX10_BF16();
+}
+
int main(int argc, char *[])
{
bool only64bit = argc == 2;
@@ -977,4 +998,5 @@ int main(int argc, char *[])
putScatter();
putV4FMA();
putFP16();
+ putAVX10();
}