add movdir64b

This commit is contained in:
MITSUNARI Shigeo 2022-05-12 10:51:23 +09:00
parent a6665996b9
commit 72d1ac1183
3 changed files with 11 additions and 0 deletions

View file

@ -1932,10 +1932,12 @@ CYBOZU_TEST_AUTO(misc)
{
cldemote(ptr[eax+esi*4+0x12]);
movdiri(ptr[edx+esi*2+4], eax);
movdir64b(eax, ptr[edx]);
#ifdef XBYAK64
cldemote(ptr[rax+rdi*8+0x123]);
movdiri(ptr[rax+r12], r9);
movdiri(ptr[rax+r12*2+4], r9d);
movdir64b(r10, ptr[r8]);
#endif
}
} c;
@ -1948,10 +1950,17 @@ CYBOZU_TEST_AUTO(misc)
0x67,
#endif
0x0f, 0x38, 0xf9, 0x44, 0x72, 0x04, // movdiri
0x66,
#ifdef XBYAK64
0x67,
#endif
0x0f, 0x38, 0xf8, 0x02, // movdir64b
#ifdef XBYAK64
0x0f, 0x1c, 0x84, 0xf8, 0x23, 0x01, 0x00, 0x00, // cldemote
0x4e, 0x0f, 0x38, 0xf9, 0x0c, 0x20, // movdiri
0x46, 0x0f, 0x38, 0xf9, 0x4c, 0x60, 0x04, // movdiri
0x66, 0x45, 0x0f, 0x38, 0xf8, 0x10, // movdir64b
#endif
};
const size_t n = sizeof(tbl) / sizeof(tbl[0]);