aboutsummaryrefslogtreecommitdiff
path: root/src/dynarmic/tests/x64_cpu_info.cpp
diff options
context:
space:
mode:
authorlizzie <lizzie@eden-emu.dev>2026-05-15 22:07:45 +0200
committercrueter <crueter@eden-emu.dev>2026-05-15 22:07:45 +0200
commit2f0f8a979c88b1ded8b5cce9f9bee1a59bb2508c (patch)
treeab83030366f04aca746857d8c4275dd038a31fe1 /src/dynarmic/tests/x64_cpu_info.cpp
parent413c7543ba25407f79226ba5e3f2f88d0ae63501 (diff)
[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>
Diffstat (limited to 'src/dynarmic/tests/x64_cpu_info.cpp')
-rw-r--r--src/dynarmic/tests/x64_cpu_info.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/dynarmic/tests/x64_cpu_info.cpp b/src/dynarmic/tests/x64_cpu_info.cpp
index 8e67f0fc39..a33d8c013f 100644
--- a/src/dynarmic/tests/x64_cpu_info.cpp
+++ b/src/dynarmic/tests/x64_cpu_info.cpp
@@ -1,3 +1,6 @@
+// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
+
/* This file is part of the dynarmic project.
* Copyright (c) 2020 MerryMage
* SPDX-License-Identifier: 0BSD
@@ -11,7 +14,7 @@
#include <utility>
#include <catch2/catch_test_macros.hpp>
-#include <xbyak/xbyak_util.h>
+#include "dynarmic/backend/x64/xbyak.h"
TEST_CASE("Host CPU supports", "[a64]") {
using Cpu = Xbyak::util::Cpu;