Compare commits
2 Commits
438e598a4a
...
17ee7b138d
Author | SHA1 | Date | |
---|---|---|---|
17ee7b138d | |||
aa84a27a5b |
Submodule gen_input/CoreDSL-Instruction-Set-Description updated: 89dabd00e3...9e3119a806
@ -517,7 +517,7 @@ private:
|
||||
// execute instruction
|
||||
try {
|
||||
{
|
||||
int32_t new_pc = *(X+rs1) + (int16_t)sext<12>(imm);
|
||||
int32_t new_pc = (*(X+rs1) + (int16_t)sext<12>(imm)) & ~ 1;
|
||||
if(new_pc % traits::INSTR_ALIGNMENT) {
|
||||
raise(0, 0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user