Feature request: Set the direction flag on x86/x64 register->register operations

H.J. Lu hjl.tools@gmail.com
Fri Dec 19 00:53:00 GMT 2008


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.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: binutils-option-2.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20081219/464d458b/attachment.ksh>


More information about the Binutils mailing list