Re: [PATCH v3 05/37] target/ppc: Implement vmsumcud instruction

2022-02-10 Thread Richard Henderson
On 2/10/22 23:34, matheus.fe...@eldorado.org.br wrote: +/* + * Discard lower 64-bits, leaving the carry into bit 64. + * Then sum the higher 64-bit elements. + */ +tcg_gen_mov_i64(tmp1, tmp0); +get_avr64(tmp0, a->rc, true); +tcg_gen_add2_i64(tmp1, tmp0, tmp0, zero, pro

[PATCH v3 05/37] target/ppc: Implement vmsumcud instruction

2022-02-10 Thread matheus . ferst
From: Víctor Colombo Based on [1] by Lijun Pan , which was never merged into master. [1]: https://lists.gnu.org/archive/html/qemu-ppc/2020-07/msg00419.html Signed-off-by: Víctor Colombo Signed-off-by: Matheus Ferst --- target/ppc/insn32.decode| 4 +++ target/ppc/translate/vmx-im