• bmeurer's avatar
    [builtins] Introduce proper Float64Tan operator. · c87168bc
    bmeurer authored
    Import base::ieee754::tan() from fdlibm and introduce Float64Tan TurboFan
    operator based on that, similar to what we do for Float64Cos and Float64Sin.
    Rewrite Math.tan() as TurboFan builtin and use those operators to also
    inline Math.tan() into optimized TurboFan functions.
    
    Drive-by-fix: Kill the %_ConstructDouble intrinsics, and provide only
    the %ConstructDouble runtime entry for writing tests.
    
    BUG=v8:5086,v8:5126
    R=yangguo@chromium.org
    
    Review-Url: https://codereview.chromium.org/2083453002
    Cr-Commit-Position: refs/heads/master@{#37087}
    c87168bc
builtins.cc 223 KB