diff options
author | MITSUNARI Shigeo <[email protected]> | 2024-10-08 11:57:39 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2024-10-08 11:57:39 +0900 |
commit | dd0991ea847325764f8679354b33972443185b6b (patch) | |
tree | f79ad0466e04635e6af4e368e4cb8c60d5101d83 /gen | |
parent | 0d96334effbfcb8bede078a7554fb431657e53c4 (diff) | |
download | xbyak-dd0991ea847325764f8679354b33972443185b6b.tar.gz xbyak-dd0991ea847325764f8679354b33972443185b6b.zip |
[fix] vcvttpd2dq accepts not {er} but {sae}
Diffstat (limited to 'gen')
-rw-r--r-- | gen/gen_code.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gen/gen_code.cpp b/gen/gen_code.cpp index ee8494f..c315bed 100644 --- a/gen/gen_code.cpp +++ b/gen/gen_code.cpp @@ -1772,7 +1772,7 @@ void put() puts("void vcvtpd2ps(const Xmm& x, const Operand& op) { opCvt2(x, op, T_0F | T_66 | T_YMM | T_EVEX | T_EW1 | T_B64 | T_ER_Z, 0x5A); }"); puts("void vcvtpd2dq(const Xmm& x, const Operand& op) { opCvt2(x, op, T_0F | T_F2 | T_YMM | T_EVEX | T_EW1 | T_B64 | T_ER_Z, 0xE6); }"); - puts("void vcvttpd2dq(const Xmm& x, const Operand& op) { opCvt2(x, op, T_66 | T_0F | T_YMM | T_EVEX |T_EW1 | T_B64 | T_ER_Z, 0xE6); }"); + puts("void vcvttpd2dq(const Xmm& x, const Operand& op) { opCvt2(x, op, T_66 | T_0F | T_YMM | T_EVEX |T_EW1 | T_B64 | T_SAE_Z, 0xE6); }"); puts("void vcvtph2ps(const Xmm& x, const Operand& op) { checkCvt1(x, op); opVex(x, 0, op, T_0F38 | T_66 | T_W0 | T_EVEX | T_EW0 | T_N8 | T_N_VL | T_SAE_Y, 0x13); }"); puts("void vcvtps2ph(const Operand& op, const Xmm& x, uint8_t imm) { checkCvt1(x, op); opVex(x, 0, op, T_0F3A | T_66 | T_W0 | T_EVEX | T_EW0 | T_N8 | T_N_VL | T_SAE_Y | T_M_K, 0x1D, imm); }"); |