We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60c08b1 commit 6337981Copy full SHA for 6337981
riscv/triggers.cc
@@ -84,7 +84,7 @@ bool trigger_t::textra_match(processor_t * const proc) const noexcept
84
assert(CSR_TEXTRA32_SBYTEMASK_LENGTH < CSR_TEXTRA64_SBYTEMASK_LENGTH);
85
for (int i = 0; i < CSR_TEXTRA64_SBYTEMASK_LENGTH; i++)
86
if (sbytemask & (1 << i))
87
- mask &= 0xff << (i * 8);
+ mask &= ~(reg_t(0xff) << (i * 8));
88
if ((state->scontext->read() & mask) != (svalue & mask))
89
return false;
90
} else if (sselect == SSELECT_ASID) {
0 commit comments