diff options
author | MITSUNARI Shigeo <[email protected]> | 2021-09-13 14:39:56 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2021-09-13 14:39:56 +0900 |
commit | 3ff69a474c7e48646c074a0eb5c7c76970fd1596 (patch) | |
tree | 57af91816719611ae36257633d94afcc4795faa1 /gen/gen_avx512.cpp | |
parent | 678b5295687dcfa13cc4bd35b46c4994d5a9fc92 (diff) | |
download | xbyak-3ff69a474c7e48646c074a0eb5c7c76970fd1596.tar.gz xbyak-3ff69a474c7e48646c074a0eb5c7c76970fd1596.zip |
add vcvtph2pd
Diffstat (limited to 'gen/gen_avx512.cpp')
-rw-r--r-- | gen/gen_avx512.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gen/gen_avx512.cpp b/gen/gen_avx512.cpp index f225097..eca7c7f 100644 --- a/gen/gen_avx512.cpp +++ b/gen/gen_avx512.cpp @@ -556,6 +556,8 @@ void putCvt() { 0x5B, "vcvtqq2ps", T_0F | T_YMM | T_MUST_EVEX | T_EW1 | T_B64 | T_ER_Z, 2 }, { 0x78, "vcvttpd2udq", T_0F | T_YMM | T_MUST_EVEX | T_EW1 | T_B64 | T_SAE_Z, 2 }, { 0x7A, "vcvtuqq2ps", T_F2 | T_0F | T_YMM | T_MUST_EVEX | T_EW1 | T_B64 | T_ER_Z, 2 }, + + { 0x5A, "vcvtph2pd", T_MAP5 | T_MUST_EVEX | T_YMM | T_EW0 | T_B16 | T_N4 | T_N_VL | T_SAE_X, 3 }, }; for (size_t i = 0; i < NUM_OF_ARRAY(tbl); i++) { const Tbl& p = tbl[i]; @@ -570,6 +572,9 @@ void putCvt() case 2: printf("void %s(const Xmm& x, const Operand& op) { opCvt2(x, op, %s, 0x%02X); }\n", p.name, type.c_str(), p.code); break; + case 3: + printf("void %s(const Xmm& x, const Operand& op) { if (!op.isXMM() && !op.isMEM()) XBYAK_THROW(ERR_BAD_MEM_SIZE) opVex(x, 0, op, %s, 0x%02X); }\n", p.name, type.c_str(), p.code); + break; } } puts("void vcvtusi2sd(const Xmm& x1, const Xmm& x2, const Operand& op) { opCvt3(x1, x2, op, T_F2 | T_0F | T_MUST_EVEX, T_W1 | T_EW1 | T_ER_X | T_N8, T_W0 | T_EW0 | T_N4, 0x7B); }"); |