summaryrefslogtreecommitdiff
path: root/include/tools/cpuid.hxx
diff options
context:
space:
mode:
authordante <dante19031999@gmail.com>2021-08-26 13:51:55 +0200
committerEike Rathke <erack@redhat.com>2021-08-26 16:34:09 +0200
commitb0bf212fb90708edb8f7c092240d31eacacc8455 (patch)
tree9ac7392c3caef2d5e7d740024dcb6506175a9489 /include/tools/cpuid.hxx
parentb3f3f0cb2a5ea7873349f733b55e41c1cbc671dc (diff)
Correction on cpui flags
Change-Id: I34781d98f614c1d5df97460fc2e7b59be3bb6512 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121090 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
Diffstat (limited to 'include/tools/cpuid.hxx')
-rw-r--r--include/tools/cpuid.hxx4
1 files changed, 2 insertions, 2 deletions
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 {