qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1/3] target-s390x: fix CC computation for LOAD P


From: Alexander Graf
Subject: Re: [Qemu-devel] [PATCH 1/3] target-s390x: fix CC computation for LOAD POSITIVE instructions
Date: Mon, 18 May 2015 19:04:06 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

On 05/18/2015 03:39 PM, Aurelien Jarno wrote:
LOAD POSITIVE instructions (LPR, LPGR and LPGFR) set the following
condition code:
   0: Result zero; no overflow
   1: --
   2: Result greater than zero; no overflow
   3: Overflow

The current code wrongly returns 1 instead of 2 in case of a result
greater than 0. This patches fixes that. This fixes the marshalling of
the value '0L' in Python.

Cc: Richard Henderson <address@hidden>
Cc: Alexander Graf <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>

Thanks, applied all to s390-next.


Alex




reply via email to

[Prev in Thread] Current Thread [Next in Thread]