|
From: | Richard Henderson |
Subject: | Re: [PATCH] target/s390x: Fix CC set by CONVERT TO FIXED/LOGICAL |
Date: | Mon, 28 Jun 2021 10:49:52 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
On 6/28/21 9:32 AM, Ulrich Weigand wrote:
Don't clear out env->fpu_status.float_exception_flags in handle_exceptions. Wait until we're actually done with the data.I don't really know much about qemu internals, but this is really confusing me, sorry. Aren't env->fpu_status and env->cc_op two elements of the same global state? Why it is OK to use one of these fields to pass information to the next helper, but not the other? I guess I must be missing something here ...
One of them has cc_op = tcg_global_mem_new_i32(cpu_env, offsetof(CPUS390XState, cc_op), "cc_op"); which makes it a TCG Global, which may not be modified at will, and one of them does not. r~
[Prev in Thread] | Current Thread | [Next in Thread] |