• H
    x86: unify the implementation of FPU traps · a73ad333
    H. Peter Anvin 提交于
    On 32 bits, we may suffer IRQ 13, or supposedly we might have a buggy
    implementation which gives spurious trap 16.  We did not check for
    this on 64 bits, but there is no reason we can't make the code the
    same in both cases.  Furthermore, this is presumably rare, so do the
    spurious check last, instead of first.
    Signed-off-by: NH. Peter Anvin <hpa@zytor.com>
    a73ad333
traps.c 25.1 KB