You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know MIPS's branch instructions need another instruction follows (a.k.a. branch delay slot), but keystone (or, llvm) always adds a dummy nop after branch instructions even there's one.
imo keystone should never insert dummy instructions in such cases. It is the programmer's job to understand that a delay slot is used, not keystone's job to read the programmer's mind
I know MIPS's branch instructions need another instruction follows (a.k.a. branch delay slot), but keystone (or, llvm) always adds a dummy nop after branch instructions even there's one.
If no instruction follows, this output is ok:
But with an instruction follows, a dummy nop is still inserted:
expected:
No NOP needed to be inserted if an instruction already follows.
The text was updated successfully, but these errors were encountered: