[FFmpeg-devel] [PATCH 2/2] aarch64: Add Armv8.5-A BTI support

Jonathan Wright Jonathan.Wright at arm.com
Fri Nov 12 19:37:13 EET 2021


Hi,

This patch adds Branch Target Identifiers (BTIs) to all functions defined
in AArch64 assembly files. Most of the BTI landing pads are added
automatically by the 'function' macro.

BTI support is turned on or off at compile time based on the presence
of the __ARM_FEATURE_BTI_DEFAULT feature macro.

A binary compiled with BTI support can be executed on an Armv8-A
processor without BTI support because the instructions are defined in
NOP space.

Regression tested in in a BTI-enabled environment - 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-Add-Armv8.5-A-BTI-support.patch
Type: application/octet-stream
Size: 4951 bytes
Desc: 0001-aarch64-Add-Armv8.5-A-BTI-support.patch
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20211112/929891b1/attachment.obj>


More information about the ffmpeg-devel mailing list