7760112e01
References: https://lwn.net/Articles/638566/ https://v8.dev/docs/linux-perf https://cs.chromium.org/chromium/src/v8/src/diagnostics/perf-jit.cc https://lore.kernel.org/patchwork/patch/622240/ Usage: ninja -C out dm nanobench perf record -k 1 out/nanobench -m SkVM_4096_I32\$ perf inject -j -i perf.data -o perf.data.jit perf report -i perf.data.jit Percent│ │ │ │ Disassembly of section .text: │ │ 0000000000000040 <skvm-jit-8e8f2c67>: │ skvm-jit-8e8f2c67(): │ vbroadcastss 0xd3(%rip),%ymm0 # 11c <skvm-jit-8e8f2c67+0xdc> 0.35 │ 9: vmovups (%rsi),%ymm1 1.54 │ vandps %ymm0,%ymm2,%ymm2 3.41 │ vpsrld $0x8,%ymm1,%ymm3 0.26 │ vandps %ymm0,%ymm3,%ymm3 0.55 │ vpsrld $0x10,%ymm1,%ymm4 1.63 │ vandps %ymm0,%ymm4,%ymm4 2.84 │ vpsrld $0x18,%ymm1,%ymm1 0.46 │ vandps %ymm0,%ymm1,%ymm1 0.17 │ vmovups (%rdx),%ymm5 1.51 │ vandps %ymm0,%ymm6,%ymm6 3.31 │ vpsrld $0x8,%ymm5,%ymm7 0.38 │ vandps %ymm0,%ymm7,%ymm7 0.28 │ vpsrld $0x10,%ymm5,%ymm8 2.30 │ vandps %ymm0,%ymm8,%ymm8 3.32 │ vpsrld $0x18,%ymm5,%ymm5 0.47 │ vandps %ymm0,%ymm5,%ymm5 0.64 │ vpsubd %ymm1,%ymm0,%ymm9 12.49 │ vpmulld %ymm9,%ymm6,%ymm6 1.19 │ vpaddd %ymm6,%ymm6,%ymm6 8.75 │ vpsrad $0x8,%ymm6,%ymm6 1.40 │ vpaddd %ymm2,%ymm6,%ymm6 1.42 │ vpmulld %ymm9,%ymm7,%ymm7 4.06 │ vpaddd %ymm7,%ymm7,%ymm7 2.55 │ vpsrad $0x8,%ymm7,%ymm7 2.14 │ vpaddd %ymm3,%ymm7,%ymm7 2.57 │ vpmulld %ymm9,%ymm8,%ymm8 1.28 │ vpaddd %ymm8,%ymm8,%ymm8 2.85 │ vpsrad $0x8,%ymm8,%ymm8 0.41 │ vpaddd %ymm4,%ymm8,%ymm8 2.52 │ vpmulld %ymm9,%ymm5,%ymm9 3.88 │ vpaddd %ymm5,%ymm9,%ymm9 1.90 │ vpsrad $0x8,%ymm9,%ymm9 2.83 │ vpaddd %ymm1,%ymm9,%ymm9 1.43 │ vpslld $0x8,%ymm7,%ymm7 4.35 │ vorps %ymm6,%ymm7,%ymm7 3.08 │ vpslld $0x8,%ymm9,%ymm9 1.71 │ vorps %ymm8,%ymm9,%ymm9 3.58 │ vpslld $0x10,%ymm9,%ymm9 3.37 │ vorps %ymm7,%ymm9,%ymm9 1.01 │ vmovups %ymm9,(%rdx) 0.37 │ sub $0x8,%rdi 1.73 │ add $0x20,%rsi 3.27 │ add $0x20,%rdx │ cmp $0x7,%rdi 0.40 │ ↑ jg 9 │ vzeroupper 0.05 │ ← retq │ xchg %ax,%ax │ incl (%rax) │ ... Change-Id: Ibac83c92748139f7579c198ff09edf5564d2138e Reviewed-on: https://skia-review.googlesource.com/c/skia/+/220316 Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Mike Klein <mtklein@google.com> |
||
---|---|---|
animations | ||
bench | ||
bin | ||
dm | ||
docker | ||
docs/examples | ||
example | ||
experimental | ||
fuzz | ||
gm | ||
gn | ||
include | ||
infra | ||
modules | ||
platform_tools | ||
resources | ||
samplecode | ||
site | ||
specs | ||
src | ||
tests | ||
third_party | ||
tools | ||
.clang-format | ||
.clang-tidy | ||
.gitignore | ||
.gn | ||
AUTHORS | ||
BUILD.gn | ||
codereview.settings | ||
CONTRIBUTING | ||
CQ_COMMITTERS | ||
DEPS | ||
go.mod | ||
go.sum | ||
LICENSE | ||
OWNERS | ||
PRESUBMIT.py | ||
public.bzl | ||
README | ||
README.chromium | ||
whitespace.txt |
Skia is a complete 2D graphic library for drawing Text, Geometries, and Images. See full details, and build instructions, at https://skia.org.