diff options
| author | RedBlackAka <redblackaka@eden-emu.dev> | 2026-05-20 19:11:09 +0200 |
|---|---|---|
| committer | crueter <crueter@eden-emu.dev> | 2026-05-20 19:11:09 +0200 |
| commit | 2a66b40267db6ebcea0cd36a7111abcf85af876f (patch) | |
| tree | 93bd30b18ba81e99d3cf7ca2ad3184a0b0185f37 /src/qt_common/qt_common.cpp | |
| parent | feb8c5f88eae046c1b76f46e4fa103a844fb0f23 (diff) | |
[common/cpu_detect] Remove SSE/SSE2/FMA4/AVX_VNNI detection (#3979)
Removes Eden's own feature detection for SSE, SSE2, FMA4 and AVX_VNNI, in order to clean up code and make the function slightly lighter. They are all unused and I have specific reasons for their removal:
- SSE/SSE2 are always true for x64
- FMA4 is a deprecated AMD exclusive extension, replaced by the regular FMA and was logged here as "FMA" for no reason
- AVX_VNNI simply does not seem applicable for Eden (but can still be checked for through Xbyak's feature detection if necessary)
Co-authored-by: RedBlackAka <140876408+RedBlackAka@users.noreply.github.com>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3979
Reviewed-by: Lizzie <lizzie@eden-emu.dev>
Reviewed-by: crueter <crueter@eden-emu.dev>
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Diffstat (limited to 'src/qt_common/qt_common.cpp')
| -rw-r--r-- | src/qt_common/qt_common.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt_common/qt_common.cpp b/src/qt_common/qt_common.cpp index 0a134d5047..753c537736 100644 --- a/src/qt_common/qt_common.cpp +++ b/src/qt_common/qt_common.cpp @@ -223,7 +223,7 @@ void Init(QWidget* root) { } else if (caps.avx2) { cpu_string += '2'; } - if (caps.fma || caps.fma4) { + if (caps.fma) { cpu_string += " | FMA"; } } |
