commit 0a4eec1

hovercats  ·  2024-02-08 21:49:12 +0000 UTC
parent f0eaf5f
xz: sync with upstreams version bump.

see details here: https://github.com/oasislinux/oasis/pull/81#issuecomment-1933377403
6 files changed,  +26, -7
+6, -2
 1@@ -95,7 +95,9 @@
 2 #define HAVE_SYS_TYPES_H 1
 3 #define HAVE_UINTPTR_T 1
 4 #define HAVE_UNISTD_H 1
 5-#define HAVE_USABLE_CLMUL 1
 6+#ifdef HAVE__MM_CLMULEPI64_SI128 /* probe */
 7+# define HAVE_USABLE_CLMUL 1
 8+#endif
 9 /* #undef HAVE_UTIME */
10 /* #undef HAVE_UTIMES */
11 #define HAVE_VISIBILITY 1
12@@ -105,7 +107,9 @@
13 /* #undef HAVE__FUTIME */
14 /* probe HAVE__MM_MOVEMASK_EPI8 */
15 /* probe HAVE___BUILTIN_ASSUME_ALIGNED */
16-#define HAVE___BUILTIN_BSWAPXX 1
17+#ifdef HAVE___BUILTIN_BSWAP16 /* probe */
18+# define HAVE___BUILTIN_BSWAPXX 1
19+#endif
20 #define LT_OBJDIR ".libs/"
21 #define MYTHREAD_POSIX 1
22 /* #undef MYTHREAD_VISTA */
+6, -4
 1@@ -13,11 +13,13 @@ cflags{
 2 }
 3 
 4 build('cat', '$outdir/config.h', {
 5-	'$dir/config.h',
 6 	'$builddir/probe/HAVE_IMMINTRIN_H',
 7+	'$builddir/probe/HAVE__MM_CLMULEPI64_SI128',
 8 	'$builddir/probe/HAVE__MM_MOVEMASK_EPI8',
 9 	'$builddir/probe/HAVE___BUILTIN_ASSUME_ALIGNED',
10+	'$builddir/probe/HAVE___BUILTIN_BSWAP16',
11 	'$builddir/probe/SIZEOF_SIZE_T',
12+	'$dir/config.h',
13 })
14 pkg.deps = {'$outdir/config.h'}
15 
16@@ -31,7 +33,6 @@ lib('liblzma.a', [[src/(
17 			check.c
18 			crc32_table.c
19 			crc32_fast.c
20-			crc64_small.c
21 			crc64_table.c
22 			crc64_fast.c
23 			sha256.c
24@@ -44,10 +45,11 @@ lib('liblzma.a', [[src/(
25 			hardware_physmem.c
26 			index.c
27 			stream_flags_common.c
28-			vli_size.c
29 			string_conversion.c
30+			vli_size.c
31 
32 			hardware_cputhreads.c
33+			outqueue.c
34 
35 			alone_encoder.c
36 			block_buffer_encoder.c
37@@ -66,7 +68,6 @@ lib('liblzma.a', [[src/(
38 			stream_flags_encoder.c
39 			vli_encoder.c
40 
41-			outqueue.c
42 			stream_encoder_mt.c
43 
44 			alone_decoder.c
45@@ -85,6 +86,7 @@ lib('liblzma.a', [[src/(
46 			stream_decoder.c
47 			stream_flags_decoder.c
48 			vli_decoder.c
49+
50 			stream_decoder_mt.c
51 		)
52 		delta/(
+1, -1
1@@ -1 +1 @@
2-5.4.6 r0
3+5.4.6 r1
+7, -0
1@@ -0,0 +1,7 @@
2+#include <immintrin.h>
3+static __m128i x, y;
4+__attribute__((__target__("pclmul")))
5+int main(void) {
6+	_mm_clmulepi64_si128(x, y, 0);
7+	return 0;
8+}
+4, -0
1@@ -0,0 +1,4 @@
2+unsigned x = 0xff;
3+int main(void) {
4+	return __builtin_bswap16(x) & 0xff;
5+}
+2, -0
 1@@ -6,10 +6,12 @@ probe('HAVE_EMMINTRIN_H')
 2 probe('HAVE_IMMINTRIN_H')
 3 probe('HAVE_INLINE_ASM')
 4 probe('HAVE_MMINTRIN_H')
 5+probe('HAVE__MM_CLMULEPI64_SI128')
 6 probe('HAVE__MM_MOVEMASK_EPI8')
 7 probe('HAVE__THREAD_LOCAL')
 8 probe('HAVE___BUILTIN_ASSUME_ALIGNED')
 9 probe('HAVE___BUILTIN_CHOOSE_EXPR')
10+probe('HAVE___BUILTIN_BSWAP16')
11 probe('HAVE___BUILTIN_CLZ')
12 probe('HAVE___BUILTIN_CTZL')
13 probe('HAVE___BUILTIN_POPCOUNT')