tcg-ppc64: Fix add2_i64
commit84247357104044b8c4ec4a634e84769f432cbe52
authorAnton Blanchard <anton@samba.org>
Sun, 2 Jun 2013 12:29:39 +0000 (2 22:29 +1000)
committerRichard Henderson <rth@twiddle.net>
Mon, 17 Jun 2013 17:42:16 +0000 (17 10:42 -0700)
tree8db1ae318824cdec3461ae76deeb49c146dd557b
parent82e0f9170ac9307de4fc15bfb4d12d5534550322
tcg-ppc64: Fix add2_i64

add2_i64 was adding the lower double word to the upper double word
of each input. Fix this so we add the lower double words, then the
upper double words with carry propagation.

Cc: qemu-stable@nongnu.org
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/ppc64/tcg-target.c