|
From: | Rebecca Cran |
Subject: | Re: [PATCH v2 1/3] target/arm: Remove PSTATE_SS from cpsr and move it into env->pstate. |
Date: | Fri, 22 Jan 2021 17:28:35 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 |
On 1/22/21 2:03 PM, Richard Henderson wrote:
On 1/21/21 6:45 PM, Rebecca Cran wrote:
cpsr_write(env, spsr, mask, CPSRWriteRaw); - if (!arm_singlestep_active(env)) { - env->uncached_cpsr &= ~PSTATE_SS; - } + env->pstate &= ~PSTATE_SS;Why are you removing the singlestep check?
- env->uncached_cpsr &= ~PSTATE_SS; - env->spsr = cpsr_read(env); + env->pstate &= ~PSTATE_SS; + env->spsr &= ~PSTATE_SS;This loses the saving of cpsr into spsr.
Oh, right. I've fixed both this and the above issue in the next revision which I'll send out early next week (giving a chance for any extra feedback).
Thanks. -- Rebecca Cran
[Prev in Thread] | Current Thread | [Next in Thread] |