• bmeurer's avatar
    [builtins] Introduce proper Float64Cos and Float64Sin. · c781e831
    bmeurer authored
    Import base::ieee754::cos() and base::ieee754::sin() from fdlibm and
    introduce Float64Cos and Float64Sin TurboFan operator based on that,
    similar to what we do for Float64Log. Rewrite Math.cos() and Math.sin()
    as TurboFan builtins and use those operators to also inline Math.cos()
    and Math.sin() into optimized TurboFan functions.
    
    CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_chromium_rel_ng;tryserver.blink:linux_blink_rel
    R=mvstanton@chromium.org
    BUG=v8:5086,v8:5118
    
    Review-Url: https://codereview.chromium.org/2073123002
    Cr-Commit-Position: refs/heads/master@{#37072}
    c781e831
typer.cc 80.7 KB