Re: [off list] Re: [PATCH] x86: use 'rep bsf' syntax when assembler supports it

2012-07-02 Thread Roland McGrath
On Sun, Jul 1, 2012 at 1:08 AM, Uros Bizjak wrote: > Based on the observation above, the patch is OK for mainline, but > please also handle "rep nop" case. Here's the new version of the patch that does that. Note that someone needs to commit this for me, since I am not empowered to do it myself.

Re: [off list] Re: [PATCH] x86: use 'rep bsf' syntax when assembler supports it

2012-07-01 Thread Uros Bizjak
On Sat, Jun 23, 2012 at 12:00 AM, Roland McGrath wrote: > Here is an alternative patch that just changes the configure test > controlling %; so it will elide the ; only for an assembler that > also accepts 'rep bsf', 'rep bsr', and 'rep ret', and just uses > %; for these cases too. You'll need to

Re: [off list] Re: [PATCH] x86: use 'rep bsf' syntax when assembler supports it

2012-06-22 Thread Roland McGrath
Here is an alternative patch that just changes the configure test controlling %; so it will elide the ; only for an assembler that also accepts 'rep bsf', 'rep bsr', and 'rep ret', and just uses %; for these cases too. You'll need to have built binutils from its trunk within the last five minutes