[Libreoffice-commits] core.git: include/tools
dante (via logerrit)
logerrit at kemper.freedesktop.org
Thu Aug 26 14:34:43 UTC 2021
include/tools/cpuid.hxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit b0bf212fb90708edb8f7c092240d31eacacc8455
Author: dante <dante19031999 at gmail.com>
AuthorDate: Thu Aug 26 13:51:55 2021 +0200
Commit: Eike Rathke <erack at redhat.com>
CommitDate: Thu Aug 26 16:34:09 2021 +0200
Correction on cpui flags
Change-Id: I34781d98f614c1d5df97460fc2e7b59be3bb6512
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121090
Reviewed-by: Eike Rathke <erack at redhat.com>
Tested-by: Jenkins
diff --git a/include/tools/cpuid.hxx b/include/tools/cpuid.hxx
index 98dca497a7de..0fb1d5b8e965 100644
--- a/include/tools/cpuid.hxx
+++ b/include/tools/cpuid.hxx
@@ -27,13 +27,13 @@ enum class InstructionSetFlags
SSE42 = 0x10,
AVX = 0x20,
AVX2 = 0x40,
- AVX512F = 0x100
+ AVX512F = 0x80
};
} // end cpuid
namespace o3tl {
- template<> struct typed_flags<cpuid::InstructionSetFlags> : is_typed_flags<cpuid::InstructionSetFlags, 0x07f> {};
+ template<> struct typed_flags<cpuid::InstructionSetFlags> : is_typed_flags<cpuid::InstructionSetFlags, 0x0ff> {};
}
namespace cpuid {
More information about the Libreoffice-commits
mailing list