aboutsummaryrefslogtreecommitdiff
path: root/tcg/riscv/tcg-target-con-set.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-04-26 14:21:55 +0100
committerRichard Henderson <richard.henderson@linaro.org>2023-05-25 15:29:36 +0000
commita30498fcea5a8b9c544324ccfb0186090104b229 (patch)
treef293f09b05bb77decfc9a283272c9c81908d03bc /tcg/riscv/tcg-target-con-set.h
parenta18d783e649d761a7556f6d964efa453bb4f3a06 (diff)
tcg/riscv: Support CTZ, CLZ from Zbb
Acked-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/riscv/tcg-target-con-set.h')
-rw-r--r--tcg/riscv/tcg-target-con-set.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tcg/riscv/tcg-target-con-set.h b/tcg/riscv/tcg-target-con-set.h
index a5cadd303f..aac5ceee2b 100644
--- a/tcg/riscv/tcg-target-con-set.h
+++ b/tcg/riscv/tcg-target-con-set.h
@@ -18,5 +18,6 @@ C_O1_I2(r, r, rI)
C_O1_I2(r, r, rJ)
C_O1_I2(r, rZ, rN)
C_O1_I2(r, rZ, rZ)
+C_N1_I2(r, r, rM)
C_O1_I4(r, r, rI, rM, rM)
C_O2_I4(r, r, rZ, rZ, rM, rM)