[Bug 259564] multimedia/x265: add option to use altivec on powerpc64

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 31 Oct 2021 02:41:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259564

            Bug ID: 259564
           Summary: multimedia/x265: add option to use altivec on
                    powerpc64
           Product: Ports & Packages
           Version: Latest
          Hardware: powerpc
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: pkubaj@FreeBSD.org
                CC: mi@ALDAN.algebra.com, powerpc@FreeBSD.org
             Flags: maintainer-feedback?(mi@ALDAN.algebra.com)
                CC: mi@ALDAN.algebra.com, powerpc@FreeBSD.org

Created attachment 229158
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=229158&action=edit
patch

This patch uses the ASM option to simplify things, but actually assembly isn't
used, just SIMD code in C/C++.

Anyway, POWER8 intrinsics for x265 are available for HI8P, HI10P and HI12P, but
additional AltiVec code is only available for HI8P.

On top of that, using ENABLE_ASSEMBLY actually breaks build (because there's no
assembly, but C/C++ code).

Also, remove ASM_PREVENTS*. It doesn't work after including
bsd.port.options.mk.

-- 
You are receiving this mail because:
You are the assignee for the bug.