Re: [PATCH 2/6] powerpc sstep: Add darn instruction emulation

2019-02-20 Thread Sandipan Das
Hi Michael, On 20/02/19 6:20 AM, Michael Ellerman wrote: > Sandipan Das writes: > >> This adds emulation support for the following integer instructions: >> * Deliver A Random Number (darn) > > This doesn't build with old binutils. We need to support old binutils. > > {standard input}:434

Re: [PATCH 2/6] powerpc sstep: Add darn instruction emulation

2019-02-19 Thread Michael Ellerman
Sandipan Das writes: > This adds emulation support for the following integer instructions: > * Deliver A Random Number (darn) This doesn't build with old binutils. We need to support old binutils. {standard input}:4343: Error: Unrecognized opcode: `darn' You need to use PPC_DARN(). che

[PATCH 2/6] powerpc sstep: Add darn instruction emulation

2018-09-03 Thread Sandipan Das
This adds emulation support for the following integer instructions: * Deliver A Random Number (darn) Signed-off-by: Sandipan Das --- arch/powerpc/lib/sstep.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/powerpc/lib/sstep.c b/arch/powerpc/lib/sstep.c index b40ec