[PATCH] x86 gas: allow 'rep' prefix on 'ret' instructions
H.J. Lu
hjl.tools@gmail.com
Fri Jun 22 21:50:00 GMT 2012
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.
More information about the Binutils
mailing list