From 686674dc15c1734940614c8f59419e9f94d51a52 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Mon, 6 Sep 2021 18:31:20 -0700 Subject: Move bitmanip instructions outside Zba/Zbb/Zbc/Zbs into Xbitmanip --- riscv/insns/gorc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'riscv/insns/gorc.h') 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); -- cgit v1.1