On 4/16/19 5:57 AM, Peter Maydell wrote: > Currently the code in v7m_push_stack() which detects a violation > of the v8M stack limit simply returns early if it does so. This > is OK for the current integer-only code, but won't work for the > floating point handling we're about to add. We need to continue > executing the rest of the function so that we check for other > exceptions like not having permission to use the FPU and so > that we correctly set the FPCCR state if we are doing lazy > stacking. Refactor to avoid the early return. > > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> > --- > target/arm/helper.c | 23 ++++++++++++++++++----- > 1 file changed, 18 insertions(+), 5 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~