dev-cpp/highway: remove unused patch(es)

Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/29782
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Michael Mair-Keimberger
2023-02-25 10:09:54 +02:00
committed by Joonas Niilola
parent 5985a74941
commit 6b09c28299
@@ -1,17 +0,0 @@
https://github.com/google/highway/commit/daf441c78191b3433410498d27a5bfdfdf93a142
diff --git a/hwy/targets.cc b/hwy/targets.cc
index 2a0ab4ef..7e7e2d79 100644
--- a/hwy/targets.cc
+++ b/hwy/targets.cc
@@ -328,8 +328,8 @@ uint32_t SupportedTargets() {
if (!IsBitSet(xcr0, 2)) {
bits &= ~uint32_t(HWY_AVX2 | HWY_AVX3 | HWY_AVX3_DL);
}
- // ZMM + opmask
- if ((xcr0 & 0x70) != 0x70) {
+ // opmask, ZMM lo/hi
+ if (!IsBitSet(xcr0, 5) || !IsBitSet(xcr0, 6) || !IsBitSet(xcr0, 7)) {
bits &= ~uint32_t(HWY_AVX3 | HWY_AVX3_DL);
}
}