This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] x86 gas: allow 'rep nop'
On Tue, Jul 3, 2012 at 12:02 AM, Jan Beulich <JBeulich@suse.com> wrote:
> As gcc has to detect the respective gas capability anyway, why
> can't it use "pause" right away, and then on much older gas
> versions too?
It could, it's just that GCC folks prefered to minimize the
conditionalization and just use the %; format specifier they
already had for a sometimes-necessary ; after a 'rep' or 'lock'
prefix.
Thanks,
Roland