On Wed, Jul 20, 2022 at 07:54:54PM +1000, Nicholas Piggin wrote:
> Excerpts from Segher Boessenkool's message of July 13, 2022 2:29 am:
> > The embedded extensions are no longer part of the PowerPC architecture,
> > so wouldn't it be a better way forward to rename the existing one,
> > instead? A
Excerpts from Segher Boessenkool's message of July 13, 2022 2:29 am:
> Hi!
>
> On Mon, Jul 11, 2022 at 01:11:27PM +1000, Nicholas Piggin wrote:
>> The wait instruction has a different encoding between BookE and BookS.
>> Add the BookS variant.
>
>> #define PPC_RAW_WAIT(w) (0x
Hi!
On Mon, Jul 11, 2022 at 01:11:27PM +1000, Nicholas Piggin wrote:
> The wait instruction has a different encoding between BookE and BookS.
> Add the BookS variant.
> #define PPC_RAW_WAIT(w) (0x7c7c | __PPC_WC(w))
> +#define PPC_RAW_WAIT_BOOKS(w, p) (0x7c3c | _
The wait instruction has a different encoding between BookE and BookS.
Add the BookS variant.
Signed-off-by: Nicholas Piggin
---
arch/powerpc/include/asm/ppc-opcode.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/powerpc/include/asm/ppc-opcode.h
b/arch/powerpc/include/asm/ppc-opco