diff options
Diffstat (limited to 'riscv/insns/gorc.h')
-rw-r--r-- | riscv/insns/gorc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/gorc.h b/riscv/insns/gorc.h index 097ba9b..08e7e67 100644 --- a/riscv/insns/gorc.h +++ b/riscv/insns/gorc.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); |