• zhengxing.li's avatar
    X87: [wasm] Int64Lowering of Int64Sub on ia32 and arm. · 831add80
    zhengxing.li authored
      port 33c08596 (r34808)
    
      original commit message:
      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
    
    BUG=
    
    Review URL: https://codereview.chromium.org/1812753003
    
    Cr-Commit-Position: refs/heads/master@{#34844}
    831add80
code-generator-x87.cc 80 KB