Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [PATCH] x86: Update x86inc.asm
@ 2024-03-16 19:53 Henrik Gramner via ffmpeg-devel
  2024-03-19 10:20 ` Henrik Gramner via ffmpeg-devel
  0 siblings, 1 reply; 3+ messages in thread
From: Henrik Gramner via ffmpeg-devel @ 2024-03-16 19:53 UTC (permalink / raw)
  To: FFmpeg development discussions and patches; +Cc: Henrik Gramner

[-- Attachment #1: Type: text/plain, Size: 1064 bytes --]

Makes things up-to-date with the upstream at
https://code.videolan.org/videolan/x86inc.asm

Specifying every individual change is difficult as there have been
divergences and cherry-picks over time, but the full upstream change
log can be found at
https://code.videolan.org/videolan/x86inc.asm/-/commits/master?ref_type=heads

Tested and passes FATE on Linux (x86-64), macOS (x86-64), and Windows
(x86-64 and x86-32). The macOS system with AVX2, the rest with
AVX512ICL.

The following local changes compared to upstream remain (is the OS/2
part still relevant?):
@@ -37,2 +37,5 @@

+%if HAVE_ALIGNED_STACK
+    %define STACK_ALIGNMENT 16
+%endif
 %ifndef STACK_ALIGNMENT
@@ -86,4 +89,11 @@

+; aout does not support align=
+; NOTE: This section is out of sync with x264, in order to
+; keep supporting OS/2.
 %macro SECTION_RODATA 0-1 16
-    %ifidn __OUTPUT_FORMAT__,win32
+    %ifidn __OUTPUT_FORMAT__,aout
+        SECTION .text
+    %elifidn __OUTPUT_FORMAT__,coff
+        SECTION .text
+    %elifidn __OUTPUT_FORMAT__,win32
         SECTION .rdata align=%1

[-- Attachment #2: x86_update_x86inc.patch --]
[-- Type: application/octet-stream, Size: 61846 bytes --]

[-- Attachment #3: Type: text/plain, Size: 251 bytes --]

_______________________________________________
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".

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

end of thread, other threads:[~2024-03-24 14:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-16 19:53 [FFmpeg-devel] [PATCH] x86: Update x86inc.asm Henrik Gramner via ffmpeg-devel
2024-03-19 10:20 ` Henrik Gramner via ffmpeg-devel
2024-03-24 14:23   ` Henrik Gramner via ffmpeg-devel

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