Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/crypto++/files/, dev-libs/crypto++/
Date: Sun, 20 Feb 2022 05:51:51
Message-Id: 1645335509.8c2b2de331750a01550608034a5305a21198f32f.sam@gentoo
1 commit: 8c2b2de331750a01550608034a5305a21198f32f
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 20 05:38:29 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 20 05:38:29 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c2b2de3
7
8 dev-libs/crypto++: drop 8.2.0-r2, 8.4.0, 8.5.0
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 dev-libs/crypto++/Manifest | 4 -
13 dev-libs/crypto++/crypto++-8.2.0-r2.ebuild | 61 -----
14 dev-libs/crypto++/crypto++-8.4.0.ebuild | 53 ----
15 dev-libs/crypto++/crypto++-8.5.0.ebuild | 60 -----
16 dev-libs/crypto++/files/crypto++-8.2.0-build.patch | 271 ---------------------
17 5 files changed, 449 deletions(-)
18
19 diff --git a/dev-libs/crypto++/Manifest b/dev-libs/crypto++/Manifest
20 index 286877ceff98..a96d06c31610 100644
21 --- a/dev-libs/crypto++/Manifest
22 +++ b/dev-libs/crypto++/Manifest
23 @@ -1,6 +1,2 @@
24 -DIST cryptopp820.zip 8859815 BLAKE2B 67aa850b887ae7aa869c9485bb18784492f6eec6cb12bf7c7cf84c776731eabf3c31965b47a60287e4e5a79dd3e9f0928dcfb185a0010a76f7cb96d2c3e8c6ae SHA512 753513a4ec8dd0fff2f551853ce6bd265d82219c28b033565b565b5e567fbee17adb419f4cde58a97e62b7d6533f4099aa4996cd0ba4775c6a2e7ae63a879da5
25 -DIST cryptopp840.zip 9124180 BLAKE2B de57ece8644aef68e40527e2dfe1892f924f1939617ce11d8d27253f15f2dd11cba6e594dd32f75ce799392c12ef22472fcb2f3e44b9c66bb2ae093d4c7e781e SHA512 4c32b6a9ce8a6925286185f65f7413fa1a430471f09624219656b1d088674c56f95fcc3b64f611632f12cb56dfecdcd41c9d1468942b8c391425a548245dde09
26 -DIST cryptopp850.zip 9125575 BLAKE2B 857a65d63d17a3447d3cbd8370f9d750c480a9734c79739550b1ec7a6da3e7183af5748c2dfa5127be3810d73960af2f3b09b4b2bf4e624a43bfc4357ecde12b SHA512 090472545c74bbf0579b56b09e8b5dcd777b38f29f7199a2e68f45d4a8c687acc82f105ba8b2a38f9aa65e5997a3d846aaf2341ab74d58b4bbfd1f5f03823b93
27 -DIST cryptopp850.zip.sig 659 BLAKE2B e56d059069aa233b11dd1dd2c555ba8b9b0d12474d4f5ec9057e626ad22449959b9474ccf9ce553a2507f50215b669cf4b90cab6b51697559a6ffb95d41da9ec SHA512 7b59fbeb14fea942c846573c7bf8e76d6cee86aca4b605ce06323bc6f5549232285864cd735c2a882ca4df3d93747436a5268fee63dbf8eb43c503143b660e63
28 DIST cryptopp860.zip 9274149 BLAKE2B c93998e2deb93abf12b801877404f0f82547bfbbbc5aae727e68daffc2407877dda76d7bcd06239d40a48baf21b6f2e29f74e9a97ecbc1b5d4b5bcc50ada71da SHA512 e7773f5e4a7dc7e8e735b1702524bee56ba38e5211544c9c9778bc51ed8dc7b376c17f2e406410043b636312336f26f76dc963f298872f8c13933e88c232fc03
29 DIST cryptopp860.zip.sig 659 BLAKE2B 591a535092c61964c0fbb1ba31e44e70fc5f15757b9b56476ff64de0c28d47a13fe99d7f5819cfeb52e514ade1454622451b267bcc751868defcb080ddf79e8c SHA512 6231816b1ccec75cbcdd09daa8895830c5f4c595a4a0aa24dacc3e377832d8db5efa1aeadf815e53db32fc5263b09dd1b249668f34da4bfad5d5cba6f031ce21
30
31 diff --git a/dev-libs/crypto++/crypto++-8.2.0-r2.ebuild b/dev-libs/crypto++/crypto++-8.2.0-r2.ebuild
32 deleted file mode 100644
33 index a52ee90857ea..000000000000
34 --- a/dev-libs/crypto++/crypto++-8.2.0-r2.ebuild
35 +++ /dev/null
36 @@ -1,61 +0,0 @@
37 -# Copyright 1999-2021 Gentoo Authors
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI=7
41 -
42 -inherit toolchain-funcs
43 -
44 -DESCRIPTION="C++ class library of cryptographic schemes"
45 -HOMEPAGE="https://cryptopp.com"
46 -SRC_URI="https://www.cryptopp.com/cryptopp${PV//.}.zip"
47 -
48 -LICENSE="Boost-1.0"
49 -SLOT="0/8" # subslot is so version
50 -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ppc ppc64 sparc x86 ~x64-macos"
51 -IUSE="+asm cpu_flags_x86_aes cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_pclmul cpu_flags_x86_sha cpu_flags_x86_sse2 cpu_flags_x86_sse4_2 cpu_flags_x86_ssse3 static-libs"
52 -
53 -BDEPEND="app-arch/unzip"
54 -
55 -S="${WORKDIR}"
56 -
57 -PATCHES=(
58 - "${FILESDIR}/${P}-build.patch"
59 - "${FILESDIR}/${PN}-8.2.0-musl-ldconfig.patch"
60 -)
61 -
62 -config_add() {
63 - sed -i -e "/Important Settings/a#define $1 1" config.h || die
64 -}
65 -
66 -pkg_setup() {
67 - export CXX="$(tc-getCXX)"
68 - export LIBDIR="${EPREFIX}/usr/$(get_libdir)"
69 - export PREFIX="${EPREFIX}/usr"
70 -}
71 -
72 -src_prepare() {
73 - default
74 -
75 - use asm || config_add CRYPTOPP_DISABLE_ASM
76 - use cpu_flags_x86_aes || config_add CRYPTOPP_DISABLE_AESNI
77 - use cpu_flags_x86_avx || config_add CRYPTOPP_DISABLE_AVX
78 - use cpu_flags_x86_avx2 || config_add CRYPTOPP_DISABLE_AVX2
79 - use cpu_flags_x86_pclmul || config_add CRYPTOPP_DISABLE_CLMUL
80 - use cpu_flags_x86_sha || config_add CRYPTOPP_DISABLE_SHANI
81 - use cpu_flags_x86_sse2 || config_add CRYPTOPP_DISABLE_SSE2
82 - use cpu_flags_x86_sse4_2 || config_add CRYPTOPP_DISABLE_SSE4
83 - use cpu_flags_x86_ssse3 || config_add CRYPTOPP_DISABLE_SSSE3
84 -
85 - # ASM isn't Darwin/Mach-O ready, #479554, buildsys doesn't grok CPPFLAGS
86 - [[ ${CHOST} == *-darwin* ]] && config_add CRYPTOPP_DISABLE_ASM
87 -}
88 -
89 -src_compile() {
90 - emake -f GNUmakefile all shared libcryptopp.pc
91 -}
92 -
93 -src_install() {
94 - default
95 -
96 - use static-libs || rm -f "${ED}"/usr/$(get_libdir)/*.a
97 -}
98
99 diff --git a/dev-libs/crypto++/crypto++-8.4.0.ebuild b/dev-libs/crypto++/crypto++-8.4.0.ebuild
100 deleted file mode 100644
101 index 276755fe4309..000000000000
102 --- a/dev-libs/crypto++/crypto++-8.4.0.ebuild
103 +++ /dev/null
104 @@ -1,53 +0,0 @@
105 -# Copyright 1999-2021 Gentoo Authors
106 -# Distributed under the terms of the GNU General Public License v2
107 -
108 -EAPI=7
109 -
110 -inherit toolchain-funcs
111 -
112 -DESCRIPTION="C++ class library of cryptographic schemes"
113 -HOMEPAGE="https://cryptopp.com"
114 -SRC_URI="https://www.cryptopp.com/cryptopp${PV//.}.zip"
115 -S="${WORKDIR}"
116 -
117 -LICENSE="Boost-1.0"
118 -SLOT="0/8.4" # subslot is so version (was broken in 8.3.0, check on bumps!)
119 -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ppc ppc64 sparc x86 ~x64-macos"
120 -IUSE="+asm static-libs"
121 -
122 -BDEPEND="app-arch/unzip"
123 -
124 -PATCHES=(
125 - "${FILESDIR}/${PN}-8.2.0-musl-ldconfig.patch"
126 -)
127 -
128 -config_uncomment() {
129 - sed -i -e "s://\s*\(#define\s*$1\):\1:" config.h || die
130 -}
131 -
132 -src_prepare() {
133 - default
134 -
135 - use asm || config_uncomment CRYPTOPP_DISABLE_ASM
136 -
137 - # ASM isn't Darwin/Mach-O ready, #479554, buildsys doesn't grok CPPFLAGS
138 - [[ ${CHOST} == *-darwin* ]] && config_uncomment CRYPTOPP_DISABLE_ASM
139 -}
140 -
141 -src_configure() {
142 - export CXX="$(tc-getCXX)"
143 - export LIBDIR="${EPREFIX}/usr/$(get_libdir)"
144 - export PREFIX="${EPREFIX}/usr"
145 - tc-export AR RANLIB
146 - default
147 -}
148 -
149 -src_compile() {
150 - emake -f GNUmakefile all shared libcryptopp.pc
151 -}
152 -
153 -src_install() {
154 - default
155 -
156 - use static-libs || rm -f "${ED}"/usr/$(get_libdir)/*.a
157 -}
158
159 diff --git a/dev-libs/crypto++/crypto++-8.5.0.ebuild b/dev-libs/crypto++/crypto++-8.5.0.ebuild
160 deleted file mode 100644
161 index af996cfaed97..000000000000
162 --- a/dev-libs/crypto++/crypto++-8.5.0.ebuild
163 +++ /dev/null
164 @@ -1,60 +0,0 @@
165 -# Copyright 1999-2021 Gentoo Authors
166 -# Distributed under the terms of the GNU General Public License v2
167 -
168 -EAPI=7
169 -
170 -VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/crypto++.asc
171 -inherit toolchain-funcs verify-sig
172 -
173 -DESCRIPTION="C++ class library of cryptographic schemes"
174 -HOMEPAGE="https://cryptopp.com"
175 -SRC_URI="https://www.cryptopp.com/cryptopp${PV//.}.zip"
176 -SRC_URI+=" verify-sig? ( https://cryptopp.com/cryptopp${PV//.}.zip.sig )"
177 -S="${WORKDIR}"
178 -
179 -LICENSE="Boost-1.0"
180 -# Bumped to 8.5 in 8.5.0 out of caution
181 -# subslot is so version (was broken in 8.3.0, check on bumps!)
182 -SLOT="0/8.5"
183 -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ppc ppc64 ~riscv sparc x86 ~x64-macos"
184 -IUSE="+asm static-libs"
185 -
186 -BDEPEND="
187 - app-arch/unzip
188 - verify-sig? ( sec-keys/openpgp-keys-crypto++ )
189 -"
190 -
191 -PATCHES=(
192 - "${FILESDIR}/${PN}-8.2.0-musl-ldconfig.patch"
193 -)
194 -
195 -config_uncomment() {
196 - sed -i -e "s://\s*\(#define\s*$1\):\1:" config.h || die
197 -}
198 -
199 -src_prepare() {
200 - default
201 -
202 - use asm || config_uncomment CRYPTOPP_DISABLE_ASM
203 -
204 - # ASM isn't Darwin/Mach-O ready, #479554, buildsys doesn't grok CPPFLAGS
205 - [[ ${CHOST} == *-darwin* ]] && config_uncomment CRYPTOPP_DISABLE_ASM
206 -}
207 -
208 -src_configure() {
209 - export CXX="$(tc-getCXX)"
210 - export LIBDIR="${EPREFIX}/usr/$(get_libdir)"
211 - export PREFIX="${EPREFIX}/usr"
212 - tc-export AR RANLIB
213 - default
214 -}
215 -
216 -src_compile() {
217 - emake -f GNUmakefile all shared libcryptopp.pc
218 -}
219 -
220 -src_install() {
221 - default
222 -
223 - use static-libs || rm -f "${ED}"/usr/$(get_libdir)/*.a
224 -}
225
226 diff --git a/dev-libs/crypto++/files/crypto++-8.2.0-build.patch b/dev-libs/crypto++/files/crypto++-8.2.0-build.patch
227 deleted file mode 100644
228 index 7c7e8a9c1b66..000000000000
229 --- a/dev-libs/crypto++/files/crypto++-8.2.0-build.patch
230 +++ /dev/null
231 @@ -1,271 +0,0 @@
232 ---- a/config.h 2019-07-02 19:25:10.448720035 +0300
233 -+++ a/config.h 2019-07-02 19:25:25.785455586 +0300
234 -@@ -514,7 +514,7 @@ NAMESPACE_END
235 - #endif
236 -
237 - // 32-bit SunCC does not enable SSE2 by default.
238 --#if !defined(CRYPTOPP_DISABLE_ASM) && (defined(_MSC_VER) || CRYPTOPP_GCC_VERSION >= 30300 || defined(__SSE2__) || (__SUNPRO_CC >= 0x5100))
239 -+#if !defined(CRYPTOPP_DISABLE_ASM) && !defined(CRYPTOPP_DISABLE_SSE2) && (defined(_MSC_VER) || CRYPTOPP_GCC_VERSION >= 30300 || defined(__SSE2__) || (__SUNPRO_CC >= 0x5100))
240 - #define CRYPTOPP_SSE2_INTRIN_AVAILABLE 1
241 - #endif
242 -
243 -From fbbf0a08e8cf4faca661b0f75f806ea652abea70 Mon Sep 17 00:00:00 2001
244 -From: Jeffrey Walton <noloader@×××××.com>
245 -Date: Tue, 2 Jul 2019 16:55:00 -0400
246 -Subject: [PATCH] Add missing XOP header for blake2b_simd.cpp (GH #859) The
247 - Gentoo folks caught a bug at https://bugs.gentoo.org/689162. The 689162 bug
248 - uses -march=bdver1 -msse4.1 on a AMD Bulldozer machine.
249 -
250 -Investigating the issue we are missing the XOP header blake2b_simd.cpp. However, adding the XOP header is not enough for this particular config. Four source files fail to compile with the expected headers. We are waiting on the GCC folks to get back to us with a fix.
251 ----
252 - blake2b_simd.cpp | 5 +++++
253 - keccak_simd.cpp | 5 +++++
254 - simon128_simd.cpp | 1 +
255 - speck128_simd.cpp | 1 +
256 - 4 files changed, 12 insertions(+)
257 -
258 -diff --git a/blake2b_simd.cpp b/blake2b_simd.cpp
259 -index ff138321..b246824c 100644
260 ---- a/blake2b_simd.cpp
261 -+++ b/blake2b_simd.cpp
262 -@@ -32,6 +32,11 @@
263 - # undef CRYPTOPP_ALTIVEC_AVAILABLE
264 - #endif
265 -
266 -+#if defined(__XOP__)
267 -+# include <immintrin.h>
268 -+# include <ammintrin.h>
269 -+#endif
270 -+
271 - #if (CRYPTOPP_SSE41_AVAILABLE)
272 - # include <emmintrin.h>
273 - # include <tmmintrin.h>
274 -diff --git a/keccak_simd.cpp b/keccak_simd.cpp
275 -index 45674ac2..ae2f2095 100644
276 ---- a/keccak_simd.cpp
277 -+++ b/keccak_simd.cpp
278 -@@ -26,6 +26,11 @@
279 - # include <tmmintrin.h>
280 - #endif
281 -
282 -+#if defined(__XOP__)
283 -+# include <immintrin.h>
284 -+# include <ammintrin.h>
285 -+#endif
286 -+
287 - // Squash MS LNK4221 and libtool warnings
288 - extern const char KECCAK_SIMD_FNAME[] = __FILE__;
289 -
290 -diff --git a/simon128_simd.cpp b/simon128_simd.cpp
291 -index 5331c351..4b551f8f 100644
292 ---- a/simon128_simd.cpp
293 -+++ b/simon128_simd.cpp
294 -@@ -23,6 +23,7 @@
295 - #endif
296 -
297 - #if defined(__XOP__)
298 -+# include <immintrin.h>
299 - # include <ammintrin.h>
300 - #endif
301 -
302 -diff --git a/speck128_simd.cpp b/speck128_simd.cpp
303 -index 2c356346..fb3eb1e6 100644
304 ---- a/speck128_simd.cpp
305 -+++ b/speck128_simd.cpp
306 -@@ -23,6 +23,7 @@
307 - #endif
308 -
309 - #if defined(__XOP__)
310 -+# include <immintrin.h>
311 - # include <ammintrin.h>
312 - #endif
313 -
314 ---
315 -2.21.0
316 -
317 -From eeb7dadc76572b7061922ca6ac5f247bdfd985ad Mon Sep 17 00:00:00 2001
318 -From: Jeffrey Walton <noloader@×××××.com>
319 -Date: Tue, 2 Jul 2019 19:10:11 -0400
320 -Subject: [PATCH] Fix missing _mm_roti_epi32 and _mm_roti_epi64 under GCC (GH
321 - #859)
322 -
323 ----
324 - blake2b_simd.cpp | 4 +++-
325 - blake2s_simd.cpp | 7 +++++++
326 - chacha_simd.cpp | 3 +++
327 - cham_simd.cpp | 3 +++
328 - keccak_simd.cpp | 4 +++-
329 - lea_simd.cpp | 3 +++
330 - simeck_simd.cpp | 3 +++
331 - simon128_simd.cpp | 4 +++-
332 - simon64_simd.cpp | 3 +++
333 - speck128_simd.cpp | 4 +++-
334 - speck64_simd.cpp | 3 +++
335 - 11 files changed, 37 insertions(+), 4 deletions(-)
336 -
337 -diff --git a/blake2b_simd.cpp b/blake2b_simd.cpp
338 -index b246824c..6803d0ae 100644
339 ---- a/blake2b_simd.cpp
340 -+++ b/blake2b_simd.cpp
341 -@@ -33,8 +33,10 @@
342 - #endif
343 -
344 - #if defined(__XOP__)
345 --# include <immintrin.h>
346 - # include <ammintrin.h>
347 -+# if defined(__GNUC__)
348 -+# include <x86intrin.h>
349 -+# endif
350 - #endif
351 -
352 - #if (CRYPTOPP_SSE41_AVAILABLE)
353 -diff --git a/blake2s_simd.cpp b/blake2s_simd.cpp
354 -index f02b9771..4b6d1bd6 100644
355 ---- a/blake2s_simd.cpp
356 -+++ b/blake2s_simd.cpp
357 -@@ -42,6 +42,13 @@
358 - # undef CRYPTOPP_ALTIVEC_AVAILABLE
359 - #endif
360 -
361 -+#if defined(__XOP__)
362 -+# include <ammintrin.h>
363 -+# if defined(__GNUC__)
364 -+# include <x86intrin.h>
365 -+# endif
366 -+#endif
367 -+
368 - #if (CRYPTOPP_SSE41_AVAILABLE)
369 - # include <emmintrin.h>
370 - # include <tmmintrin.h>
371 -diff --git a/chacha_simd.cpp b/chacha_simd.cpp
372 -index a983ab69..5a63ecee 100644
373 ---- a/chacha_simd.cpp
374 -+++ b/chacha_simd.cpp
375 -@@ -46,6 +46,9 @@
376 -
377 - #if defined(__XOP__)
378 - # include <ammintrin.h>
379 -+# if defined(__GNUC__)
380 -+# include <x86intrin.h>
381 -+# endif
382 - #endif
383 -
384 - // C1189: error: This header is specific to ARM targets
385 -diff --git a/cham_simd.cpp b/cham_simd.cpp
386 -index 7fcaece1..e102a877 100644
387 ---- a/cham_simd.cpp
388 -+++ b/cham_simd.cpp
389 -@@ -24,6 +24,9 @@
390 -
391 - #if defined(__XOP__)
392 - # include <ammintrin.h>
393 -+# if defined(__GNUC__)
394 -+# include <x86intrin.h>
395 -+# endif
396 - #endif
397 -
398 - #if defined(__AVX512F__)
399 -diff --git a/keccak_simd.cpp b/keccak_simd.cpp
400 -index ae2f2095..194291a0 100644
401 ---- a/keccak_simd.cpp
402 -+++ b/keccak_simd.cpp
403 -@@ -27,8 +27,10 @@
404 - #endif
405 -
406 - #if defined(__XOP__)
407 --# include <immintrin.h>
408 - # include <ammintrin.h>
409 -+# if defined(__GNUC__)
410 -+# include <x86intrin.h>
411 -+# endif
412 - #endif
413 -
414 - // Squash MS LNK4221 and libtool warnings
415 -diff --git a/lea_simd.cpp b/lea_simd.cpp
416 -index b4180e34..ee2a5697 100644
417 ---- a/lea_simd.cpp
418 -+++ b/lea_simd.cpp
419 -@@ -24,6 +24,9 @@
420 -
421 - #if defined(__XOP__)
422 - # include <ammintrin.h>
423 -+# if defined(__GNUC__)
424 -+# include <x86intrin.h>
425 -+# endif
426 - #endif
427 -
428 - #if defined(__AVX512F__)
429 -diff --git a/simeck_simd.cpp b/simeck_simd.cpp
430 -index 2a9efc99..f92a53d7 100644
431 ---- a/simeck_simd.cpp
432 -+++ b/simeck_simd.cpp
433 -@@ -24,6 +24,9 @@
434 -
435 - #if defined(__XOP__)
436 - # include <ammintrin.h>
437 -+# if defined(__GNUC__)
438 -+# include <x86intrin.h>
439 -+# endif
440 - #endif
441 -
442 - // Squash MS LNK4221 and libtool warnings
443 -diff --git a/simon128_simd.cpp b/simon128_simd.cpp
444 -index 4b551f8f..cb16fa8d 100644
445 ---- a/simon128_simd.cpp
446 -+++ b/simon128_simd.cpp
447 -@@ -23,8 +23,10 @@
448 - #endif
449 -
450 - #if defined(__XOP__)
451 --# include <immintrin.h>
452 - # include <ammintrin.h>
453 -+# if defined(__GNUC__)
454 -+# include <x86intrin.h>
455 -+# endif
456 - #endif
457 -
458 - #if defined(__AVX512F__)
459 -diff --git a/simon64_simd.cpp b/simon64_simd.cpp
460 -index eb5a1757..fcbe1342 100644
461 ---- a/simon64_simd.cpp
462 -+++ b/simon64_simd.cpp
463 -@@ -25,6 +25,9 @@
464 -
465 - #if defined(__XOP__)
466 - # include <ammintrin.h>
467 -+# if defined(__GNUC__)
468 -+# include <x86intrin.h>
469 -+# endif
470 - #endif
471 -
472 - // C1189: error: This header is specific to ARM targets
473 -diff --git a/speck128_simd.cpp b/speck128_simd.cpp
474 -index fb3eb1e6..0c0f389e 100644
475 ---- a/speck128_simd.cpp
476 -+++ b/speck128_simd.cpp
477 -@@ -23,8 +23,10 @@
478 - #endif
479 -
480 - #if defined(__XOP__)
481 --# include <immintrin.h>
482 - # include <ammintrin.h>
483 -+# if defined(__GNUC__)
484 -+# include <x86intrin.h>
485 -+# endif
486 - #endif
487 -
488 - #if defined(__AVX512F__)
489 -diff --git a/speck64_simd.cpp b/speck64_simd.cpp
490 -index 0a720fb3..0b43c175 100644
491 ---- a/speck64_simd.cpp
492 -+++ b/speck64_simd.cpp
493 -@@ -25,6 +25,9 @@
494 -
495 - #if defined(__XOP__)
496 - # include <ammintrin.h>
497 -+# if defined(__GNUC__)
498 -+# include <x86intrin.h>
499 -+# endif
500 - #endif
501 -
502 - // C1189: error: This header is specific to ARM targets