summaryrefslogtreecommitdiff
path: root/parser.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 /parser.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 'parser.c')
-rw-r--r--parser.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/parser.c b/parser.c
index 4b3f059..ccbce49 100644
--- a/parser.c
+++ b/parser.c
@@ -660,6 +660,11 @@ is_expression:
result->oprs[operand].type |= BITS256;
setsize = 1;
break;
+ case S_ZWORD:
+ if (!setsize)
+ result->oprs[operand].type |= BITS512;
+ setsize = 1;
+ break;
case S_TO:
result->oprs[operand].type |= TO;
break;