On 4/16/19 5:57 AM, Peter Maydell wrote: > The M-profile architecture floating point system supports > lazy FP state preservation, where FP registers are not > pushed to the stack when an exception occurs but are instead > only saved if and when the first FP instruction in the exception > handler is executed. Implement this in QEMU, corresponding > to the check of LSPACT in the pseudocode ExecuteFPCheck(). > > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> > --- > target/arm/cpu.h | 3 ++ > target/arm/helper.h | 2 + > target/arm/translate.h | 1 + > target/arm/helper.c | 112 +++++++++++++++++++++++++++++++++++++++++ > target/arm/translate.c | 22 ++++++++ > 5 files changed, 140 insertions(+)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~