1 2 3 4 5
require_extension('B'); reg_t x = RS1; for (int i = 0; i < 8; i++) x = (x >> 1) ^ (0x82F63B78 & ~((x&1)-1)); WRITE_RD(sext_xlen(x));