Home
last modified time | relevance | path

Searched hist:"378 e43fa" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/target/riscv/insn_trans/
H A Dtrans_rvzicond.c.inc378e43fa Tue Mar 07 12:07:07 CST 2023 Philipp Tomsich <philipp.tomsich@vrull.eu> target/riscv: refactor Zicond support

After the original Zicond support was stuck/fell through the cracks on
the mailing list at v3 (and a different implementation was merged in
the meanwhile), we need to refactor Zicond to prepare it to be reused
by XVentanaCondOps.

This commit lifts the common logic out into gen_czero and uses this
via gen_logic and 2 helper functions (effectively partial closures).

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

Signed-off-by: Philipp Tomsich <philipp.tomsich@vrull.eu>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20230307180708.302867-2-philipp.tomsich@vrull.eu>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>