From: Nicolas George <george@nsup.org>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH] avcodec/x86/mathops: use constrained immediate operands
Date: Sun, 16 Jul 2023 11:42:46 +0200
Message-ID: <ZLO7lknFeTL4Hr4e@phare.normalesup.org> (raw)
In-Reply-To: <20230715235832.64221-1-jamrial@gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1219 bytes --]
James Almer (12023-07-15):
> Should fix assembling with binutil as >= 2.41
>
> Signed-off-by: James Almer <jamrial@gmail.com>
> ---
> This is IMO a big breakage. binutil's as has until now clipped these values on
> its own, and never required the compiler to do it.
I confirm it fixes the build failures on up-to-date Debian testing.
OTOH, I ran a benchmark (decoding some x264):
474134 mod
488751 orig
494359 mod
498554 orig
508958 orig
514246 orig
518160 mod
528427 orig
530223 mod
534762 mod
536415 orig
548434 orig
550789 orig
551716 mod
553951 orig
561754 orig
572688 mod
580254 mod
581205 orig
583856 mod
583939 orig
584748 orig
594143 orig
600681 mod
607596 mod
612757 mod
621033 orig
624567 orig
626346 mod
627309 mod
628242 mod
638344 mod
The numbers are the sum of the “user” column of the -benchmark_all
output, on an AMD Ryzen 3 3200U and Debaian stable. The mod lines are
when I disabled the two faulty functions.
They are all over the place, it is hard to be sure, but it seems to
indicate that, as you suspected, the benefit is not that big.
Regards,
--
Nicolas George
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
[-- Attachment #2: 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".
prev parent reply other threads:[~2023-07-16 9:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-15 23:58 James Almer
2023-07-16 9:23 ` Rémi Denis-Courmont
2023-07-16 11:55 ` James Almer
2023-07-16 12:23 ` Rémi Denis-Courmont
2023-07-16 9:42 ` Nicolas George [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=ZLO7lknFeTL4Hr4e@phare.normalesup.org \
--to=george@nsup.org \
--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