diff options
Diffstat (limited to 'riscv/insns/ctz.h')
-rw-r--r-- | riscv/insns/ctz.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/ctz.h b/riscv/insns/ctz.h index 889de0f..25d3723 100644 --- a/riscv/insns/ctz.h +++ b/riscv/insns/ctz.h @@ -1,4 +1,4 @@ -require_extension('B'); +require_extension(EXT_ZBB); reg_t x = xlen; for (int i = 0; i < xlen; i++) if (1 & (RS1 >> i)) { x = i; break; } |