[PATCH, committed] X86: Decode opcode 0x82 as opcode 0x80 in 32-bit mode
H.J. Lu
hjl.tools@gmail.com
Thu Nov 3 16:58:00 GMT 2016
On Thu, Nov 3, 2016 at 9:45 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Thu, Nov 3, 2016 at 9:31 AM, Jan Beulich <JBeulich@suse.com> wrote:
>>>>> On 03.11.16 at 17:18, <hongjiu.lu@intel.com> wrote:
>>> Update x86 disassembler to treat opcode 0x82 as an aliase of opcode 0x80
>>> in 32-bit mode.
>>>
>>> gas/
>>>
>>> PR binutils/20754
>>> * testsuite/gas/i386/opcode.s: Add tests for opcode 0x82.
>>> * testsuite/gas/i386/opcode-intel.d: Updated.
>>> * testsuite/gas/i386/opcode.d: Likewise.
>>>
>>> opcodes/
>>>
>>> PR binutils/20754
>>> * i386-dis.c (REG_82): New.
>>> (X86_64_82_REG_0): Likewise.
>>> (X86_64_82_REG_1): Likewise.
>>> (X86_64_82_REG_2): Likewise.
>>> (X86_64_82_REG_3): Likewise.
>>> (X86_64_82_REG_4): Likewise.
>>> (X86_64_82_REG_5): Likewise.
>>> (X86_64_82_REG_6): Likewise.
>>> (X86_64_82_REG_7): Likewise.
>>
>> Why do you need all these? I've had a patch pending doing about the
>> same, but with fewer new identifiers.
>
> Nothing particular.
>
I checked in this patch to reuse opcode 0x80 decoder for opcode 0x82.
--
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-X86-Reuse-opcode-0x80-decoder-for-opcode-0x82.patch
Type: text/x-patch
Size: 4096 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20161103/74544dd2/attachment.bin>
More information about the Binutils
mailing list