1. 10 Aug, 2017 3 commits
  2. 09 Aug, 2017 30 commits
  3. 08 Aug, 2017 7 commits
    • Aseem Garg's avatar
      Revert "[wasm] Reland "[wasm] redirect wasm calls to js functions through a GCed table"" · aee1e1fb
      Aseem Garg authored
      This reverts commit 649b1e70.
      
      Reason for revert: A1 Jetstream bots are still failing.
      
      Original change's description:
      > [wasm] Reland "[wasm] redirect wasm calls to js functions through a GCed table"
      >
      > This reverts commit 25f03308.
      >
      > Reason for revert: Fix the cause of bot failure and reland
      >
      > Original change's description:
      > > Revert "[wasm] redirect wasm calls to js functions through a GCed table"
      > >
      > > This reverts commit eb65f35e.
      > >
      > > Reason for revert: Broke jetstream benchmark on android.
      > >
      > > BUG=chromium:750828
      > >
      > > Original change's description:
      > > > [wasm] redirect wasm calls to js functions through a GCed table
      > > >
      > > > With this patch, rather than embedding the JSReceiver address directly
      > > > in the WasmToJS wrappers, we put that in a fixed array with global handle
      > > > scope and instead embed the location of the handle and the index in the
      > > > wrapper. This ensures that the wrapper doesn't need to be patched if the
      > > > GC kicks in. This is needed to get the WASM code off the GCed heap.
      > > >
      > > > R=​mtrofin@chromium.org
      > > >
      > > > Bug:
      > > > Change-Id: Ie5a77a78cdecec51b04f702c63b8e4285e6a2d8d
      > > > Reviewed-on: https://chromium-review.googlesource.com/581682
      > > > Commit-Queue: Aseem Garg <aseemgarg@chromium.org>
      > > > Reviewed-by: Mircea Trofin <mtrofin@chromium.org>
      > > > Cr-Commit-Position: refs/heads/master@{#46884}
      > >
      > > TBR=mtrofin@chromium.org,aseemgarg@google.com,aseemgarg@chromium.org,clemensh@chromium.org
      > >
      > > # Not skipping CQ checks because original CL landed > 1 day ago.
      > >
      > > Change-Id: I26f49ee0a1fe73cc5d8852ded87b56638be39ebf
      > > Reviewed-on: https://chromium-review.googlesource.com/596268
      > > Commit-Queue: Aseem Garg <aseemgarg@chromium.org>
      > > Reviewed-by: Clemens Hammacher <clemensh@chromium.org>
      > > Cr-Commit-Position: refs/heads/master@{#47059}
      >
      > R=​mtrofin@chromium.org,aseemgarg@google.com,aseemgarg@chromium.org,clemensh@chromium.org,sullivan@chromium.org
      >
      > Change-Id: I29ef35f6e612a706d9f571da3e7beb1da8b5052b
      > Bug: chromium:750828
      > Reviewed-on: https://chromium-review.googlesource.com/597010
      > Commit-Queue: Aseem Garg <aseemgarg@chromium.org>
      > Reviewed-by: Clemens Hammacher <clemensh@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#47177}
      
      TBR=bradnelson@chromium.org,sullivan@chromium.org,mtrofin@chromium.org,aseemgarg@google.com,aseemgarg@chromium.org,clemensh@chromium.org
      
      Bug: chromium:750828
      Change-Id: I04b12c0eb0705ad809822a7d7461423be77d942a
      Reviewed-on: https://chromium-review.googlesource.com/606867
      Commit-Queue: Aseem Garg <aseemgarg@chromium.org>
      Reviewed-by: 's avatarAseem Garg <aseemgarg@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#47231}
      aee1e1fb
    • Anisha Rohra's avatar
      PPC/s390: Properly integrate the CallIC into Ignition. · 78da0742
      Anisha Rohra authored
      Port ee350c31
      
      R=joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, bjaideep@ca.ibm.com
      BUG=
      LOG=N
      
      Change-Id: I2dfc7562fc327a4d8577c405d5fec8c440ef0a49
      Reviewed-on: https://chromium-review.googlesource.com/606707Reviewed-by: 's avatarJaideep Bajwa <bjaideep@ca.ibm.com>
      Commit-Queue: Jaideep Bajwa <bjaideep@ca.ibm.com>
      Cr-Commit-Position: refs/heads/master@{#47230}
      78da0742
    • Mircea Trofin's avatar
      [wasm] Consolidate ownership of instantiation/specialization parameters · f9d4090b
      Mircea Trofin authored
      This CL consolidates ownership of parameters used to compile code (which
      we always specialize) in 2 places:
      - ModuleEnv for compile-time data
      - WasmCompiledModule for runtime data
      
      The parameters in question are: memory size and start; globals start; 
      address of indirect function tables (and their signatures, respectively); 
      and address to be used for wasm call sites.
      
      Ideally, we'd collapse this down to one place, however, we need
      specialization data to survive serialization. We can achieve this we get off 
      the GC heap and use a different wasm code serializer.
      
      The CL:
      - removes aliasing of parts of the specialization data, and moves
      to using ModuleEnv as a token of passing around compile-time data, instead
      of a mixture of ModuleEnv, WasmInstance, and some other structures. ModuleEnv
      is responsible for providing a consistent view of the specialization data,
      e.g. valid memory sizes (multiples of page size), and matching sized function
      tables and signatures.
      
      - removes WasmInstance, as its data is now contained by ModuleEnv.
      
      - removes ModuleBytesEnv. We now pass the wire bytes explicitly. They can't
      always be assumed as present (e.g. streaming compilation), and probably more
      refactoring may need to happen once streaming compilation lands and we
      better understand our dependencies.
      
      Change-Id: Id7e6f2cf29e51b5756eee8b6f8827fb1f375e5c3
      Reviewed-on: https://chromium-review.googlesource.com/592531
      Commit-Queue: Mircea Trofin <mtrofin@chromium.org>
      Reviewed-by: 's avatarBen Titzer <titzer@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#47229}
      f9d4090b
    • jing.bao's avatar
      [ia32] Add psignb/w/d and AVX version · 9359dc4d
      jing.bao authored
      Reconstruct pshufb using macro
      
      Bug: 
      Change-Id: I5556ce1108378fc7a7658443cd09c3f676c16aa7
      Reviewed-on: https://chromium-review.googlesource.com/603907Reviewed-by: 's avatarBill Budge <bbudge@chromium.org>
      Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
      Commit-Queue: Bill Budge <bbudge@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#47228}
      9359dc4d
    • Clemens Hammacher's avatar
      [wasm] Fix data type in decoder · fc574b16
      Clemens Hammacher authored
      We are only calling {checkAvailable} with uint32_t, thus the type
      received should also be uint32_t. This also gives better error messages
      for integers >kMaxInt.
      
      R=titzer@chromium.org
      
      Change-Id: I40655b80dcc601e05fbb0c92cedba72ca806e2b3
      Reviewed-on: https://chromium-review.googlesource.com/605893
      Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      Reviewed-by: 's avatarBen Titzer <titzer@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#47227}
      fc574b16
    • Ivica Bogosavljevic's avatar
      MIPS[64]: Add simulation support for MIPS SIMD MI10 instruction group · c0a632b3
      Ivica Bogosavljevic authored
      Add support for the simulation of MIPS SIMD MI10 instruction group,
      which included Load Vector and Store Vector instructions. Add
      corresponding test for these instructions.
      
      Bug: 
      Change-Id: I7cbc9d8dff2a779d9a716f539cd9a2bbb8ac694a
      Reviewed-on: https://chromium-review.googlesource.com/595567Reviewed-by: 's avatarMiran Karić <Miran.Karic@imgtec.com>
      Commit-Queue: Ivica Bogosavljevic <ivica.bogosavljevic@imgtec.com>
      Cr-Commit-Position: refs/heads/master@{#47226}
      c0a632b3
    • Adam Klein's avatar
      [parser] Remove never-triggered null check in AddParameterInitializationBlock() · 6cd7fcd2
      Adam Klein authored
      Change-Id: I3f150ef3424cb28c89db6ef8fcb1a3340a8ff8b1
      Reviewed-on: https://chromium-review.googlesource.com/604725Reviewed-by: 's avatarMarja Hölttä <marja@chromium.org>
      Commit-Queue: Adam Klein <adamk@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#47225}
      6cd7fcd2