diff options
author | Jin Kyu Song <jin.kyu.song@intel.com> | 2013-08-26 20:28:41 -0700 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2013-08-28 09:37:14 +0400 |
commit | d2d9c3ee3807791cb0240ea8b141643bc6d9b9a7 (patch) | |
tree | c02c28f5e14d9baf17ee829b4ed7c926ec3b4f56 /assemble.c | |
parent | 4a6570616aa1fadf1544c0c099c4bf22683f367f (diff) | |
download | nasm-d2d9c3ee3807791cb0240ea8b141643bc6d9b9a7.tar.gz nasm-d2d9c3ee3807791cb0240ea8b141643bc6d9b9a7.tar.bz2 nasm-d2d9c3ee3807791cb0240ea8b141643bc6d9b9a7.zip |
AVX-512: Fix a bug in calculating Disp8*N value
Fixed a bug that derived an incorrect N value for tuple types of
T2, T4, T8.
Signed-off-by: Jin Kyu Song <jin.kyu.song@intel.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'assemble.c')
-rw-r--r-- | assemble.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2257,7 +2257,7 @@ static bool is_disp8n(operand *input, insn *ins, int8_t *compdisp) if (vectlen + 7 <= (evex_w + 5) + (tuple - T2 + 1)) n = 0; else - n = 1 << (tuple - T2 + evex_w + 4); + n = 1 << (tuple - T2 + evex_w + 3); break; case HVM: case QVM: |