From: "Martin Storsjö" <martin@martin.st>
To: ffmpeg-devel@ffmpeg.org
Subject: [FFmpeg-devel] [PATCH v2] x86/tx_float: Fix building for platforms with a symbol prefix
Date: Tue, 6 Sep 2022 16:42:38 +0300
Message-ID: <20220906134238.91435-1-martin@martin.st> (raw)
This fixes building for x86 macOS (both i386 and x86_64) and
i386 windows.
---
v2: Add mangle() in a couple more places, that weren't noticed
on i386 windows.
---
libavutil/x86/tx_float.asm | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/libavutil/x86/tx_float.asm b/libavutil/x86/tx_float.asm
index 1b9131e7fa..69f67720c1 100644
--- a/libavutil/x86/tx_float.asm
+++ b/libavutil/x86/tx_float.asm
@@ -744,7 +744,7 @@ cglobal fft8_float, 4, 4, 6, ctx, out, in, tmp
%if %1
cglobal fft8_ns_float, 4, 4, 6, ctx, out, in, tmp
- call ff_tx_fft8_asm_float_sse3
+ call mangle(ff_tx_fft8_asm_float_sse3)
RET
%endif
%endmacro
@@ -784,7 +784,7 @@ cglobal fft8_float, 4, 4, 4, ctx, out, in, tmp
%if %1
cglobal fft8_ns_float, 4, 4, 4, ctx, out, in, tmp
- call ff_tx_fft8_asm_float_avx
+ call mangle(ff_tx_fft8_asm_float_avx)
RET
%endif
%endmacro
@@ -833,7 +833,7 @@ cglobal fft16_float, 4, 4, 8, ctx, out, in, tmp
%if %2
cglobal fft16_ns_float, 4, 4, 8, ctx, out, in, tmp
- call ff_tx_fft16_asm_float_ %+ %1
+ call mangle(ff_tx_fft16_asm_float_ %+ %1)
RET
%endif
%endmacro
@@ -917,7 +917,7 @@ cglobal fft32_float, 4, 4, 16, ctx, out, in, tmp
%if %2
cglobal fft32_ns_float, 4, 4, 16, ctx, out, in, tmp
- call ff_tx_fft32_asm_float_ %+ %1
+ call mangle(ff_tx_fft32_asm_float_ %+ %1)
RET
%endif
%endmacro
@@ -1342,7 +1342,7 @@ cglobal fft_sr_ns_float, 4, 9, 16, 272, ctx, out, in, tmp, len, lut, itab, rtab,
mov lutq, [ctxq + AVTXContext.map]
mov tgtq, lenq
- call ff_tx_fft_sr_asm_float_ %+ %1
+ call mangle(ff_tx_fft_sr_asm_float_ %+ %1)
RET
%endif
%endmacro
--
2.32.1 (Apple Git-133)
_______________________________________________
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".
next reply other threads:[~2022-09-06 13:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-06 13:42 Martin Storsjö [this message]
2022-09-06 15:37 ` Henrik Gramner
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=20220906134238.91435-1-martin@martin.st \
--to=martin@martin.st \
--cc=ffmpeg-devel@ffmpeg.org \
/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