]> git.proxmox.com Git - qemu.git/commit
tcg-ia64: Simplify brcond
authorRichard Henderson <rth@twiddle.net>
Thu, 5 Sep 2013 16:47:41 +0000 (12:47 -0400)
committerRichard Henderson <rth@twiddle.net>
Mon, 18 Nov 2013 05:56:42 +0000 (15:56 +1000)
commit6d264b38fcc267b68df2890b22d27bc404878c8c
tree124005a9692f75597a4c8d525cfea5fa32e3ae32
parent6f65c780b952485d7d1edbb72bf199e9803995e2
tcg-ia64: Simplify brcond

There was a misconception that a stop bit is required between a compare
and the branch that uses the predicate set by the compare.  This lead to
the usage of an extra bundle in which to perform the compare.  The extra
bundle left room for constants to be loaded for use with the compare insn.

If we pack the compare and the branch together in the same bundle, then
there's no longer any room for non-zero constants.  At which point we
can eliminate half the function by not handling them.

Acked-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/ia64/tcg-target.c