Here is an update to orc 0.4.43.

0.4.43
======

 - Add AVX512 support (Jorge Zapata)
 - neon: add divluw rule (used in GStreamer's compositor, videomixer, 
gaudieffects and alpha-blending code paths) (Jeongkeun Kim)
 - neon: add mulslq, mululq rules, shlq, shrsq, shruq (used in GStreamer's 
audio processing element) (Jeongkeun Kim)
 - orccodemem: Invalidate code chunks when recycling for QEMU (Jorge Zapata)
 - orcprogram-c: Allow negative constants (Carlos Falgueras Garc??a)
 - arm, neon: Split ARM and NEON logic into 32b and 64b (Carlos Falgueras 
Garc??a)
 - RISC-V: many fixes and enhancements, including some new rules (Felix Gong, 
Yao Zi, Brad Smith)
 - LoongArch: various fixes and enhancements (Jin Bo)
 - OpenBSD/FreeBSD improvements (Brad Smith)
 - Miscellaneous fixes (Brad Smith, Jorge Zapata)
 - ci fixes (Jorge Zapata, L. E. Segovia, Tim-Philipp M??ller)

Tested on aarch64. The two consumers build Ok.


Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/orc/Makefile,v
retrieving revision 1.28
diff -u -p -u -p -r1.28 Makefile
--- Makefile    10 May 2026 12:33:13 -0000      1.28
+++ Makefile    2 Sep 2026 02:41:57 -0000
@@ -1,12 +1,11 @@
 COMMENT=       library and toolset to operate arrays of data
 
-DISTNAME=      orc-0.4.42
-REVISION=      0
+DISTNAME=      orc-0.4.43
 CATEGORIES=    devel
 SITES=         https://gstreamer.freedesktop.org/src/orc/
 EXTRACT_SUFX=  .tar.xz
 
-SHARED_LIBS=   orc-0.4         8.0 \
+SHARED_LIBS=   orc-0.4         9.0 \
                orc-test-0.4    6.2
 
 HOMEPAGE=      https://gstreamer.freedesktop.org/modules/orc.html
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/orc/distinfo,v
retrieving revision 1.12
diff -u -p -u -p -r1.12 distinfo
--- distinfo    31 Jan 2026 09:55:15 -0000      1.12
+++ distinfo    2 Sep 2026 02:41:57 -0000
@@ -1,2 +1,2 @@
-SHA256 (orc-0.4.42.tar.xz) = fskSq1mvPMl4dMRWpWqK4e7FIMOF7ER+ihArK9EiyQw=
-SIZE (orc-0.4.42.tar.xz) = 280792
+SHA256 (orc-0.4.43.tar.xz) = gjlOIOXE3/6LReqFJcYt1OPovn8lOsEcGSl7p+pUc+A=
+SIZE (orc-0.4.43.tar.xz) = 317348
Index: patches/patch-orc_riscv_orcriscvtarget_c
===================================================================
RCS file: patches/patch-orc_riscv_orcriscvtarget_c
diff -N patches/patch-orc_riscv_orcriscvtarget_c
--- patches/patch-orc_riscv_orcriscvtarget_c    10 May 2026 12:33:13 -0000      
1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,60 +0,0 @@
-- riscv: Fix building on non-Linux systems
-  9861f1c213565f1533eca88bebfc5ae1bef28249
-- riscv: Fix orc_riscv_target_flush_cache() for OpenBSD
-  180a3999bd862a34c29641211dd7bae909be6f39
-- riscv: Don't enable Vector support if no CPU detection support
-  34502d128b25dda6b6f04e8c7f3845ab104d912d
-
-Index: orc/riscv/orcriscvtarget.c
---- orc/riscv/orcriscvtarget.c.orig
-+++ orc/riscv/orcriscvtarget.c
-@@ -67,7 +67,9 @@ orc_riscv_target_detect_extension (const char *exts, c
- 
-   return FALSE;
- }
-+#endif
- 
-+#ifdef HAVE_RISCV
- static orc_uint32
- orc_riscv_target_get_cpu_flags (void)
- {
-@@ -77,6 +79,7 @@ orc_riscv_target_get_cpu_flags (void)
-   ret |= ORC_TARGET_RISCV_64BIT;
- #endif
- 
-+#ifdef __linux__
-   char *cpuinfo = get_proc_cpuinfo ();
-   if (cpuinfo == NULL) {
-     ORC_DEBUG ("Failed to read /proc/cpuinfo");
-@@ -105,16 +108,16 @@ orc_riscv_target_get_cpu_flags (void)
- 
-     free (cpuinfo_line);
-   }
-+#endif
- 
-   return ret;
- }
--
- #endif
- 
- static void
- orc_riscv_target_flush_cache (OrcCode *code)
- {
--#if defined(HAVE_RISCV) && defined(__linux__)
-+#if defined(HAVE_RISCV) && (defined(__linux__) || defined(__OpenBSD__))
- #if __has_builtin(__builtin___clear_cache)
-   __builtin___clear_cache ((char*)code->code, (char*)code->code + 
code->code_size);
-   if ((void *) code->exec != (void *) code->code)
-@@ -136,7 +139,11 @@ orc_riscv_target_get_default_flags (void)
- #if defined(HAVE_RISCV) && defined(__linux__)
-   return orc_riscv_target_get_cpu_flags ();
- #else
--  return ORC_TARGET_RISCV_64BIT | ORC_TARGET_RISCV_V;
-+  orc_uint32 ret = 0;
-+#if defined(__riscv_xlen) && __riscv_xlen == 64
-+  ret |= ORC_TARGET_RISCV_64BIT;
-+#endif
-+  return ret;
- #endif
- }
- 
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/orc/pkg/PLIST,v
retrieving revision 1.12
diff -u -p -u -p -r1.12 PLIST
--- pkg/PLIST   31 Jan 2026 09:55:15 -0000      1.12
+++ pkg/PLIST   2 Sep 2026 02:41:57 -0000
@@ -10,6 +10,8 @@ include/orc-0.4/orc-test/orctest.h
 include/orc-0.4/orc/orc-stdint.h
 include/orc-0.4/orc/orc.h
 include/orc-0.4/orc/orcarm.h
+include/orc-0.4/orc/orcarm64insn.h
+include/orc-0.4/orc/orcarminsn.h
 include/orc-0.4/orc/orcavx.h
 include/orc-0.4/orc/orcavxinsn.h
 include/orc-0.4/orc/orcbytecode.h

Reply via email to