diff options
author | MITSUNARI Shigeo <[email protected]> | 2023-12-19 16:28:40 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2023-12-19 16:28:40 +0900 |
commit | fcb3d0dbb8ff30601547539de8fb47620f164f37 (patch) | |
tree | 74bf9b8d6f72314e12adb76b7926c6b91368a21d /gen | |
parent | 85709ace75901201f8c8a8bfafe71aab8ff2988f (diff) | |
download | xbyak-fcb3d0dbb8ff30601547539de8fb47620f164f37.tar.gz xbyak-fcb3d0dbb8ff30601547539de8fb47620f164f37.zip |
add aesdec128kl
Diffstat (limited to 'gen')
-rw-r--r-- | gen/gen_code.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gen/gen_code.cpp b/gen/gen_code.cpp index 6a73f42..e7cff6c 100644 --- a/gen/gen_code.cpp +++ b/gen/gen_code.cpp @@ -2013,6 +2013,30 @@ void put64() printf("void cmp%sxadd(const Address& addr, const Reg32e& r1, const Reg32e& r2) { opRRO(r1, r2, addr, T_APX|T_66|T_0F38, 0x%02X); }\n", p->name, p->code); } } + // aes + { + const struct Tbl { + const char *name; + uint64_t type1; + uint64_t type2; + uint8_t code; + int n; + } tbl[] = { + { "aesdec128kl", T_F3|T_0F38, T_MUST_EVEX|T_F3, 0xDD, 2 }, + }; + for (size_t i = 0; i < NUM_OF_ARRAY(tbl); i++) { + const Tbl *p = &tbl[i]; + std::string s1 = type2String(p->type1); + std::string s2 = type2String(p->type2); + switch (p->n) { + case 1: + break; + case 2: + printf("void %s(const Xmm& x, const Address& addr) { opAESKL(&x, addr, %s, %s, 0x%02X); }\n", p->name, s1.c_str(), s2.c_str(), p->code); + break; + } + } + } } void putAMX_TILE() |