[committed, PATCH] Remove Disp16|Disp32 from 64-bit direct branches

Jan Beulich JBeulich@suse.com
Mon May 18 11:48:00 GMT 2015


>>> On 18.05.15 at 13:22, <hjl.tools@gmail.com> wrote:
> On Mon, May 18, 2015 at 12:05 AM, Jan Beulich <JBeulich@suse.com> wrote:
>>>>> On 15.05.15 at 18:52, <hjl.tools@gmail.com> wrote:
>>> * i386-opc.tbl: Add direct call/jmp with Disp16|Disp32 for AMD64.
>>> Mark direct call/jmp without Disp16|Disp32 as Intel64.
>>
>> I had hoped that you wouldn't add back Disp32 to the AMD case, and
> 
> This is what I checked in.

Thanks!

>> perhaps also that CpuAMD64 and CpuIntel64 would imply Cpu64 (as
>> their names already suggest).
> 
> They are just a bit.  Make them to implement Cpu64 means adding more
> codes to x86 assembler without any benefit.  If you can share with me
> what you have in mind, I will see what I can do.

Ah, no, I didn't mean the assembler to do more work. Instead I
thought that the generator utility could set Cpu64 alongside either
of the new ones, thus keeping the opcode table slightly better
readable.

Jan



More information about the Binutils mailing list