Re: [FFmpeg-devel] [PATCH] x86inc: Add REPX macro to repeat instructions/operations

2023-11-08 Thread Anton Khirnov
Quoting Henrik Gramner via ffmpeg-devel (2023-10-01 19:55:57) > On Fri, Sep 29, 2023 at 1:38 PM Frank Plowman wrote: > > libavutil/x86/x86inc.asm | 10 ++ > > 1 file changed, 10 insertions(+) > > LGTM. pushed -- Anton Khirnov ___ ffmpeg-deve

Re: [FFmpeg-devel] [PATCH] x86inc: Add REPX macro to repeat instructions/operations

2023-10-01 Thread Henrik Gramner via ffmpeg-devel
On Fri, Sep 29, 2023 at 1:38 PM Frank Plowman wrote: > libavutil/x86/x86inc.asm | 10 ++ > 1 file changed, 10 insertions(+) LGTM. As a side note https://code.videolan.org/videolan/x86inc.asm is the upstream repo for x86inc.asm. ___ ffmpeg-deve

[FFmpeg-devel] [PATCH] x86inc: Add REPX macro to repeat instructions/operations

2023-09-29 Thread Frank Plowman
From: Henrik Gramner When operating on large blocks of data it's common to repeatedly use an instruction on multiple registers. Using the REPX macro makes it easy to quickly write dense code to achieve this without having to explicitly duplicate the same instruction over and over. For example,