This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR binutils/16490: Disp8 encoding/decoding is wrong AVX512 gather/scatter insns


On Fri, Jan 31, 2014 at 8:29 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> Hi,
>
> This x86 disassembler bug has been fixed on master as well as
> binutils-2_24-branch.
> I'd like to backport it to gdb-7.7-branch.  Is this OK?
>

Given that it fixes an x86 disassembler bug,  I checked it into
gdb-7.7-branch:

author Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
Thu, 30 Jan 2014 15:38:09 +0000 (07:38 -0800)
committer H.J. Lu <hjl.tools@gmail.com>
Sun, 2 Feb 2014 16:47:21 +0000 (08:47 -0800)
commit 53b7665db8faf9ba057b7a6bc65f72f0e0c15313
tree a96cf6f94e2039bd42593b0e7e9db8d7d400c725 tree
parent 2d22194318d741406823b25a134f9f1f7d0b393d commit | diff
Fix shift for AVX512F gather/scatter instructions

opcodes/

2014-01-30  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
    Jan Beulich  <jbeulich@suse.com>

PR binutils/16490
* i386-dis.c (OP_E_memory): Fix shift computation for
vex_vsib_q_w_dq_mode.

gas/testsuite/

2014-01-30  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
    Jan Beulich  <jbeulich@suse.com>

PR binutils/16490
* gas/i386/avx512f.d: Fix test output.
* gas/i386/avx512f-intel.d: Likewise.
* gas/i386/x86-64-avx512f.d: Likewise.
* gas/i386/x86-64-avx512f-intel.d: Likewise.

Conflicts:
gas/testsuite/ChangeLog

>
>
> H.J.
>
> ---------- Forwarded message ----------
> From: Michael V. Zolotukhin <michael.v.zolotukhin@gmail.com>
> Date: Thu, Jan 30, 2014 at 4:19 AM
> Subject: [PATCH] PR binutils/16490: Disp8 encoding/decoding is wrong
> AVX512 gather/scatter insns
> To: Jan Beulich <JBeulich@suse.com>, "H.J. Lu" <hjl.tools@gmail.com>
> Cc: binutils@sourceware.org
>
>
> Hi,
>
> As noted by Jan, shift was computed incorrectly for AVX512F gather/scatter
> instructions.
> The fix is below (originally proposed by Jan), is it ok for trunk?
>
> opcodes/ChangeLog:
> 2014-01-30  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
>             Jan Beulich  <jbeulich@suse.com>
>
>         PR binutils/16490
>         * i386-dis.c (OP_E_memory): Fix shift computation for
>         vex_vsib_q_w_dq_mode.
>
>
> gas/testsuite/ChangeLog:
> 2014-01-30  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
>             Jan Beulich  <jbeulich@suse.com>
>
>         PR binutils/16490
>         * gas/i386/avx512f.d: Fix test output.
>         * gas/i386/avx512f-intel.d: Likewise.
>         * gas/i386/x86-64-avx512f.d: Likewise.
>         * gas/i386/x86-64-avx512f-intel.d: Likewise.
>

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]