• mbrandy's avatar
    PPC: [turbofan] Add TruncationMode for TruncateFloat64ToInt32. · 2798e118
    mbrandy authored
    Port 4b38c158
    
    Original commit message:
        We actually need round to zero truncation to implement the counterpart
        of LDoubleToI in TurboFan, which tries to convert a double to an integer
        as required for keyed load/store optimizations.
    
        Drive-by-cleanup: Reduce some code duplication in the InstructionSelector
        implementations.
    
    R=bmeurer@chromium.org, dstence@us.ibm.com, michael_dawson@ca.ibm.com
    BUG=
    
    Review URL: https://codereview.chromium.org/1220373003
    
    Cr-Commit-Position: refs/heads/master@{#29533}
    2798e118
instruction-selector-ppc.cc 51.2 KB