[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 19:30:03 EET 2021


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-aarch64-Use-ret-x-n-instead-of-br-x-n-where-possible.patch
Type: application/octet-stream
Size: 22897 bytes
Desc: 0001-aarch64-Use-ret-x-n-instead-of-br-x-n-where-possible.patch
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20211112/f561d9f5/attachment.obj>


More information about the ffmpeg-devel mailing list