diff options
Diffstat (limited to 'riscv/insns/grev.h')
-rw-r--r-- | riscv/insns/grev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/grev.h b/riscv/insns/grev.h index b13fa5a..0533486 100644 --- a/riscv/insns/grev.h +++ b/riscv/insns/grev.h @@ -1,4 +1,4 @@ -require_extension('B'); +require_extension(EXT_XBITMANIP); reg_t x = RS1; int shamt = RS2 & (xlen-1); if (shamt & 1) x = ((x & 0x5555555555555555LL) << 1) | ((x & 0xAAAAAAAAAAAAAAAALL) >> 1); |