Hi,

The use of RET vs BR also has microarchitectural side effects. AFAIU, RET 
should always be paired with an earlier BL/BLR to avoid interfering with branch 
prediction.

So depending on the circumstances, either one of these should be addressed:
* Clarify that this is actually a function return , and RET should be used 
anyway, regardless of BTI.
* Keep BR and add BTI J landing pads where appropriate, if this wasn't really a 
function return.

Br,
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to