ZCBT has the same user-mode memory effect as ZCB for QEMU's purposes. Reuse the ZCB translator so both cache-block-zero forms clear the containing 128-byte line.
Acked-by: Richard Henderson <[email protected]> Signed-off-by: James Hilliard <[email protected]> --- Changes v6 -> v7: - Fold ZCB and ZCBT into a single decodetree wildcard entry instead of using a duplicate entry with a selector comment. (suggested by Philippe Mathieu-Daudé) Changes v2 -> v3: - Split ZCBT out of the combined Octeon arithmetic and memory instruction patch. (requested by Richard Henderson) Changes v4 -> v5: - Fold ZCBT into the ZCB decodetree entry with a selector comment instead of adding a separate translator thunk. (suggested by Richard Henderson) --- target/mips/tcg/octeon.decode | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/mips/tcg/octeon.decode b/target/mips/tcg/octeon.decode index d8a1bfce77..01ed3b50be 100644 --- a/target/mips/tcg/octeon.decode +++ b/target/mips/tcg/octeon.decode @@ -50,7 +50,7 @@ SAA 011100 ..... ..... 00000 00000 011000 @saa SAAD 011100 ..... ..... 00000 00000 011001 @saa &zcb base -ZCB 011100 base:5 00000 00000 11100 011111 &zcb +ZCB 011100 base:5 00000 00000 1110- 011111 &zcb &lx base index rd @lx ...... base:5 index:5 rd:5 ...... ..... &lx -- 2.54.0
