1. 21 Mar, 2016 2 commits
    • jfb's avatar
      wasm: add flag to dump modules · ed76b66a
      jfb authored
      Flags --dump_wasm_module and --dump_wasm_module_path=/path/to/folder allow us to run a bunch of tests and capture all of the wasm module files including the ones that come from the .js and .cc tests which are built on the fly, as well as the asm2wasm tests.
      
      The files are all uniquely named `HASH.{ok,failed}.wasm`.
      
      This will be especilly useful for fuzz testing, but could also be used for other tests including non-V8 tests.
      
      For now I manually hacked tools/testrunner/local/execution.py so that tools/run-tests.py can output the modules. We may want to ad a flag to run-tests.py proper if this turns out to be useful.
      
      R=bradnelson@chromium.org, titzer@chromium.org, kcc@chromium.org
      
      Review URL: https://codereview.chromium.org/1816583003
      
      Cr-Commit-Position: refs/heads/master@{#34968}
      ed76b66a
    • bradnelson's avatar
      Fix conversion to float32, typing issue, split apart asm-wasm tests. · cca5c3f6
      bradnelson authored
      Add missing conversions from other types to f32 in fround.
      Restrict fround() to only float, double, signed, unsigned (no unions / intish).
      Restrict Bitwise operations to intish, particularly |0, when not applied to a foreign function.
      
      Adding more exhaustive tests of stdlib Math, move to a separate file.
      Adding tests of interesting values for the stdlib asm.js functions.
      
      BUG= https://bugs.chromium.org/p/v8/issues/detail?id=4203
      TEST=test-asm-validator,asm-wasm
      R=titzer@chromium.org,rossberg@chromium.org
      LOG=N
      
      Review URL: https://codereview.chromium.org/1804243003
      
      Cr-Commit-Position: refs/heads/master@{#34967}
      cca5c3f6
  2. 17 Mar, 2016 1 commit
  3. 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
  4. 14 Mar, 2016 3 commits
  5. 11 Mar, 2016 2 commits
  6. 10 Mar, 2016 2 commits
  7. 09 Mar, 2016 6 commits
  8. 08 Mar, 2016 3 commits
  9. 07 Mar, 2016 2 commits
  10. 05 Mar, 2016 1 commit
  11. 04 Mar, 2016 5 commits
  12. 03 Mar, 2016 4 commits
  13. 02 Mar, 2016 1 commit
  14. 01 Mar, 2016 5 commits
  15. 29 Feb, 2016 1 commit
  16. 28 Feb, 2016 1 commit