tcg/arm: Fix double-word comparisons
commit7170ac33135e6ecf89752d3949bcecf9b9766d1c
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 15 Jan 2018 21:01:37 +0000 (15 13:01 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 16 Jan 2018 16:20:39 +0000 (16 08:20 -0800)
tree219f1be8b4fb49faed38f4c6654045abd03c156b
parentaae39d24a387a273deab3eb930dbf730aa379e22
tcg/arm: Fix double-word comparisons

The code sequence we were generating was only good for unsigned
comparisons.  For signed comparisions, use the sequence from gcc.

Fixes booting of ppc64 firmware, with a patch changing the code
sequence for ppc comparisons.

Tested-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/arm/tcg-target.inc.c