blob: 271a1f908f6041b6c7088ca46b2ba4a94499a913 (
plain)
1
2
3
4
5
6
7
8
9
|
require_rv32;
require_extension(EXT_ZKNH);
reg_t result =
(zext32(RS1) << 3) ^ (zext32(RS1) >> 6) ^ (zext32(RS1) >> 19) ^
(zext32(RS2) >> 29) ^ (zext32(RS2) << 13);
WRITE_RD(sext_xlen(result));
|