Re: [PATCH v3] target/ppc: add vmsumudm vmsumcud instructions

2020-07-13 Thread Lijun Pan
> On Jul 6, 2020, at 2:53 AM, David Gibson wrote: > > On Mon, Jun 22, 2020 at 11:25:01PM -0500, Lijun Pan wrote: >> vmsumudm (Power ISA 3.0) - Vector Multiply-Sum Unsigned Doubleword Modulo >> VA-form. >> vmsumcud (Power ISA 3.1) - Vector Multiply-Sum & write Carry-out Unsigned >> Doubleword VA

Re: [PATCH v3] target/ppc: add vmsumudm vmsumcud instructions

2020-07-06 Thread David Gibson
On Mon, Jun 22, 2020 at 11:25:01PM -0500, Lijun Pan wrote: > vmsumudm (Power ISA 3.0) - Vector Multiply-Sum Unsigned Doubleword Modulo > VA-form. > vmsumcud (Power ISA 3.1) - Vector Multiply-Sum & write Carry-out Unsigned > Doubleword VA-form. If this is only in ISA 3.1, shouldn't it be conditiona

[PATCH v3] target/ppc: add vmsumudm vmsumcud instructions

2020-06-22 Thread Lijun Pan
vmsumudm (Power ISA 3.0) - Vector Multiply-Sum Unsigned Doubleword Modulo VA-form. vmsumcud (Power ISA 3.1) - Vector Multiply-Sum & write Carry-out Unsigned Doubleword VA-form. Signed-off-by: Lijun Pan --- v3: implement vmsumudm/vmsumcud through int128 functions, suggested by Richard Henderso