This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: Feature request: Set the direction flag on x86/x64 register->register operations


On Thu, Dec 18, 2008 at 3:52 PM, Stefan Dösinger <stefan@codeweavers.com> wrote:
>> That is what I have in mind:
>> <snip>
>> Will it work for you?
> Almost. It only recognises "mov.r", not "movl.r" because the normal suffix
> checking code works on the original string, so it tries to parse the
> "movl.r" and can't match the ".r". The -1 in the code after the
> check_suffix: label should be -3 if the ".r" was found.
>
> Other than that it seems fine. "mov.r %esp, %ebp" works, and my other tests
> I've written work too.
>
> Note that I have applied the patch by hand because my "mail client" doesn't
> work too well with inlined patches. I don't think this caused the problem
> though.

Please try this one.



-- 
H.J.

Attachment: binutils-option-2.patch
Description: Text document


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