/[qemu]
ViewVC logotype

Revision 5638


Jump to revision: Previous Next
Author: aurel32
Date: Thu Nov 6 09:16:57 2008 UTC (15 years ago)
Changed paths: 1
Log Message:
target-alpha: Fix ret instruction

Hopefully pine doesn't corrupt this patch, I've had problems recently.

For an alpha "ret" instruction, of the type
     ret $26

The return was being ignored.  This is because in translate.c
register $26 (the return address) was being over-written with the current
PC before it could be jumped to.  Thus the ret was ignored.

This patch just re-orders things so the return address is processed before
it is over-written with the current PC.

(Vince Weaver)

Changed paths:

Path Details
Directorytrunk/target-alpha/translate.c modified , text changed

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.5