Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: "Rémi Denis-Courmont" <remi@remlab.net>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH v5] Mark C globals with small code model
Date: Wed, 07 May 2025 15:15:21 +0300
Message-ID: <E3E1D652-0D9A-4729-BC22-8CB13FADF637@remlab.net> (raw)
In-Reply-To: <CAPvNhsKE2ZfXjq=tRagXGUehAN1WE=itsfsSNdyzgv-YUN74_A@mail.gmail.com>

Hi,

This looks like a kludge to me. If static variables are too far away, then the assembler code that refers to them needs to be fixed, and that's all that there is to it.

You can't just magically make the data and the code closer, especially if FFmpeg is compiled as a static library (a very common use case).

Also putting x86-specific hacks all over the code base, meh. Other architectures have all dealt with that issue cleanly already.
_______________________________________________
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".

  parent reply	other threads:[~2025-05-07 12:15 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-25 21:37 [FFmpeg-devel] [PATCH] " Pranav Kant via ffmpeg-devel
2025-02-25 23:03 ` Andreas Rheinhardt
2025-02-26 19:44 ` Pranav Kant via ffmpeg-devel
2025-02-26 19:45   ` Pranav Kant via ffmpeg-devel
2025-02-27  3:36   ` James Zern via ffmpeg-devel
2025-02-28  1:14   ` Michael Niedermayer
2025-03-07  2:13     ` Pranav Kant via ffmpeg-devel
2025-03-03 20:56   ` [FFmpeg-devel] [PATCH v3] " Pranav Kant via ffmpeg-devel
2025-03-11 19:17     ` [FFmpeg-devel] [PATCH v4] " Pranav Kant via ffmpeg-devel
2025-03-11 19:18       ` Pranav Kant via ffmpeg-devel
2025-03-11 23:45       ` Andreas Rheinhardt
2025-03-12  7:05         ` Martin Storsjö
2025-03-12  7:17           ` Andreas Rheinhardt
2025-03-12  7:47             ` Martin Storsjö
2025-03-14  0:16         ` Pranav Kant via ffmpeg-devel
2025-03-21  0:28           ` [FFmpeg-devel] [PATCH v5] " Pranav Kant via ffmpeg-devel
2025-03-21  0:30             ` Pranav Kant via ffmpeg-devel
2025-04-04 18:40               ` Pranav Kant via ffmpeg-devel
2025-04-15 23:22                 ` Pranav Kant via ffmpeg-devel
2025-04-29  1:19                   ` Pranav Kant via ffmpeg-devel
2025-05-06 23:24                     ` [FFmpeg-devel] [PATCH v6] " Pranav Kant via ffmpeg-devel
2025-05-06 23:27                       ` Pranav Kant via ffmpeg-devel
2025-05-07 12:15                     ` Rémi Denis-Courmont [this message]
2025-02-28  2:31 ` [FFmpeg-devel] [PATCH] " Lynne
2025-03-07  2:14   ` Pranav Kant via ffmpeg-devel

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=E3E1D652-0D9A-4729-BC22-8CB13FADF637@remlab.net \
    --to=remi@remlab.net \
    --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