[FFmpeg-devel] [PATCH 3/5] x86inc: Prefer r14/r15 over r12/r13 on x86-64
Ronald S. Bultje
rsbultje at gmail.com
Fri Jun 9 14:41:24 EEST 2017
Hi,
On Thu, Jun 8, 2017 at 7:05 PM, James Darnley <jdarnley at obe.tv> wrote:
> From: Henrik Gramner <henrik at gramner.com>
>
> Due to a peculiarity in the ModR/M addressing encoding, the r12 and r13
> registers sometimes requires an additional byte when used as a base
> register.
>
> r14 and r15 doesn't have that issue, so prefer using them.
> ---
> libavutil/x86/x86inc.asm | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
LGTM.
Ronald
More information about the ffmpeg-devel
mailing list