]> git.ipfire.org Git - thirdparty/qemu.git/commit
tcg/s390: Fix setcond expansion
authorRichard Henderson <rth@twiddle.net>
Wed, 7 Dec 2016 03:00:57 +0000 (22:00 -0500)
committerRichard Henderson <rth@twiddle.net>
Sat, 24 Dec 2016 03:38:27 +0000 (19:38 -0800)
commit65839b56b9a740e6b898b5d81afc160502bd2935
treea4a5e4f386807f7f0a562bc91efea0bd27cd865a
parenta470b33259bf82ef2336bfcd5d07640562d3f63b
tcg/s390: Fix setcond expansion

We can't use LOAD AND TEST for unsigned data and then expect to
extract the result with ADD LOGICAL WITH CARRY.  Fall through to
using COMPARE LOGICAL IMMEDIATE instead.

Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/s390/tcg-target.inc.c