liweiwei90
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
1 deletions
-
riscv/insns/pack.h
|
|
|
@ -3,7 +3,6 @@ require(((xlen == 32) && (insn.rs2() == 0) && p->extension_enabled(EXT_ZBB)) |
|
|
|
|| p->extension_enabled(EXT_ZPN) |
|
|
|
|| p->extension_enabled(EXT_ZBKB) |
|
|
|
|| p->extension_enabled(EXT_XBITMANIP)); |
|
|
|
require(SHAMT < (xlen/2)); |
|
|
|
reg_t lo = zext_xlen(RS1 << (xlen/2)) >> (xlen/2); |
|
|
|
reg_t hi = zext_xlen(RS2 << (xlen/2)); |
|
|
|
WRITE_RD(sext_xlen(lo | hi)); |
|
|
|
|