projects
/
platform
/
upstream
/
nasm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a65706
)
AVX-512: Fix a bug in calculating Disp8*N value
author
Jin Kyu Song
<jin.kyu.song@intel.com>
Tue, 27 Aug 2013 03:28:41 +0000
(20:28 -0700)
committer
Cyrill Gorcunov
<gorcunov@gmail.com>
Wed, 28 Aug 2013 05:37:14 +0000
(09:37 +0400)
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>
assemble.c
patch
|
blob
|
history
diff --git
a/assemble.c
b/assemble.c
index
313ff8a
..
baae15f
100644
(file)
--- a/
assemble.c
+++ b/
assemble.c
@@
-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: