mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-01-18 16:25:05 +08:00
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>
This commit is contained in:
parent
4a6570616a
commit
d2d9c3ee38
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user