Oh, sorry, according to the architecture member's reply, this patch is
incorrect. I shall implement iret as "jrp lr".
Thanks.
On 10/1/15 19:01, gang.chen.5...@gmail.com wrote:
> From: Chen Gang
>
> Acording to the __longjmp tilegx libc implementation, and reference from
> tilegx ISA document, w
From: Chen Gang
Acording to the __longjmp tilegx libc implementation, and reference from
tilegx ISA document, we can left iret instruction empty. The related
code is below:
ENTRY (__longjmp)
FEEDBACK_ENTER(__longjmp)
#define RESTORE(r) { LD r, r0 ; ADDI_PTR r0, r0, REGSIZE }