]> git.ipfire.org Git - thirdparty/qemu.git/commit - target/sparc/translate.c
target-sparc: Don't compute full flags value so often
authorRichard Henderson <rth@twiddle.net>
Tue, 9 Oct 2012 21:50:00 +0000 (14:50 -0700)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 13 Oct 2012 10:17:28 +0000 (10:17 +0000)
commit20132b96055e1da1d114067c15bf53e78a25d1c4
treeef09008f6b3f63ef3067350a2cd27898c2643c05
parent6234ac09a947d1402f92b6d25ccea6faa4433b5b
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>
linux-user/main.c
target-sparc/int32_helper.c
target-sparc/int64_helper.c
target-sparc/translate.c