Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/opus: don't use vcvtaq_s32_f32 on 32 bit ARM
@ 2026-06-13 21:55 Michele Comignano
  2026-06-14 10:11 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Michele Comignano @ 2026-06-13 21:55 UTC (permalink / raw)
  To: buildroot; +Cc: Comick, Bernd Kuhls

From: Comick <mcdev@playlinux.net>

Upstream issues is waiting for feedback.

See here for details:
https://gitlab.xiph.org/xiph/opus/-/work_items/2397

Signed-off-by: Michele Comignano <mcdev@playlinux.net>
---
 ...use-vcvtaq_s32_f32-on-32-bit-systems.patch | 26 +++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 package/opus/0001-celt-arm-don-t-use-vcvtaq_s32_f32-on-32-bit-systems.patch

diff --git a/package/opus/0001-celt-arm-don-t-use-vcvtaq_s32_f32-on-32-bit-systems.patch b/package/opus/0001-celt-arm-don-t-use-vcvtaq_s32_f32-on-32-bit-systems.patch
new file mode 100644
index 0000000000..ddd572921f
--- /dev/null
+++ b/package/opus/0001-celt-arm-don-t-use-vcvtaq_s32_f32-on-32-bit-systems.patch
@@ -0,0 +1,26 @@
+From 321532001d59367466a6a4a60f5c6f0fe5fa2176 Mon Sep 17 00:00:00 2001
+From: Comick <mcdev@playlinux.net>
+Date: Sat, 13 Jun 2026 21:48:00 +0200
+Subject: [PATCH] celt/arm don't use vcvtaq_s32_f32 on 32 bit systems
+Upstream: N/A https://gitlab.xiph.org/xiph/opus/-/work_items/2397
+
+---
+ celt/arm/mathops_arm.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/celt/arm/mathops_arm.h b/celt/arm/mathops_arm.h
+index b1f9169..c612dae 100644
+--- a/celt/arm/mathops_arm.h
++++ b/celt/arm/mathops_arm.h
+@@ -37,7 +37,7 @@
+ 
+ static inline int32x4_t vroundf(float32x4_t x)
+ {
+-#  if defined(__aarch64__) || (defined(__ARM_ARCH) && __ARM_ARCH >= 8)
++#  if defined(__aarch64__)
+     return vcvtaq_s32_f32(x);
+ #  else
+     uint32x4_t sign = vandq_u32(vreinterpretq_u32_f32(x), vdupq_n_u32(0x80000000));
+-- 
+2.54.0
+
-- 
2.54.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-06-14 10:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-13 21:55 [Buildroot] [PATCH] package/opus: don't use vcvtaq_s32_f32 on 32 bit ARM Michele Comignano
2026-06-14 10:11 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox