Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Mar 2025 09:33:31 GMT
From:      Vladimir Druzenko <vvd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ca2015f487af - main - graphics/khronos-texture: Turn off NEON for armv7 by default: the code uses intrinsics only available on aarch64
Message-ID:  <202503210933.52L9XVKH099275@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ca2015f487afbf98ee62fdd3ff011ef03cfa2547

commit ca2015f487afbf98ee62fdd3ff011ef03cfa2547
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2025-03-21 08:40:39 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-03-21 09:32:35 +0000

    graphics/khronos-texture: Turn off NEON for armv7 by default: the code uses intrinsics only available on aarch64
    
    /wrkdirs/usr/ports/graphics/khronos-texture/work/KTX-Software-4.3.2/lib/astc-encoder/Source/astcenc_vecmathlib_neon_4.h:409:9: error: use of undeclared identifier 'vaddvq_u32'; did you mean 'vpaddlq_u32'?
      409 |         return vaddvq_u32(vshlq_u32(tmp, shift));
          |                ^~~~~~~~~~
          |                vpaddlq_u32
    /usr/lib/clang/19/include/arm_neon.h:21450:49: note: 'vpaddlq_u32' declared here
     21450 | __ai __attribute__((target("neon"))) uint64x2_t vpaddlq_u32(uint32x4_t __p0) {
           |                                                 ^
    
    Same for: vminvq_s32 vmaxvq_s32 vqtbl1q_s8 vdivq_f32 vminnmq_f32
    vmaxnmq_f32 vrndnq_f32 vminvq_f32 vmaxvq_f32 vsqrtq_f32 vcvt_f16_f32
    vcvt_f32_f16 vqtbl1q_s8 vqtbl2q_s8 vaddvq_u32 vminvq_s32 vmaxvq_s32
    vqtbl1q_s8 and etc.
    
    https://portsfallout.com/fallout?port=graphics%2Fkhronos-texture
---
 graphics/khronos-texture/Makefile | 1 -
 1 file changed, 1 deletion(-)

diff --git a/graphics/khronos-texture/Makefile b/graphics/khronos-texture/Makefile
index ceb477d2643e..b106de81e147 100644
--- a/graphics/khronos-texture/Makefile
+++ b/graphics/khronos-texture/Makefile
@@ -19,7 +19,6 @@ GH_PROJECT=	KTX-Software
 
 OPTIONS_DEFAULT_aarch64=	NEON
 OPTIONS_DEFAULT_amd64=		SSE2
-OPTIONS_DEFAULT_armv7=		NEON
 OPTIONS_DEFAULT_OTHER_ARCHS=	NONE
 OPTIONS_SINGLE=			SIMD
 OPTIONS_SINGLE_SIMD=		AVX2 NEON NONE SSE2 SSE41


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202503210933.52L9XVKH099275>