| Filename | Latest commit message | Latest commit date |
|---|---|---|
Switch 2 titles are built for a Cortex-A78C class core. Scanning one title's .text with dynarmic's own decoder table found ~115k RETAB, ~37k LDAPR, ~25k LSE atomics, ~6.6k CAS, ~2.5k SWP plus a few CASP/XPAC/PAC/STG, none of which dynarmic decoded (only the declarations existed). - LSE atomics, SWP, CAS, CASP: exclusive load + op + exclusive store; on store failure no register is written and the instruction is retried (CheckBit terminal), so it stays atomic across cores. - LDAPR: ordered load, like LDAR. - Pointer authentication: identity (nothing is ever signed). RETAA/RETAB, BRA*/BLRA*, LDRAA/LDRAB, PAC*/AUT*/XPAC*, PACGA. - MTE: tags are always 0; STG/ST2G only write back, STZG/STZ2G zero the granules, STGP stores the pair, IRG/GMI/ADDG/SUBG ignore tags. tools/nx2/a64_coverage.py reports which encodings in an NSO's .text the decoder table does not match. |
||
| .. | ||
| cpm | ||
| maxwell-disas | ||
| maxwell-ir | ||
| maxwell-spirv | ||
| nx2 | ||
| translations | ||
| windows | ||
| clang-format.sh | ||
| cpm-fetch-all.sh | ||
| cpmutil.sh | ||
| cpp-lint.sh | ||
| dtrace-tool.pl | ||
| fuzzsettings.cpp | ||
| fuzzsettings.sh | ||
| gendynarm.cpp | ||
| generate_converters.py | ||
| lanczos-gen.pl | ||
| llvmpipe-run.sh | ||
| optimize-assets.sh | ||
| README.md | ||
| shellcheck.sh | ||
| stale-translations.sh | ||
| svc_generator.py | ||
| unused-strings.sh | ||
| update-icons.sh | ||
| VectorDrawable2Svg.py | ||
Tools
Tools for Eden and other subprojects. When adding new scripts please use #!/bin/sh -e or #!/usr/bin/env <interpreter> (for .py, .rb, or .perl). Keep scripts POSIX compliant (i.e not require hard bash to run, just plain old sh).
Third-Party
Binaries
maxwell-spirv: Converts Maxwell shaders (dumped from.ashfiles) into SPIR-V code (emitted into STDOUT).maxwell-disas: Dumb raw Maxwell disassembler.maxwell-ir: Dump generated IR of Maxwell shaders.
Scripts
generate_converters.py: Generates converters for given formats of textures (C++ helper).svc_generator.py: Generates the filessrc/core/hle/kernel/svc.cppandsrc/core/hle/kernel/svc.hbased off prototypes.shellcheck.sh: Ensure POSIX compliance (and syntax sanity) for all tools in this directory and subdirectories.llvmpipe-run.sh: Sets environment variables needed to run any command (or Eden) with llvmpipe.optimize-assets.sh: Optimizes PNG assets with OptiPng.update-cpm.sh: Updates CPM.cmake to the latest version.update-icons.sh: Rebuild all icons (macOS, Windows, bitmaps) based on the master SVG file (dist/dev.eden_emu.eden.svg)- Also optimizes the master SVG
- Requires:
png2icns(libicns), ImageMagick,svgo
dtrace-tool.shlanczos-gen.pl: Generates constants for the Lanczos filter.clang-format.sh: Runsclang-formaton the entire codebase.- Requires: clang
find-unused-strings.sh: Find any unused strings in the Android app (XML -> Kotlin).cpp-lint.sh: Homemade dumb C++ linter.fuzzsettings.cpp: Fuzz settings files.
Android
It's recommended to run these scripts after almost any Android change, as they are relatively fast and important both for APK bloat and CI.
unused-strings.sh: Finds unused strings instrings.xmlfiles.stale-translations.sh: Finds translated strings that aren't present in the sourcestrings.xmlfile.