From: Brad Smith <brad-at-comstyle.com@ffmpeg.org>
To: FFmpeg development discussions and patches
<ffmpeg-devel@ffmpeg.org>, Ramiro Polla <ramiro.polla@gmail.com>
Subject: Re: [FFmpeg-devel] [PATCH v2] lsws/ppc/yuv2rgb_altivec: Fix build in non-VSX environments with Clang
Date: Fri, 7 Mar 2025 14:17:03 -0500
Message-ID: <1486d4a5-2ae2-4e9a-8ad7-fae5db2fdfe0@comstyle.com> (raw)
In-Reply-To: <CALweWgC5dLWhtAD-2z0ZM942mfR-nVqDMCS4q9yUQV76JqAanA@mail.gmail.com>
On 2025-03-06 8:28 a.m., Ramiro Polla wrote:
> On Wed, Mar 5, 2025 at 4:17 AM Ramiro Polla<ramiro.polla@gmail.com> wrote:
>> On Wed, Mar 5, 2025 at 2:24 AM Brad Smith
>> <brad-at-comstyle.com@ffmpeg.org> wrote:
>>> On 2023-08-23 4:52 p.m., Michael Niedermayer wrote:
>>>> On Fri, Aug 18, 2023 at 10:14:04PM -0400, Brad Smith wrote:
>>>>> lsws/ppc/yuv2rgb_altivec: Fix build in non-VSX environments with Clang
>>>>>
>>>>> Add a check for the existence of the vec_xl() function. Clang provides
>>>>> the function even with VSX not enabled.
>>>>>
>>>>> v2: test for function if AltiVec is enabled instead of with AltiVec and without VSX
>>>>> ---
>>>>> configure | 8 ++++++++
>>>>> libswscale/ppc/yuv2rgb_altivec.c | 4 ++--
>>>>> 2 files changed, 10 insertions(+), 2 deletions(-)
>>>> Has this been tested on an affected platform ?
>>>> I mean the function is provided but does it also work ?
>>> This has been in the FreeBSD / OpenBSD ports for years. So to a certain
>>> extent yes. Anyway, I didn't have access to my test VM for quite some
>>> time but I do now and ran the various tests with FATE and did not see
>>> any issues.
>> Build doesn't seem to fail anymore, but that's probably because of the
>> #if 0 from b9eaf6e05c2ca16d94869e0263236dbdac752400.
>>
>> Could you please send a rebased patch?
> I tested on Sean's G5 and this patch fixed the build issue with clang,
> so I pushed it.
>
> The code that uses vec_xl() is still under #if 0 though.
I have commit access. Also what you had commited was my v1 diff not v2.
I will fix it.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
prev parent reply other threads:[~2025-03-07 19:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-19 2:14 Brad Smith
2023-08-23 20:52 ` Michael Niedermayer
2025-03-05 1:24 ` Brad Smith
2025-03-05 3:17 ` Ramiro Polla
2025-03-06 13:28 ` Ramiro Polla
2025-03-07 19:17 ` Brad Smith [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1486d4a5-2ae2-4e9a-8ad7-fae5db2fdfe0@comstyle.com \
--to=brad-at-comstyle.com@ffmpeg.org \
--cc=ffmpeg-devel@ffmpeg.org \
--cc=ramiro.polla@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git