Kiran Ostrolenk 31fe256d32 qemu/host-utils.h: Add clz and ctz functions for lower-bit integers
This is for use in the RISC-V vclz and vctz instructions (implemented in
proceeding commit).

Signed-off-by: Kiran Ostrolenk <kiran.ostrolenk@codethink.co.uk>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230428144757.57530-11-lawrence.hunter@codethink.co.uk>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2023-05-02 13:05:45 -07:00
..
2023-01-06 00:50:32 +01:00
2023-03-20 12:43:50 +01:00
2023-05-02 12:36:46 -07:00
2023-03-02 19:13:52 -05:00
2023-03-20 12:43:50 +01:00
2022-07-13 16:58:57 +02:00
2020-12-10 12:15:18 -05:00
2023-02-10 14:12:06 +01:00
2020-10-15 16:06:27 +02:00
2022-12-20 17:09:41 -08:00
2022-10-07 12:11:41 +02:00
2022-04-20 10:51:11 -07:00
2019-09-11 08:46:17 +02:00
2023-04-24 11:29:00 +02:00
2020-12-10 17:16:44 +01:00
2022-04-21 17:03:51 +04:00
2019-04-18 22:18:59 +02:00
2023-03-28 15:23:10 -07:00
2023-02-10 14:12:06 +01:00
2023-04-27 16:39:43 +02:00
2023-03-20 12:43:50 +01:00
2023-02-08 07:27:20 +01:00
2023-03-02 19:13:52 -05:00
2021-04-01 15:27:44 +04:00