This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] x86 gas: allow 'rep' prefix on 'ret' instructions
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Roland McGrath <mcgrathr at google dot com>
- Cc: binutils at sourceware dot org
- Date: Fri, 22 Jun 2012 14:50:39 -0700
- Subject: Re: [PATCH] x86 gas: allow 'rep' prefix on 'ret' instructions
- References: <x57j4nq3f2s8.fsf@frobland.mtv.corp.google.com>
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.