mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-16 10:26:58 +02:00
[dynarmic, macroHLE] Use faster ankerl for xbyak maps (#3716)
the nominal std::unordered_map<> isn't enough to warrant it's continued usage in xbyak internal structures, thus using ankerl should greatly remove a lot of indirection/stdc++ specific overhead from the usually poorly performant std::unordered_map Both dynarmic and macroHLE should benefit greatly from a less-stupid unordered_dense This should speedup both CPU and shader compilation latency (NOT BY A GREAT MARGIN) just enough to make loading zones in ToTK less horrific Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3716 Reviewed-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
parent
413c7543ba
commit
2f0f8a979c
11 changed files with 93 additions and 95 deletions
|
|
@ -11,17 +11,9 @@
|
|||
|
||||
#include <fstream>
|
||||
#include <variant>
|
||||
|
||||
#ifdef ARCHITECTURE_x86_64
|
||||
// xbyak hates human beings
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic ignored "-Wconversion"
|
||||
#pragma GCC diagnostic ignored "-Wshadow"
|
||||
#endif
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic ignored "-Wconversion"
|
||||
#pragma clang diagnostic ignored "-Wshadow"
|
||||
#endif
|
||||
#include <xbyak/xbyak.h>
|
||||
#include "common/x64/xbyak.h"
|
||||
#endif
|
||||
|
||||
#include "common/assert.h"
|
||||
|
|
@ -39,10 +31,6 @@
|
|||
#include "common/assert.h"
|
||||
#include "common/bit_field.h"
|
||||
#include "common/logging.h"
|
||||
#ifdef ARCHITECTURE_x86_64
|
||||
#include "common/x64/xbyak_abi.h"
|
||||
#include "common/x64/xbyak_util.h"
|
||||
#endif
|
||||
#include "video_core/engines/maxwell_3d.h"
|
||||
|
||||
namespace Tegra {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue