|
From: | Richard Henderson |
Subject: | Re: [PATCH v3 05/37] target/ppc: Implement vmsumcud instruction |
Date: | Fri, 11 Feb 2022 15:05:07 +1100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 |
On 2/10/22 23:34, matheus.ferst@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, prod1h, zero);
The move into tmp1 is dead here. I think you wanted a third add2 here, adding the old tmp0 + new rc word. r~
[Prev in Thread] | Current Thread | [Next in Thread] |