Re: [PATCH 4/6] target/ppc: add vmulh{su}d instructions
On 6/12/20 9:20 PM, Lijun Pan wrote: > +void helper_vmulhsd(ppc_avr_t *r, ppc_avr_t *a, ppc_avr_t *b) > +{ > + int i; > + uint64_t h64 = 0; > + uint64_t l64 = 0; > + > + for (i = 0; i < 2; i++) { > + muls64(&l64, &h64, a->s64[i], b->s64[i]); > + r->s64[i] = h
[PATCH 4/6] target/ppc: add vmulh{su}d instructions
vmulhsd: Vector Multiply High Signed Doubleword vmulhud: Vector Multiply High Unsigned Doubleword Signed-off-by: Lijun Pan --- target/ppc/helper.h | 2 ++ target/ppc/int_helper.c | 24 target/ppc/translate/vmx-impl.inc.c | 2 ++ target/ppc/t