aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/bseti.h
blob: 495237863c9891e08847c21c9ed54dc1d99f5d6d (plain)
1
2
3
require_extension(EXT_ZBS);
int shamt = SHAMT & (xlen-1);
WRITE_RD(sext_xlen(RS1 | (1LL << shamt)));