diff options
author | Jin Kyu Song <jin.kyu.song@intel.com> | 2013-08-28 19:15:25 -0700 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2013-08-29 10:03:14 +0400 |
commit | 7abc78dee0b88125d5fb3175568c62f6d0cfb9a8 (patch) | |
tree | 413c71f898afd03d1429cea03fadd42fdd9e70bc | |
parent | 6d16d2836da3ad4aaad2b48b5879f24f2581876f (diff) | |
download | nasm-7abc78dee0b88125d5fb3175568c62f6d0cfb9a8.tar.gz |
AVX-512: Fix bug in checking high-16 registers
Register value needs to be checked. Previous patch compared with reg_enum.
Signed-off-by: Jin Kyu Song <jin.kyu.song@intel.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
-rw-r--r-- | assemble.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2144,7 +2144,7 @@ static enum match_result matches(const struct itemplate *itemp, */ opsizemissing = true; } - } else if (instruction->oprs[i].basereg >= 16 && + } else if (nasm_regvals[instruction->oprs[i].basereg] >= 16 && (itemp->flags & IF_INSMASK) != IF_AVX512) { return MERR_ENCMISMATCH; } |