• Junliang Yan's avatar
    PPC/s390: [stubs] Convert DoubleToIStub and MathPowStub to builtins · 5e8bc1c3
    Junliang Yan authored
    Port a3b60675
    
    Original Commit Message:
    
        This is mostly a simple copy & paste of the stub implementation from
        code-stubs-arch.cc to builtins-arch.cc.
    
        The conversion allows removal of a special case for the DoubleToIStub
        within the compiler & wasm pipelines, and also makes the following
        builtins isolate-independent (in conjunction with
        https://crrev.com/c/1006581):
    
        TFC BitwiseAnd
        TFC BitwiseOr
        TFC BitwiseXor
        TFC Exponentiate
        TFC ShiftLeft
        TFC ShiftRight
        TFC ShiftRightLogical
        TFJ AtomicsAdd
        TFJ AtomicsAnd
        TFJ AtomicsCompareExchange
        TFJ AtomicsExchange
        TFJ AtomicsLoad
        TFJ AtomicsOr
        TFJ AtomicsStore
        TFJ AtomicsSub
        TFJ AtomicsXor
        TFJ MathClz32
        TFJ MathImul
        TFJ MathPow
        TFJ NumberParseInt
        TFJ StringFromCharCode
        TFJ TypedArrayFrom
        TFJ TypedArrayOf
        TFJ TypedArrayPrototypeMap
    
    R=jgruber@chromium.org, joransiu@ca.ibm.com, michael_dawson@ca.ibm.com
    BUG=
    LOG=N
    
    Change-Id: Iee9fc5671646772625556717db052b78089c5c66
    Reviewed-on: https://chromium-review.googlesource.com/1013247Reviewed-by: 's avatarJunliang Yan <jyan@ca.ibm.com>
    Commit-Queue: Junliang Yan <jyan@ca.ibm.com>
    Cr-Commit-Position: refs/heads/master@{#52606}
    5e8bc1c3
code-generator-ppc.cc 96.1 KB