|
From: | Richard Henderson |
Subject: | Re: [Qemu-devel] [PATCH v4 2/2] target-m68k: add 680x0 divu/divs variants |
Date: | Sun, 27 Nov 2016 09:59:23 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 |
On 11/27/2016 09:42 AM, Laurent Vivier wrote:
> + env->dregs[destr] = deposit32(quot, 16, 16, rem); > env->cc_z = quot; > env->cc_n = quot;quot is here a 32bit, but the result is only the 16 lower bits, so I think we should have env->cc_z = (int16_t)quot; env->cc_n = (int16_t)quot;
Yep, you're right. r~
[Prev in Thread] | Current Thread | [Next in Thread] |