diff options
author | Ilya Tocar <ilya.tocar@intel.com> | 2014-03-20 13:12:16 +0400 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2014-03-20 08:13:30 -0700 |
commit | 5fc35d961bda7f8d40bfad9ca458a6b08de02bcb (patch) | |
tree | a9ac59650754ed86f628ac74a65f82668f2b2edd /gdb/infcall.c | |
parent | 40acf43aadb4d5348cff0dd554ae97de4dd775af (diff) | |
download | gdb-5fc35d961bda7f8d40bfad9ca458a6b08de02bcb.zip gdb-5fc35d961bda7f8d40bfad9ca458a6b08de02bcb.tar.gz gdb-5fc35d961bda7f8d40bfad9ca458a6b08de02bcb.tar.bz2 |
Fix memory size for gather/scatter instructions
For gathers with indices larger than elements (e. g.)
vpgatherqd ymm6{k1}, ZMMWORD PTR [ebp+zmm7*8-123]
We currently treat memory size as a size of index register, while it is
actually should be size of destination register:
vpgatherqd ymm6{k1}, YMMWORD PTR [ebp+zmm7*8-123]
This patch fixes it.
opcodes/
* i386-opc.tbl: Change memory size for vgatherpf0qps, vgatherpf1qps,
vscatterpf0qps, vscatterpf1qps, vgatherqps, vpgatherqd, vpscatterqd,
vscatterqps.
* i386-tbl.h: Regenerate.
gas/testsuite/
* gas/i386/avx512pf-intel.d: Change memory size for vgatherpf0qps,
vgatherpf1qps, vscatterpf0qps, vscatterpf1qps.
* gas/i386/avx512pf.s: Ditto.
* gas/i386/x86-64-avx512pf-intel.d: Ditto.
* gas/i386/x86-64-avx512pf.s: Ditto.
* gas/i386/avx512f-intel.d: Change memory size for vgatherqps,
vpgatherqd, vpscatterqd, vscatterqps.
* gas/i386/avx512f.s: Ditto.
* gas/i386/x86-64-avx512f-intel.d: Ditto.
* gas/i386/x86-64-avx512f.s: Ditto.
Diffstat (limited to 'gdb/infcall.c')
0 files changed, 0 insertions, 0 deletions