Skip to content

Version 0.21

Choose a tag to compare

@ttom795 ttom795 released this 25 Oct 21:50
· 5 commits to main since this release
11be65b

Skyrim Android 0.21

APK: Skyrim-0.21.apk (arm64-v8a, Android 9+, Vulkan 1.1).

Changes (major performance increase)

  • Cached indirect calls. About 99,000 call sites that go through vtables and function pointers now keep their last target in a per-site cache. On a hit, the call is one compare plus a direct call, not a hash lookup in the dispatcher.
  • Relaxed memory ordering. In 0.17, TSO emulation made every non-stack guest load and store an ldar/stlr. They're now plain (volatile) accesses, which the CPU can reorder and pipeline freely.

If it crashes

  • Put an empty file port/save/singlecore.txt in the Skyrim folder. All game threads then run on one core, which is safe with any memory ordering.
  • A source build with -DLB_STRICT_ORDER=ON brings back the 0.20 ordering.