[PATCH] x86: Add {disp16} pseudo prefix

Jan Beulich jbeulich@suse.com
Fri Jul 31 06:22:02 GMT 2020


On 30.07.2020 00:53, H.J. Lu wrote:
> On Wed, Jul 29, 2020 at 1:26 PM Jan Beulich <jbeulich@suse.com> wrote:
>> On 28.07.2020 22:30, H.J. Lu wrote:
>>> Note: {disp16} can be also used on branches in 32-bit mode.
>>
>> But you don't add any tests to this effect, so it's hard to see what
>> exactly this means. To be honest I'm not sure this is helpful: A means
>> to widen the default displacement may be useful, but one to narrow not
>> just the displacement, but also the resulting new IP?
> 
> {disp16} can be used to generate "branch rel16".  But implementation
> may be non-trivial.

Oh, so you mean it could be used in principle, not that it now
can be used right with the introduction of the new pseudo
prefix? If so, I simply misunderstood your use of "can", sorry.

Jan


More information about the Binutils mailing list