1. 06 Jul, 2016 1 commit
  2. 04 Jul, 2016 1 commit
  3. 01 Jul, 2016 1 commit
  4. 30 Jun, 2016 8 commits
  5. 28 Jun, 2016 2 commits
  6. 27 Jun, 2016 2 commits
    • ssanfilippo's avatar
      This commit is the first step towards emitting unwinding information in · 7d073b03
      ssanfilippo authored
      the .eh_frame format as part of the jitdump generated when
      FLAG_perf_prof is enabled. The final goal is allowing precise unwinding
      of callchains that include JITted code when profiling V8 using perf.
      
      Unwinding information is stored in the body of code objects after the
      code itself, prefixed with its length and aligned to a 8-byte boundary.
      A boolean flag in the header signals its presence, resulting in zero
      memory overhead when the generation of unwinding info is disabled or
      no such information was attached to the code object.
      
      A new jitdump record type (with id 4) is introduced for specifying
      optional unwinding information for code load records. The EhFrameHdr
      struct is also introduced, together with a constructor to initialise it
      from the associated code object.
      
      At this stage no unwinding information is written to the jitdump, but
      the infrastructure for doing so is ready in place.
      
      BUG=v8:4899
      LOG=N
      
      Review-Url: https://codereview.chromium.org/1993653003
      Cr-Commit-Position: refs/heads/master@{#37296}
      7d073b03
    • machenbach's avatar
      [gn] Add remaining executables to gn · 1deca4ba
      machenbach authored
      This adds generate-bytecode-expectations and parser_shell.
      
      BUG=chromium:474921
      NOTRY=true
      
      Review-Url: https://codereview.chromium.org/2102483002
      Cr-Commit-Position: refs/heads/master@{#37287}
      1deca4ba
  7. 24 Jun, 2016 1 commit
  8. 23 Jun, 2016 2 commits
  9. 22 Jun, 2016 3 commits
    • michaelbai's avatar
      Remove natives_blob.bin's arch dependence in Android. · 8d830a5a
      michaelbai authored
      BUG=620855
      
      Review-Url: https://codereview.chromium.org/2074283002
      Cr-Commit-Position: refs/heads/master@{#37200}
      8d830a5a
    • lpy's avatar
      [Reland] Refactor CpuProfiler. · 04f710ac
      lpy authored
      Currently CpuProfiler is a subclass of CodeEventListener, it listens code events
      from Logger, constructs and stores CodeEventsContainer. This patch is part of
      the effort to split the logic of CodeEventListener as ProfilerListener out of
      the profiling functionality logic in CpuProfiler. A ProfilerListener will listen
      to code events, construct code event to CodeEventsContainer and pass it to code
      event handler.
      
      The reason we refactor CpuProfiler is that eventually we want to move
      CpuProfiler as part of sampler library and code event listener should stay
      inside V8.
      
      Main changes:
      1. Refactored CpuProfiler into two parts, the CpuProfiler with profling
      functionality and the ProfilerListener listening to code events from Logger.
      2. Created CodeEventObserver and made CpuProfiler inherit from it.
      ProfilerListener will have a list of observers and call CodeEventHandler once a
      code event is created.
      3. Moved code entry list from CodeEntry to ProfilerListener.
      
      Minor changes:
      1. Moved static code entry as part of CodeEntry.
      2. Added ProfilerListener to Logger.
      
      BUG=v8:4789
      
      Committed: https://crrev.com/cb59fc1facc9b390e2c7544b4da56a4e0a9b3222
      Review-Url: https://codereview.chromium.org/2053523003
      Cr-Original-Commit-Position: refs/heads/master@{#37112}
      Cr-Commit-Position: refs/heads/master@{#37195}
      04f710ac
    • jochen's avatar
      Add GN targets for samples · 344b9456
      jochen authored
      BUG=chromium:609107
      R=machenbach@chromium.org
      
      Review-Url: https://codereview.chromium.org/2081323004
      Cr-Commit-Position: refs/heads/master@{#37187}
      344b9456
  10. 21 Jun, 2016 1 commit
  11. 20 Jun, 2016 4 commits
    • brettw's avatar
      Windows GN build flag fixes. · 3665ae7d
      brettw authored
      This brings some more flags in line with the GYP build on Windows. In particular, this ads the SSE2 flag on x86, and the stack linker flag on x64.
      
      Review-Url: https://codereview.chromium.org/2077173002
      Cr-Commit-Position: refs/heads/master@{#37114}
      3665ae7d
    • lpy's avatar
      Revert of Refactor CpuProfiler. (patchset #13 id:240001 of... · d6be0bf6
      lpy authored
      Revert of Refactor CpuProfiler. (patchset #13 id:240001 of https://codereview.chromium.org/2053523003/ )
      
      Reason for revert:
      MIPS compilation error.
      
      Original issue's description:
      > Refactor CpuProfiler.
      >
      > Currently CpuProfiler is a subclass of CodeEventListener, it listens code events
      > from Logger, constructs and stores CodeEventsContainer. This patch is part of
      > the effort to split the logic of CodeEventListener as ProfilerListener out of
      > the profiling functionality logic in CpuProfiler. A ProfilerListener will listen
      > to code events, construct code event to CodeEventsContainer and pass it to code
      > event handler.
      >
      > The reason we refactor CpuProfiler is that eventually we want to move
      > CpuProfiler as part of sampler library and code event listener should stay
      > inside V8.
      >
      > Main changes:
      > 1. Refactored CpuProfiler into two parts, the CpuProfiler with profling
      > functionality and the ProfilerListener listening to code events from Logger.
      > 2. Created CodeEventObserver and made CpuProfiler inherit from it.
      > ProfilerListener will have a list of observers and call CodeEventHandler once a
      > code event is created.
      > 3. Moved code entry list from CodeEntry to ProfilerListener.
      >
      > Minor changes:
      > 1. Moved static code entry as part of CodeEntry.
      > 2. Added ProfilerListener to Logger.
      >
      > BUG=v8:4789
      >
      > Committed: https://crrev.com/cb59fc1facc9b390e2c7544b4da56a4e0a9b3222
      > Cr-Commit-Position: refs/heads/master@{#37112}
      
      TBR=alph@chromium.org,jochen@chromium.org,yangguo@chromium.org
      # Skipping CQ checks because original CL landed less than 1 days ago.
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      BUG=v8:4789
      
      Review-Url: https://codereview.chromium.org/2079273003
      Cr-Commit-Position: refs/heads/master@{#37113}
      d6be0bf6
    • lpy's avatar
      Refactor CpuProfiler. · cb59fc1f
      lpy authored
      Currently CpuProfiler is a subclass of CodeEventListener, it listens code events
      from Logger, constructs and stores CodeEventsContainer. This patch is part of
      the effort to split the logic of CodeEventListener as ProfilerListener out of
      the profiling functionality logic in CpuProfiler. A ProfilerListener will listen
      to code events, construct code event to CodeEventsContainer and pass it to code
      event handler.
      
      The reason we refactor CpuProfiler is that eventually we want to move
      CpuProfiler as part of sampler library and code event listener should stay
      inside V8.
      
      Main changes:
      1. Refactored CpuProfiler into two parts, the CpuProfiler with profling
      functionality and the ProfilerListener listening to code events from Logger.
      2. Created CodeEventObserver and made CpuProfiler inherit from it.
      ProfilerListener will have a list of observers and call CodeEventHandler once a
      code event is created.
      3. Moved code entry list from CodeEntry to ProfilerListener.
      
      Minor changes:
      1. Moved static code entry as part of CodeEntry.
      2. Added ProfilerListener to Logger.
      
      BUG=v8:4789
      
      Review-Url: https://codereview.chromium.org/2053523003
      Cr-Commit-Position: refs/heads/master@{#37112}
      cb59fc1f
    • bmeurer's avatar
      [builtins] Introduce proper Float64Tan operator. · c87168bc
      bmeurer authored
      Import base::ieee754::tan() from fdlibm and introduce Float64Tan TurboFan
      operator based on that, similar to what we do for Float64Cos and Float64Sin.
      Rewrite Math.tan() as TurboFan builtin and use those operators to also
      inline Math.tan() into optimized TurboFan functions.
      
      Drive-by-fix: Kill the %_ConstructDouble intrinsics, and provide only
      the %ConstructDouble runtime entry for writing tests.
      
      BUG=v8:5086,v8:5126
      R=yangguo@chromium.org
      
      Review-Url: https://codereview.chromium.org/2083453002
      Cr-Commit-Position: refs/heads/master@{#37087}
      c87168bc
  12. 17 Jun, 2016 2 commits
  13. 15 Jun, 2016 2 commits
  14. 14 Jun, 2016 1 commit
  15. 13 Jun, 2016 2 commits
    • jpp's avatar
      V8. ASM-2-WASM. New type system. · 73eacf6b
      jpp authored
      This CL introduces the new type system for the ASM
      type-checker/validator.
      
      BUG=
      
      Review-Url: https://codereview.chromium.org/2045703007
      Cr-Commit-Position: refs/heads/master@{#36942}
      73eacf6b
    • mtrofin's avatar
      [turbofan] Retiring Greedy Allocator · 8e1ccba3
      mtrofin authored
      We were able to achieve our goals for register allocation independent of
      the allocation algorithm. Performance data so far is inconclusive re. the
      value of the Greedy algorithm, compared to the particular Linear Scan
      implementation we're currently using, and the performance measurement
      techniques we currently use are too imprecise to help with this matter.
      
      Retiring the algorithm to lower maintenance and evolution cost (e.g. lower
      cost of adding aliasing support). Once we improve benchmarking stability,
      and establish a suite sensitive enough for codegen improvement studies,
      we may revive the algorithm, should the need arise.
      
      BUG=
      
      Review-Url: https://codereview.chromium.org/2060673002
      Cr-Commit-Position: refs/heads/master@{#36912}
      8e1ccba3
  16. 10 Jun, 2016 1 commit
    • bmeurer's avatar
      [builtins] Introduce proper base::ieee754::log. · d0c7775d
      bmeurer authored
      This switches Math.log to use an fdlibm based version of log, imported
      as base::ieee754::log, and use that consistently everywhere, i.e. change
      the Float64Log TurboFan operators on Intel to use the C++ implementation
      as well (same for Crankshaft).
      
      R=yangguo@chromium.org
      BUG=v8:5065,v8:5086
      
      Review-Url: https://codereview.chromium.org/2053893003
      Cr-Commit-Position: refs/heads/master@{#36880}
      d0c7775d
  17. 09 Jun, 2016 2 commits
  18. 08 Jun, 2016 1 commit
  19. 07 Jun, 2016 2 commits
  20. 04 Jun, 2016 1 commit
    • brucedawson's avatar
      Add standard Windows manifest to five v8 executables · ac03c63c
      brucedawson authored
      Many executables are missing embedded manifest files when built with gn.
      This causes OS compatibility information to be omitted which can lead
      to strange behavior. This change adds a manifest to:
      
        v8_simple_json_fuzzer.exe
        v8_simple_parser_fuzzer.exe
        v8_simple_regexp_fuzzer.exe
        v8_simple_wasm_asmjs_fuzzer.exe
        v8_simple_wasm_fuzzer.exe
      
      BUG=chromium:602505
      
      Review-Url: https://codereview.chromium.org/2040623003
      Cr-Commit-Position: refs/heads/master@{#36725}
      ac03c63c