Re: [PATCH 1/6] powerpc sstep: Add maddhd, maddhdu, maddld instruction emulation

2019-02-19 Thread Michael Ellerman
Sandipan Das writes: > This adds emulation support for the following integer instructions: > * Multiply-Add High Doubleword (maddhd) > * Multiply-Add High Doubleword Unsigned (maddhdu) > * Multiply-Add Low Doubleword (maddld) This doesn't build with old binutils. {standard

Re: [PATCH 1/6] powerpc sstep: Add maddhd, maddhdu, maddld instruction emulation

2018-09-05 Thread Sandipan Das
Hi Segher, On Wednesday 05 September 2018 03:42 AM, Segher Boessenkool wrote: > On Mon, Sep 03, 2018 at 08:49:33PM +0530, Sandipan Das wrote: >> +#ifdef __powerpc64__ >> +case 4: >> +if (!cpu_has_feature(CPU_FTR_ARCH_300)) >> +return -1; >> + >> +

Re: [PATCH 1/6] powerpc sstep: Add maddhd, maddhdu, maddld instruction emulation

2018-09-04 Thread Segher Boessenkool
On Mon, Sep 03, 2018 at 08:49:33PM +0530, Sandipan Das wrote: > +#ifdef __powerpc64__ > + case 4: > + if (!cpu_has_feature(CPU_FTR_ARCH_300)) > + return -1; > + > + switch (instr & 0x3f) { > + case 48:/* maddhd */ > +

[PATCH 1/6] powerpc sstep: Add maddhd, maddhdu, maddld instruction emulation

2018-09-03 Thread Sandipan Das
This adds emulation support for the following integer instructions: * Multiply-Add High Doubleword (maddhd) * Multiply-Add High Doubleword Unsigned (maddhdu) * Multiply-Add Low Doubleword (maddld) Signed-off-by: Sandipan Das --- arch/powerpc/lib/sstep.c | 35