aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/bclr.h
blob: 589273e6405730ab9bc32dfd01ead874a2ec4c41 (plain)
1
2
3
require_extension(EXT_ZBS);
int shamt = RS2 & (xlen-1);
WRITE_RD(sext_xlen(RS1 & ~(1LL << shamt)));