summaryrefslogtreecommitdiff
path: root/disasm.c
diff options
context:
space:
mode:
authorJin Kyu Song <jin.kyu.song@intel.com>2013-08-21 19:29:11 -0700
committerCyrill Gorcunov <gorcunov@gmail.com>2013-08-22 19:37:44 +0400
commitd4760c19b55ad7cda97c66e5caa29b405fa539a4 (patch)
treeaeac44dbf3ede5692c856a01f37d3612f1172036 /disasm.c
parent4d1fc3f1a0865b82bbf5212cd601c0a4a1495fd6 (diff)
downloadnasm-d4760c19b55ad7cda97c66e5caa29b405fa539a4.tar.gz
nasm-d4760c19b55ad7cda97c66e5caa29b405fa539a4.tar.bz2
nasm-d4760c19b55ad7cda97c66e5caa29b405fa539a4.zip
AVX-512: Add ZWORD keyword
ZWORD (512 bits) keyword is added Signed-off-by: Jin Kyu Song <jin.kyu.song@intel.com> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'disasm.c')
-rw-r--r--disasm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/disasm.c b/disasm.c
index 9d2e1b1..cc55d2c 100644
--- a/disasm.c
+++ b/disasm.c
@@ -1303,6 +1303,9 @@ int32_t disasm(uint8_t *data, char *output, int outbufsize, int segsize,
if (t & BITS256)
slen +=
snprintf(output + slen, outbufsize - slen, "yword ");
+ if (t & BITS512)
+ slen +=
+ snprintf(output + slen, outbufsize - slen, "zword ");
if (t & FAR)
slen += snprintf(output + slen, outbufsize - slen, "far ");
if (t & NEAR)