Read only miror of the eden emulator
Find a file
lizzie be972d7fdc
[dynarmic] Remove redundant constant pool ops (#4516)
Simplifies logic for adding constants to pool. Since std::pair<T,U>
is hash-able by boost::hash, and `std::array` (u128) has better cgen than `std::pair`.
I felt inclined to use std::pair for the map and u128 for the span (as later on I plan to
use vector_size(16) to make it unto a proper 128-bit primitive).

Another note is that I noticed a lot of collisions (especially on heavy games).
I used boost::hash as this seemed to reduce the number of them drastically.

Signed-off-by: lizzie <lizzie@eden-emu.dev>

- [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions).
- [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md)
- [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md) to the best of my ability.

-------------------

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4516
Reviewed-by: crueter <crueter@eden-emu.dev>
2026-11-01 21:46:19 +01:00
.ci [tools] refactor, use #!/bin/sh, update license files (#3998) 2026-05-22 21:15:31 +02:00
.forgejo/workflows [ci] Only update translations once a week (#4256) 2026-08-08 05:46:52 +02:00
.github [meta] Add FUNDING.yml (#4613) 2026-11-01 05:16:02 +01:00
.patch [ports/*] Fix cross-compilation issues (#4493) 2026-11-01 03:12:55 +01:00
.reuse [qt] nuke game compat list (again) (#4201) 2026-07-12 09:32:11 +02:00
.tx [cmake] feat: FFmpeg CI, allow 16kb android builds, update translations for transifex (#2543) 2025-09-23 19:38:11 +02:00
CMakeModules [cmake] fix macOS compilation by forcing lz4 to be static (#4540) 2026-10-16 21:41:11 +02:00
dist [dist] reoptimize assets, and add svg optimization (#4537) 2026-11-01 21:45:45 +01:00
docs [dist] reoptimize assets, and add svg optimization (#4537) 2026-11-01 21:45:45 +01:00
externals [ports/*] Fix cross-compilation issues (#4493) 2026-11-01 03:12:55 +01:00
hooks [tools] refactor, use #!/bin/sh, update license files (#3998) 2026-05-22 21:15:31 +02:00
LICENSES general: fix trailing whitespace 2024-01-08 09:34:32 -05:00
src [dynarmic] Remove redundant constant pool ops (#4516) 2026-11-01 21:46:19 +01:00
tools [dist] reoptimize assets, and add svg optimization (#4537) 2026-11-01 21:45:45 +01:00
.codespellrc core: refactor emulated cpu core activation 2023-12-04 10:37:16 -05:00
.git-blame-ignore-revs Skip git blame 2023-11-04 18:26:49 +00:00
.gitattributes
.gitignore [chore] re-add out/ to .gitignore (#4578) 2026-10-26 16:23:23 +01:00
.shellcheckrc [tools, cmake] refactor: update/hash check scripts, use tags for some more deps, proper CPMUtil separation (#2666) 2025-10-05 03:04:53 +02:00
AGENTS.md [docs] Add site policy, disallow AI-written PRs/issues and spam (#4612) 2026-11-01 03:19:27 +01:00
CMakeLists.txt [cmake] Use a debloated boost distribution (#4198) 2026-09-15 07:22:23 +02:00
CONTRIBUTING.md [docs] Add site policy, disallow AI-written PRs/issues and spam (#4612) 2026-11-01 03:19:27 +01:00
cpmfile.json [ports/*] Fix cross-compilation issues (#4493) 2026-11-01 03:12:55 +01:00
Doxyfile
LICENSE.txt
README.md [docs] Various grammar fixes, fix dead links, update deps.md, merge RDOC into Debug.md (#4315) 2026-09-01 06:45:47 +02:00
shell.nix Revert "[audio] Replace libopus with FFmpeg (#4169)" (#4419) 2026-09-14 14:34:24 +02:00


Eden
Eden

Eden is a free and open-source (FOSS) Switch 1 emulator started by developer Camille LaVey.
Written in C++, with builds for Windows, Linux, macOS, Android, FreeBSD and more.

Discord Stoat

Compatibility | Development | Building | Download | Support | License

Compatibility

The emulator is capable of running most commercial games at full speed, provided you meet the necessary hardware requirements.

A list of supported games will be available in future. Please be patient.

Check out our website for the latest news on exciting features, monthly progress reports, and more!

Packaging status

Contribute

To contribute to Eden; be it financially, code, bug reports, or otherwise, see our Contributing guidelines.

Documentation

We have a user manual! See our User Handbook.

Building

See the General Build Guide

For information on provided development tooling, see the Tools directory

Download

You can download the latest releases from our release page.

Save us some bandwidth! We have mirrors available as well.

License

Eden is licensed under the GPLv3 (or any later version). Refer to the LICENSE.txt file.

Special thanks

Super special thanks to Cloudflare for preventing the git server from blowing up.

  • Yuzu
  • Ryujinx
  • Sudachi
  • Citron
  • Torzu
  • Suyu
  • Ryubing

And everyone who continues or had contributed to the project! <3