qemu/target/arm/translate-a64.h
/* We should have at some point before trying to access an FP register
 * done the necessary access check, so assert that
 * (a) we did the check and
 * (b) we didn't then just plough ahead anyway if it failed.
 * Print the instruction pattern in the abort message so we can figure
 * out what we need to fix if a user encounters this problem in the wild.
 */
We should have at some point before trying to access an FP register
done the necessary access check, so assert that
(a) we did the check and
(b) we didn't then just plough ahead anyway if it failed.
Print the instruction pattern in the abort message so we can figure
out what we need to fix if a user encounters this problem in the wild.
We should have at some point before trying to access an FP register done the necessary access check so assert that ( a ) we did the check and ( b ) we didn ' t then just plough ahead anyway if it failed . Print the instruction pattern in the abort message so we can figure out what we need to fix if a user encounters this problem in the wild .
static inline void assert_fp_access_checked(DisasContext *s)
{
#ifdef CONFIG_DEBUG_TCG
    if (unlikely(!s->fp_access_checked || s->fp_excp_el)) {
        fprintf(stderr, "target-arm: FP access check missing for "
                "instruction 0x%08x\n", s->insn);
        abort();
    }
#endif
}
static inline void assert_fp_access_checked ( DisasContext * s ) { #ifdef CONFIG_DEBUG_TCG if ( unlikely ( ! s -> fp_access_checked || s -> fp_excp_el ) ) { fprintf ( stderr , " " " \n " , s -> insn ) ; abort ( ) ; } #endif }
We should have at some point before trying to access an FP register
 done the necessary access check, so assert that
 (a) we did the check and
 (b) we didn't then just plough ahead anyway if it failed.
We should have at some point before trying to access an FP register done the necessary access check so assert that ( a ) we did the check and ( b ) we didn ' t then just plough ahead anyway if it failed .