diff options
author | MITSUNARI Shigeo <[email protected]> | 2018-08-13 16:15:19 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2018-08-13 16:27:52 +0900 |
commit | 8b93498fe65295a637cdfb4d7afbf3000c5bc397 (patch) | |
tree | 12b474b9d69f1a81324c5bcb0ae2011a08bc6ebd /gen | |
parent | 7eb627509f4be89baa3a25b87dcfca1320273849 (diff) | |
download | xbyak-8b93498fe65295a637cdfb4d7afbf3000c5bc397.tar.gz xbyak-8b93498fe65295a637cdfb4d7afbf3000c5bc397.zip |
add cmpsb/scasb/...
Diffstat (limited to 'gen')
-rw-r--r-- | gen/gen_code.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gen/gen_code.cpp b/gen/gen_code.cpp index d34ad75..500d3e3 100644 --- a/gen/gen_code.cpp +++ b/gen/gen_code.cpp @@ -630,9 +630,18 @@ void put() { "cpuid", 0x0F, 0xA2 }, { "cwd", 0x66, 0x99 }, { "cwde", 0x98 }, + { "cmpsb", 0xA6 }, + { "cmpsw", 0x66, 0xA7 }, + { "cmpsd", 0xA7 }, + { "scasb", 0xAE }, + { "scasw", 0x66, 0xAF }, + { "scasd", 0xAF }, { "movsb", 0xA4 }, { "movsw", 0x66, 0xA5 }, { "movsd", 0xA5 }, + { "stosb", 0xAA }, + { "stosw", 0x66, 0xAB }, + { "stosd", 0xAB }, { "rep", 0xF3 }, { "lahf", 0x9F }, @@ -1678,7 +1687,10 @@ void put64() const GenericTbl tbl[] = { { "cdqe", 0x48, 0x98 }, { "cqo", 0x48, 0x99 }, + { "cmpsq", 0x48, 0xA7 }, { "movsq", 0x48, 0xA5 }, + { "scasq", 0x48, 0xAF }, + { "stosq", 0x48, 0xAB }, }; putGeneric(tbl, NUM_OF_ARRAY(tbl)); |