summaryrefslogtreecommitdiff
path: root/Source/Core/Common/ArmCPUDetect.cpp
AgeCommit message (Collapse)Author
2025-01-22ArmCPUDetect: Add OpenBSD support for elf_aux_infoBrad Smith
2024-09-22StringUtil: Remove `JoinStrings`mitaclaw
With 12 uses of `JoinStrings` in the codebase vs 36 uses of `fmt::join`, fmtlib's range adapter for string concatenation with delimiters is clearly the preferred option.
2024-05-22Add OpenBSD/arm64 support.Brad Smith
Fix building on OpenBSD/arm64 and add CPU feature detection.
2023-01-24Common: Replace StringBeginsWith/StringEndsWith with std equivalentsLioncash
Obsoletes these functions in favor of the standard member functions added in C++20.
2023-01-17windows: prefer os version from registryShawn Hoffman
this value is not modified by compatibility mode drop reporting service pack numbers. no longer used
2022-07-25CPUDetect: improve win/arm64 supportShawn Hoffman
read brand_string on macos/arm64 remove unused flags report family/model info instead of vendor name
2021-12-10Treewide: Adjust order of includesPokechu22
2021-07-05treewide: convert GPLv2+ license info to SPDX tagsPierre Bourdon
SPDX standardizes how source code conveys its copyright and licensing information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX tags are adopted in many large projects, including things like the Linux kernel.
2021-06-14Common: Set bFMA to true for AArch64JosJuice
Without this, the code added in ac28b89 misbehaves and considers AArch64 netplay clients to not have hardware FMA support, telling all clients to disable FMA support, which causes a desync between x64 and AArch64 due to JitArm64 not being able to disable FMA support.
2021-06-02JitArm64: Set FPCR.AHJosJuice
Only tested on a CPU which does not support FEAT_AFP.
2021-05-22Apple M1: Refactor ArmCPUDetect.cppSkyler Saleh
Merges two nested #ifndefs into a single #if around hw cap includes.
2021-05-22Apple M1 Support for MacOSSkyler Saleh
This commit adds support for compiling Dolphin for ARM on MacOS so that it can run natively on the M1 processors without running through Rosseta2 emulation providing a 30-50% performance speedup and less hitches from Rosseta2. It consists of several key changes: - Adding support for W^X allocation(MAP_JIT) for the ARM JIT - Adding the machine context and config info to identify the M1 processor - Additions to the build system and docs to support building universal binaries - Adding code signing entitlements to access the MAP_JIT functionality - Updating the MoltenVK libvulkan.dylib to a newer version with M1 support
2021-04-25Implement ArmFPURoundMode.cppJosJuice
Fixes https://bugs.dolphin-emu.org/issues/12388. Might also fix other games that have problems with float/paired instructions in JitArm64, but I haven't tested any.
2020-08-27Add support for FreeBSD/arm64Kate
2019-12-28Compile fixes for Windows-on-ARM64Stenzek
2019-06-14Common: Use fmt where applicableLioncash
Begins the transition to using fmt for string formatting where applicable. Given fmt supports formatting std::string instances out of the box, we can remove now-unnecessary calls to .c_str() and .data(). Note that this change does not touch the actual logging subsystem aside from converting the final StringFromFormat call in the process over to fmt::format. Given our logging system is heavily used throughout the entire codebase, and converting that over will be quite a large change by itself, this will be tackled near the end of the conversion process.
2018-04-01CPUDetect: Make CPUVendor enum an enum classLioncash
Avoids dumping the enum contents into the global namespace.
2017-12-05Don't use wrong encoding for paths when opening streams on WindowsJosJuice
2017-04-21ArmCPUDetect: Add missing includeMerryMage
<cstring> is required for strncpy
2016-06-24Reformat all the things. Have fun with merge conflicts.Pierre Bourdon
2015-12-22Including missing headers required for non-pch builds and other architecturesRyan Houdek
2015-06-13[AArch64] Clean up our CPUDetect.Ryan Houdek
Drops ARMv7 feature detection.
2015-06-08[AArch64] Detect AES/SHA1/SHA2/CRC32 in CPUDetect.Ryan Houdek
2015-05-25Set copyright year to when a file was createdTillmann Karras
2015-05-25Update license headers to GPLv2+Tillmann Karras
2015-01-12Minor consistency changesStevoisiak
Mostly small changes, like capitalization and spelling
2014-10-25Fixes ARM CPU detection routine for the hardware.Ryan Houdek
We weren't dropping a newline character from the string, we were cutting off the last character of the hardware name. This fixes my TK1 being called 'lagun' when it's name is 'laguna'
2014-09-22Android: Silence some more warnings.Rohit Nirmal
2014-09-08Include CommonTypes.h instead of Common.h.Rohit Nirmal
2014-06-15Try to fix android build.magumagu
2014-06-02Stringify ArmCPUDetect.cpp.Lioncash
2014-06-01Fix a crash in ARM's CPUDetect on a malformed /proc/cpuinfo.Ryan Houdek
If a CPU string was incapable of being found we would return a null pointer, which would crash with strncpy. Also if we couldn't get a CPU implementer we would call free() to a null pointer. In addition, detect 64bit ARM running.
2014-03-09clang-modernize -use-nullptrTillmann Karras
and s/\bNULL\b/nullptr/g for *.cpp/h/mm files not compiled on my machine
2014-02-22Make Common/ mostly IWYU clean (and fix errors in rest of the project ↵Pierre Bourdon
detected by this change).
2014-02-18Convert all includes to relative paths.Lioncash
2013-12-31Remove unnecessary Src/ foldersJasper St. Pierre