diff options
author | MITSUNARI Shigeo <[email protected]> | 2024-06-11 16:45:09 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2024-06-11 16:45:09 +0900 |
commit | 8e0ccba17a22e3ffd6e2df5b591191fe535ee613 (patch) | |
tree | 9341a69dc9e5823f81724f7e9a1dae63de112ab0 | |
parent | 0744f2a37ca34bc2ce82cf539b725b06fb3a32ad (diff) | |
download | xbyak-8e0ccba17a22e3ffd6e2df5b591191fe535ee613.tar.gz xbyak-8e0ccba17a22e3ffd6e2df5b591191fe535ee613.zip |
add xresldtrk/xsusldtrk
-rw-r--r-- | gen/gen_code.cpp | 2 | ||||
-rw-r--r-- | xbyak/xbyak_mnemonic.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/gen/gen_code.cpp b/gen/gen_code.cpp index 3959cc5..e43c9b2 100644 --- a/gen/gen_code.cpp +++ b/gen/gen_code.cpp @@ -758,6 +758,8 @@ void put() { "wbinvd", 0x0F, 0x09 }, { "wrmsr", 0x0F, 0x30 }, { "xlatb", 0xD7 }, + { "xresldtrk", 0xF2, 0x0F, 0x01, 0xE9 }, + { "xsusldtrk", 0xF2, 0x0F, 0x01, 0xE8 }, { "xend", 0x0f, 0x01, 0xd5 }, { "popf", 0x9D }, diff --git a/xbyak/xbyak_mnemonic.h b/xbyak/xbyak_mnemonic.h index eb5fd7f..e397118 100644 --- a/xbyak/xbyak_mnemonic.h +++ b/xbyak/xbyak_mnemonic.h @@ -1612,6 +1612,8 @@ void xor_(const Reg& d, const Operand& op, uint32_t imm) { opROI(d, op, imm, T_N void xor_(const Reg& d, const Operand& op1, const Operand& op2) { opROO(d, op1, op2, T_NF|T_CODE1_IF1, 0x30); } void xorpd(const Xmm& xmm, const Operand& op) { opSSE(xmm, op, T_0F | T_66, 0x57, isXMM_XMMorMEM); } void xorps(const Xmm& xmm, const Operand& op) { opSSE(xmm, op, T_0F, 0x57, isXMM_XMMorMEM); } +void xresldtrk() { db(0xF2); db(0x0F); db(0x01); db(0xE9); } +void xsusldtrk() { db(0xF2); db(0x0F); db(0x01); db(0xE8); } #ifdef XBYAK_ENABLE_OMITTED_OPERAND void vblendpd(const Xmm& x, const Operand& op, uint8_t imm) { vblendpd(x, x, op, imm); } void vblendps(const Xmm& x, const Operand& op, uint8_t imm) { vblendps(x, x, op, imm); } |