1. 20 Jul, 2016 1 commit
  2. 21 Apr, 2016 1 commit
    • ahaas's avatar
      [wasm] New implementation of popcnt and ctz. · b4889f7d
      ahaas authored
      This patch provides a new implementation of popcnt and ctz in the case
      where the platform does not provide these instructions. Instead of
      building a TF graph which implements it we now call a C function.
      
      Additionally I turned on additional tests in test-run-wasm-64.cc
      
      R=titzer@chromium.org
      
      Review URL: https://codereview.chromium.org/1857363003
      
      Cr-Commit-Position: refs/heads/master@{#35685}
      b4889f7d
  3. 06 Apr, 2016 1 commit
    • ahaas's avatar
      [wasm] Refactoring of wasm-external-refs. · a7d3e24f
      ahaas authored
      1) I moved the implementations of the wrapper functions into a new cc
      file so that I can use these wrapper functions in tests.
      
      2) I made a generic test for all tests in
      test-run-calls-to-external-references.cc. In the new test we only
      compare the result of a function call through an external reference with
      the result of a direct function call. This is sufficient because we only
      want to test function calls through external references work here.
      The implementation of these functions are tested somewhere else.
      
      R=titzer@chromium.org
      
      Review URL: https://codereview.chromium.org/1853123002
      
      Cr-Commit-Position: refs/heads/master@{#35289}
      a7d3e24f
  4. 15 Mar, 2016 1 commit
    • ahaas's avatar
      [wasm] Int64Lowering of I64Div and I64Rem. · 29e0e8e9
      ahaas authored
      On 32-bit systems these instructions are compiled to calls to
      C functions. The TF node for the function call is already generated in
      the wasm compiler, the lowering of the I64 parameters is done in the
      Int64Lowering. We use the return value of the C function to determine
      whether the calculation should trap or not.
      
      R=titzer@chromium.org
      
      Review URL: https://codereview.chromium.org/1804513002
      
      Cr-Commit-Position: refs/heads/master@{#34768}
      29e0e8e9
  5. 14 Mar, 2016 1 commit
    • ahaas's avatar
      [wasm] Int64Lowering of I64XConvertFXX instructions. · d57d14b9
      ahaas authored
      On 32-bit systems I64XConvertFXX instructions are compiled to calls to
      C functions. The TF node for the function call is already generated in
      the wasm compiler, the lowering of the I64 parameter is done in the
      Int64Lowering. We use the return value of the C function to determine
      whether the conversion should trap or not.
      
      R=titzer@chromium.org
      
      Review URL: https://codereview.chromium.org/1775903002
      
      Cr-Commit-Position: refs/heads/master@{#34738}
      d57d14b9
  6. 04 Mar, 2016 1 commit