• ahaas's avatar
    [wasm] Int64Lowering of Int64Sub on ia32 and arm. · 33c08596
    ahaas authored
    Int64Sub is lowered to a new turbofan operator, Int32SubPair. The new
    operator takes 4 inputs an generates 2 outputs. The inputs are the low
    word of the left input, high word of the left input, the low word of the
    right input, and high word of the right input. The ouputs are the low
    and high word of the result of the subtraction.
    
    The implementation is very similar to the implementation of Int64Add.
    
    @v8-arm-ports: please take a careful look at the implementation of sbc
    in the simulator.
    
    R=titzer@chromium.org, v8-arm-ports@googlegroups.com
    
    Review URL: https://codereview.chromium.org/1778893005
    
    Cr-Commit-Position: refs/heads/master@{#34808}
    33c08596
instruction-scheduler-ia32.cc 3.5 KB