about summary refs log tree commit diff stats
path: root/src/tools/bitutils.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-04-11 14:37:50 +0000
committerptitSeb <sebastien.chev@gmail.com>2023-04-11 14:37:50 +0000
commit97410042bd24205ef8b4201746df611737e248b4 (patch)
tree95afd668c5e708a2aa4df42f6db418de0d4307be /src/tools/bitutils.c
parent75592bec01a0c5c1775561ba68bfd6c1878071ca (diff)
downloadbox64-97410042bd24205ef8b4201746df611737e248b4.tar.gz
box64-97410042bd24205ef8b4201746df611737e248b4.zip
[RV64_DYNAREC] Fixed 0F BD opcode (Fixed SV)
Diffstat (limited to 'src/tools/bitutils.c')
-rw-r--r--src/tools/bitutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/bitutils.c b/src/tools/bitutils.c
index fc8879af..7d4b3a32 100644
--- a/src/tools/bitutils.c
+++ b/src/tools/bitutils.c
@@ -18,5 +18,5 @@ int TrailingZeros64(uint64_t x) {
 
 const uint8_t lead0tab[16] = {
     //0b0000 0b0001 0b0010 0b0011 0b0100 0b0101 0b0110 0b0111 0b1000...
-        0,      1,     2,     2,     3,     3,    3,     3,     4, 4, 4, 4, 4, 4, 4, 4
+        0,      0,     1,     1,     2,     2,    2,     2,     3, 3, 3, 3, 3, 3, 3, 3
 };
\ No newline at end of file