• P
    target/arm: Set FPCCR.S when executing M-profile floating point insns · 6d60c67a
    Peter Maydell 提交于
    The M-profile FPCCR.S bit indicates the security status of
    the floating point context. In the pseudocode ExecuteFPCheck()
    function it is unconditionally set to match the current
    security state whenever a floating point instruction is
    executed.
    
    Implement this by adding a new TB flag which tracks whether
    FPCCR.S is different from the current security state, so
    that we only need to emit the code to update it in the
    less-common case when it is not already set correctly.
    
    Note that we will add the handling for the other work done
    by ExecuteFPCheck() in later commits.
    Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
    Reviewed-by: NRichard Henderson <richard.henderson@linaro.org>
    Message-id: 20190416125744.27770-19-peter.maydell@linaro.org
    6d60c67a
cpu.h 120.3 KB