I read here that a jmpl
instruction must be followed by nop
.
The SPARC V8 manual tells me that an rett
instruction must always be preceded by a jmpl
instruction.
But, I haven't been able to find a relation between jmpl
and restore
instructions. I am currently working on SPARC V8 architecture and one of the ELF files I encountered has a restore
right after jmpl
, while I expected an nop
. I don't know if this is correct or the ELF (and by extension the SPARC code) is wrong.
Is having restore
right after jmpl
correct?