riscv-compliance: fix too-narrow constant
This commit is contained in:
parent
2deff1b2c9
commit
ff365173a0
|
@ -3294,7 +3294,7 @@ int riscv013_test_compliance(struct target *target) {
|
||||||
riscv_reg_t dpc;
|
riscv_reg_t dpc;
|
||||||
|
|
||||||
if (riscv_xlen(target) > 32) {
|
if (riscv_xlen(target) > 32) {
|
||||||
dpcmask |= (0xFFFFFFFFUL << 32);
|
dpcmask |= (0xFFFFFFFFULL << 32);
|
||||||
}
|
}
|
||||||
if (riscv_supports_extension(target, riscv_current_hartid(target), 'C')){
|
if (riscv_supports_extension(target, riscv_current_hartid(target), 'C')){
|
||||||
dpcmask |= 0x2;
|
dpcmask |= 0x2;
|
||||||
|
|
Loading…
Reference in New Issue