summaryrefslogtreecommitdiff
path: root/assemble.c
diff options
context:
space:
mode:
authorJin Kyu Song <jin.kyu.song@intel.com>2014-05-05 13:06:03 -0700
committerJin Kyu Song <jin.kyu.song@intel.com>2014-05-05 13:56:36 -0700
commiteb29cf7b31e097237bab41759ecdbe1ed4c7e45d (patch)
tree1b4902471ad7dc20be5adf6db583dffdb1b54124 /assemble.c
parent1179a67a8e538b058e2ffbb7c408b7d9128ce2d0 (diff)
downloadnasm-eb29cf7b31e097237bab41759ecdbe1ed4c7e45d.tar.gz
nasm-eb29cf7b31e097237bab41759ecdbe1ed4c7e45d.tar.bz2
nasm-eb29cf7b31e097237bab41759ecdbe1ed4c7e45d.zip
AVX512: Remove invalid error checking
An offset-only memref can also have an opmask decorator. e.g.) vmovdqu32 [0xabcd]{k1}, zmm0 Signed-off-by: Jin Kyu Song <jin.kyu.song@intel.com>
Diffstat (limited to 'assemble.c')
-rw-r--r--assemble.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/assemble.c b/assemble.c
index ff92722..e9cd70f 100644
--- a/assemble.c
+++ b/assemble.c
@@ -1997,9 +1997,6 @@ static int op_evexflags(const operand * o, int mask, uint8_t byte)
{
int val;
- if (!is_register(o->basereg))
- errfunc(ERR_PANIC, "invalid operand passed to op_evexflags()");
-
val = nasm_regvals[o->basereg];
return evexflags(val, o->decoflags, mask, byte);