summaryrefslogtreecommitdiffstats
path: root/target-sparc/cpu.h
diff options
context:
space:
mode:
authorRichard Henderson2012-10-09 23:50:00 +0200
committerBlue Swirl2012-10-13 12:17:28 +0200
commit20132b96055e1da1d114067c15bf53e78a25d1c4 (patch)
treeef09008f6b3f63ef3067350a2cd27898c2643c05 /target-sparc/cpu.h
parenttarget-sparc: Avoid unnecessary local temporaries (diff)
downloadqemu-20132b96055e1da1d114067c15bf53e78a25d1c4.tar.gz
qemu-20132b96055e1da1d114067c15bf53e78a25d1c4.tar.xz
qemu-20132b96055e1da1d114067c15bf53e78a25d1c4.zip
target-sparc: Don't compute full flags value so often
Avoid speculatively computing flags before every potentially trapping operation and instead do the flags computation when a trap actually occurs. This gives approximately 30% speedup in emulation. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-sparc/cpu.h')
0 files changed, 0 insertions, 0 deletions