Re: [PATCH] powerpc: cmp -> cmpd for 64-bit

2016-10-12 Thread Vaidyanathan Srinivasan
* Segher Boessenkool [2016-10-12 08:26:48]: > On Wed, Oct 12, 2016 at 02:05:19PM +1100, Michael Ellerman wrote: > > Segher Boessenkool writes: > > [snip] > > > > --- a/arch/powerpc/include/asm/cpuidle.h > > > +++ b/arch/powerpc/include/asm/cpuidle.h > > > @@ -26,7 +26,7 @@ extern u64 pnv_fir

Re: [PATCH] powerpc: cmp -> cmpd for 64-bit

2016-10-12 Thread Segher Boessenkool
On Wed, Oct 12, 2016 at 02:05:19PM +1100, Michael Ellerman wrote: > Segher Boessenkool writes: > > > PowerPC's "cmp" instruction has four operands. Normally people write > > "cmpw" or "cmpd" for the second cmp operand 0 or 1. But, frequently > > people forget, and write "cmp" with just three op

Re: [PATCH] powerpc: cmp -> cmpd for 64-bit

2016-10-11 Thread Michael Ellerman
Segher Boessenkool writes: > PowerPC's "cmp" instruction has four operands. Normally people write > "cmpw" or "cmpd" for the second cmp operand 0 or 1. But, frequently > people forget, and write "cmp" with just three operands. > > With older binutils this is silently accepted as if this was "cm