On Wed, Jan 7, 2009 at 10:05 AM, Stefan Dösinger <ste...@codeweavers.com> wrote:
> > I talked to the binutils maintainers and they helped me by adding a new > instruction suffix .s: > movl %esp, %ebp => 89 e5 > movl.s %esp, %ebp => eb ec > > Now I need gcc to set this suffix, but here I am pretty lost. I haven't > found out yet how to add this to the gcc code. The other issue is > compatibility with old binutils versions, since so far this feature is in > svn only and no release has it. Does gcc attempt to detect binutils > features, or does it just assume that everything it needs is there? > You need to check assembler feature with autconf before using them. See HAVE_AS_IX86_SAHF as example. FWIW, Linux binutils 2.19.51.0.1 supports .s suffix. -- H.J.