From a37d89a7d5d7929795fdbfabfd7c91a06a5bb192 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Sat, 7 Oct 2023 21:25:13 -0700 Subject: [PATCH] HostFeatures: Disable AFP until verified that it is working Need to audit scalar instruction usage to ensure all uses are okay with garbage in the upper bits. --- FEXCore/Source/Interface/Core/HostFeatures.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/FEXCore/Source/Interface/Core/HostFeatures.cpp b/FEXCore/Source/Interface/Core/HostFeatures.cpp index 7dae9455c..88556eda5 100644 --- a/FEXCore/Source/Interface/Core/HostFeatures.cpp +++ b/FEXCore/Source/Interface/Core/HostFeatures.cpp @@ -243,6 +243,9 @@ HostFeatures::HostFeatures() { SupportsBMI2 = true; SupportsCLWB = true; + // TODO: AFP is disabled until the scalar usage in the codebase can be audited to be working as expected. + SupportsAFP = false; + if (!SupportsAtomics) { WARN_ONCE_FMT("Host CPU doesn't support atomics. Expect bad performance"); }