aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vp9dsp_8bpp.c
diff options
context:
space:
mode:
authorRémi Denis-Courmont <remi@remlab.net>2024-07-29 22:33:16 +0300
committerRémi Denis-Courmont <remi@remlab.net>2024-08-01 18:44:01 +0300
commit656a9664bf828fc19b1e5a6e982bbcad456d1092 (patch)
tree55a6dbf58e11045109b7cdcca73966db7f4d8725 /libavcodec/vp9dsp_8bpp.c
parent54b1970c60743eb1ce971d66c6b6230a36040687 (diff)
downloadffmpeg-656a9664bf828fc19b1e5a6e982bbcad456d1092.tar.gz
checkasm/riscv: preserve T1 whilst calling...
This preserves T1 whilst calling the instrumented function. In a Sci-Fi setting where type-based Control Flow Integrity (CFI) is supported, the calling code (i.e., the `checkasm` test case) will set T1 to the expected value of the landing pad label (LPL) of the instrumented function. The call wrapper will always use LPL zero which is a wild card. We should preserve the value of T1 at least until the indirect call to the instrumented function. Of course this is Sci-Fi, because: 1) there is no hardware (or even QEMU) support yet, 2) all our assembler functions currently use LPL zero anyway. This uses T3 rather than T2 because indirect branches with T2 is reserved for notionally direct calls made with an indirect call instruction (e.g. due to GOT indirection), and are exempted from forward-edge CFI checks.
Diffstat (limited to 'libavcodec/vp9dsp_8bpp.c')
0 files changed, 0 insertions, 0 deletions