commit | b1cafe0ffcf7b6df198fd25fb956c2c1c45a0a9b | [log] [tgz] |
---|---|---|
author | Chris Dearman <chris@mips.com> | Wed Nov 21 19:08:34 2012 -0800 |
committer | Paul Lind <plind@mips.com> | Wed Nov 21 19:08:34 2012 -0800 |
tree | be461fd2006dbf068f6cde76def58ffe0b750b4f | |
parent | 15d51db11420b8ec3dd885f5e790dab6b79ce1be [diff] |
[MIPS] Fix several profiling issues caused by incorrect register saves rTEMP is used by the JAL and JALR macros so it needs to be preserved if it is holding some other useful value. No need to save ra in rTEMP if using JAL/JALR macros. Change-Id: I1bf8c3b044faa944021b4331e0a71c1489b70241 Signed-off-by: Douglas Leung <douglas@mips.com> Signed-off-by: Chris Dearman <chris@mips.com>