|
From: | Jonas Maebe |
Subject: | Re: [Qemu-devel] [PATCH] Fix dyngen failure on PPC. |
Date: | Sun, 1 May 2005 22:29:21 +0200 |
On 01 May 2005, at 19:04, Paul Brook wrote:
This is not correct. If the blr is not at the end of the function, things will break.dyngen assumes the last instruction is the only return instruction in the function. This allows it to remove the blr insn and concatenate multiplefunctions together.
Can't we on PPC just replace all blr's with plain branches to the instruction after end of the function? (since all instructions are 32 bit long)
Jonas
[Prev in Thread] | Current Thread | [Next in Thread] |