On 24 January 2017 at 19:33, Richard Henderson wrote:
> On 01/24/2017 11:16 AM, Peter Maydell wrote:
>> The CCR.STACKALIGN bit controls whether the CPU is supposed to force
>> 8-alignment of the stack pointer on entry to the exception handler.
>
> 8...
>
>> +/* Align stack pointer if the guest
On 01/24/2017 11:16 AM, Peter Maydell wrote:
> The CCR.STACKALIGN bit controls whether the CPU is supposed to force
> 8-alignment of the stack pointer on entry to the exception handler.
8...
> +/* Align stack pointer if the guest wants that */
> +if ((env->regs[13] & 4) && (env->v7m.ccr &
From: Michael Davidsaver
The CCR.STACKALIGN bit controls whether the CPU is supposed to force
8-alignment of the stack pointer on entry to the exception handler.
Signed-off-by: Michael Davidsaver
[PMM: commit message and comment tweaks]
Signed-off-by: Peter Maydell
---
target/arm/helper.c | 6