summary refs log tree commit diff stats
path: root/results/scraper/fex/3472
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-07-17 09:10:43 +0200
committerChristian Krinitsin <mail@krinitsin.com>2025-07-17 09:10:43 +0200
commitf2ec263023649e596c5076df32c2d328bc9393d2 (patch)
tree5dd86caab46e552bd2e62bf9c4fb1a7504a44db4 /results/scraper/fex/3472
parent63d2e9d409831aa8582787234cae4741847504b7 (diff)
downloadqemu-analysis-main.tar.gz
qemu-analysis-main.zip
add downloaded fex bug-reports HEAD main
Diffstat (limited to 'results/scraper/fex/3472')
-rw-r--r--results/scraper/fex/347231
1 files changed, 31 insertions, 0 deletions
diff --git a/results/scraper/fex/3472 b/results/scraper/fex/3472
new file mode 100644
index 000000000..8d0217280
--- /dev/null
+++ b/results/scraper/fex/3472
@@ -0,0 +1,31 @@
+Skyrim SE: Hottest blocks
+Skyrim SE's hottest blocks are really hot atomic loop blocks:

+1- 6.83% of primary thread

+```

+6ffffd37ad33  89f8               mov     eax, edi  {0x1}

+6ffffd37ad35  8706               xchg    dword [rsi], eax  {0x1}

+6ffffd37ad37  85c0               test    eax, eax

+6ffffd37ad39  7555               jne     0x6ffffd37ad90

+```

+

+2- 5.12% of primary thread

+```

+6ffffd4a8300  488d410c           lea     rax, [rcx+0xc]

+6ffffd4a8304  f0ff08             lock dec dword [rax]

+6ffffd4a8307  7407               je      0x6ffffd4a8310

+```

+

+3- 5.03% of primary thread

+```

+6ffffd4405f7  lea     rax, [rcx+0xc]

+6ffffd4405fb  lock dec dword [rax]

+6ffffd4405fe  jne     0x6ffffd44060d

+```

+lock dec at the very least can optimize away a mov+neg combination in to a mov. Looking at instcountci.

+https://github.com/FEX-Emu/FEX/blob/d24446ed139b6740d5e606ddc05b7028b5fecaf8/unittests/InstructionCountCI/FlagM/Atomics.json#L1412

+

+

+These three blocks are totaling 16.98% of CPU time on the primary thread on Cortex-A78AE. All coming from d3d11.dll in DXVK.

+

+4- 2.7% - RIP: 0x1414df7c7 - SkyrimSE.exe

+- Encrypted EXE, needs investigation