• balazs.kilvady's avatar
    MIPS: Fix 'MIPS: Followup [turbofan] Introduce new operators... · 8c4e388e
    balazs.kilvady authored
    MIPS: Fix 'MIPS: Followup [turbofan] Introduce new operators Float32SubPreserveNan and Float64SubPreserveNan.'
    
    Port eff959bb
    
    Original commit message:
    Float32SubMinusZero and Float64SubMinusZero tests are failing because MIPS does not preserve NaN payload according to Wasm spec. Implemented macro-assembler methods that check for NaN operands, and return the qNaN value with preserved payload and sign bits.
    
    TEST=cctest/test-run-wasm/Run_WasmFloat32SubMinusZero, cctest/test-run-wasm/Run_WasmFloat64SubMinusZero
    BUG=
    
    Review-Url: https://codereview.chromium.org/2081993002
    Cr-Commit-Position: refs/heads/master@{#37151}
    8c4e388e
macro-assembler-mips.cc 216 KB