aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/bexti.h
blob: 31d2316685e8df7fdf5740af987f54e5ad80ae3f (plain)
1
2
3
require_extension(EXT_ZBS);
int shamt = SHAMT & (xlen-1);
WRITE_RD(sext_xlen(1 & (RS1 >> shamt)));