s390x: Fix stoc direction
commitc095ed731ce4fecf166e4ac02ddc606b408f5e1f
authorAlexander Graf <agraf@suse.de>
Wed, 15 Apr 2015 01:45:41 +0000 (15 03:45 +0200)
committerAlexander Graf <agraf@suse.de>
Wed, 13 May 2015 12:48:54 +0000 (13 14:48 +0200)
tree0f319618c1bda200415f1d5edfeed4f03abee70f
parent968bb75c348a401b85e08d5eb1887a3e6c3185f5
s390x: Fix stoc direction

The store conditional instruction wants to store when the condition
is fulfilled, so we should branch out when it's not true.

The code today branches out when the condition is true, clearly
reversing the logic. Fix it up by negating the condition.

Signed-off-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Richard Henderson <rth@twiddle.net>
target-s390x/translate.c