• ivica.bogosavljevic's avatar
    Reland of MIPS: Add FPXX support to MIPS32R2 · b23d5389
    ivica.bogosavljevic authored
    Fix failures on MIPS simulator because incomplete
    handling of MTHC1 and MFHC1 in Fp32 mode
    Fix failures on older kernels that have problems with
    MTHC1 and MFHC1 in kernel FPU emulation
    
    Original issue's description:
    > Revert of MIPS: Add FPXX support to MIPS32R2 (patchset #3
    > id:40001 of https://codereview.chromium.org/1586223004/ )
    >
    > Reason for revert:
    > Revert patch due to a number of failures appearing on the > MIPS v8 simulator
    >
    > Original issue's description:
    >> MIPS: Add FPXX support to MIPS32R2
    >>
    >> The JIT code generated by V8 is FPXX compliant
    >> when v8 compiled with FPXX flag. This allows the code to
    >> run in both FP=1 and FP=0 mode. It also alows v8 to be used
    >> as a library by both FP32 and FP64 binaries.
    >>
    >> BUG=
    >>
    >> Committed: https://crrev.com/95110dde666158a230a823fd50a68558ad772320
    >> Cr-Commit-Position: refs/heads/master@{#33576}
    
    BUG=
    
    Review URL: https://codereview.chromium.org/1659883002
    
    Cr-Commit-Position: refs/heads/master@{#33808}
    b23d5389
simulator-mips.cc 146 KB