Re: [1/3] powerpc/64e: convert cmpi to cmpwi in head_64.S

2016-11-29 Thread Michael Ellerman
On Wed, 2016-11-23 at 13:02:07 UTC, Nicholas Piggin wrote: > >From 80f23935cadb ("powerpc: Convert cmp to cmpd in idle enter sequence"): > > PowerPC's "cmp" instruction has four operands. Normally people write > "cmpw" or "cmpd" for the second cmp operand 0 or 1. But, frequently >

[PATCH 1/3] powerpc/64e: convert cmpi to cmpwi in head_64.S

2016-11-23 Thread Nicholas Piggin
>From 80f23935cadb ("powerpc: Convert cmp to cmpd in idle enter sequence"): 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