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: [PATCH] x86 gas: allow 'rep' prefix on 'ret' instructions


On Fri, Jun 22, 2012 at 2:35 PM, Roland McGrath <mcgrathr@google.com> wrote:
> GCC also likes to generate 'rep; ret' and allowing 'rep ret' would be better.
>
> Ok for trunk?
>
>
> Thanks,
> Roland
>
>
> gas/
> ? ? ? ?* NEWS: Mention 'rep ret' too.
>
> gas/testsuite/
> ? ? ? ?* gas/i386/rep-ret.d: New file.
> ? ? ? ?* gas/i386/rep-ret.s: New file.
> ? ? ? ?* gas/i386/i386.exp: Add the new test.
>
> opcodes/
> ? ? ? ?* i386-opc.tbl: Add RepPrefixOk to ret.
> ? ? ? ?* i386-tbl.h: Regenerate.
>

OK.  Thanks.


-- 
H.J.


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