OSDN Git Service

target/ppc: Avoid tcg_const_i64 in do_vcntmb
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 26 Feb 2023 04:17:50 +0000 (18:17 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 13 Mar 2023 14:03:39 +0000 (07:03 -0700)
commitffc0ce24fdd912cffb9ddd60de9e0456ad0e35e1
treeb2483fe9340c612401cc2a5238bed609ad4a1017
parent999b7c26596011154a5a17ee2a1364ca28bcadaf
target/ppc: Avoid tcg_const_i64 in do_vcntmb

Compute both partial results separately and accumulate
at the end, instead of accumulating in the middle.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/ppc/translate/vmx-impl.c.inc