View | Details | Raw Unified | Return to bug 279167
Collapse All | Expand All

(-)b/misc/astc-encoder/Makefile (-1 / +1 lines)
Lines 1-5 Link Here
1
PORTNAME=	astc-encoder
1
PORTNAME=	astc-encoder
2
DISTVERSION=	4.7.0
2
DISTVERSION=	4.8.0
3
CATEGORIES=	misc
3
CATEGORIES=	misc
4
4
5
MAINTAINER=	yuri@FreeBSD.org
5
MAINTAINER=	yuri@FreeBSD.org
(-)b/misc/astc-encoder/distinfo (-3 / +3 lines)
Lines 1-5 Link Here
1
TIMESTAMP = 1705039927
1
TIMESTAMP = 1716139350
2
SHA256 (ARM-software-astc-encoder-4.7.0_GH0.tar.gz) = a57c81f79055aa7c9f8c82ac5464284e3df9bba682895dee09fa35bd1fdbab93
2
SHA256 (ARM-software-astc-encoder-4.8.0_GH0.tar.gz) = 6c12f4656be21a69cbacd9f2c817283405decb514072dc1dcf51fd9a0b659852
3
SIZE (ARM-software-astc-encoder-4.7.0_GH0.tar.gz) = 36135038
3
SIZE (ARM-software-astc-encoder-4.8.0_GH0.tar.gz) = 36151854
4
SHA256 (google-googletest-e2239ee_GH0.tar.gz) = 47a8ca2e1be737588628cbc82726a7c4fed060ae0098709003845e3ef298da2f
4
SHA256 (google-googletest-e2239ee_GH0.tar.gz) = 47a8ca2e1be737588628cbc82726a7c4fed060ae0098709003845e3ef298da2f
5
SIZE (google-googletest-e2239ee_GH0.tar.gz) = 886254
5
SIZE (google-googletest-e2239ee_GH0.tar.gz) = 886254
(-)b/misc/astc-encoder/files/patch-Source_astcenc__vecmathlib__sse__4.h (+14 lines)
Added Link Here
1
--- Source/astcenc_vecmathlib_sse_4.h.orig	2024-05-07 09:59:55 UTC
2
+++ Source/astcenc_vecmathlib_sse_4.h
3
@@ -1307,7 +1307,11 @@ ASTCENC_SIMD_INLINE vfloat4 dot3(vfloat4 a, vfloat4 b)
4
  */
5
 ASTCENC_SIMD_INLINE int popcount(uint64_t v)
6
 {
7
+#if defined(__x86_64__)
8
 	return static_cast<int>(_mm_popcnt_u64(v));
9
+#else
10
+	return static_cast<int>(__builtin_popcountll(v));
11
+#endif
12
 }
13
 
14
 #endif // ASTCENC_POPCNT >= 1

Return to bug 279167