[FFmpeg-devel] [PATCH 1/2] aarch64: Use ret x<n> instead of br x<n> where possible

Jonathan Wright Jonathan.Wright at arm.com
Fri Nov 12 21:03:22 EET 2021


Resend patch as a text attachment...

Apologies,
Jonathan

________________________________________
From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> on behalf of Jonathan Wright <Jonathan.Wright at arm.com>
Sent: 12 November 2021 17:30
To: ffmpeg-devel at ffmpeg.org
Cc: martin at martin.st
Subject: [FFmpeg-devel] [PATCH 1/2] aarch64: Use ret x<n> instead of br x<n> where possible

Hi,

This patch changes all AArch64 assembly code to use:
  ret     x<n>
instead of:
  br      x<n>

"ret x<n>" is already used in a lot of places so this patch makes it
consistent across the code base. This does not change behavior or
performance.

In addition, this change reduces the number of landing pads needed in
a subsequent patch to support the Armv8.5-A Branch Target
Identification (BTI) security feature.

Regression tested and no issues. Could someone take a look and
merge?

Thanks,
Jonathan
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-aarch64-Use-ret-x-n-instead-of-br-x-n-where-possible.txt
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20211112/9e018b1d/attachment.txt>


More information about the ffmpeg-devel mailing list