aboutsummaryrefslogtreecommitdiffstats
path: root/tests/checkasm/checkasm.c
diff options
context:
space:
mode:
authorRémi Denis-Courmont <remi@remlab.net>2024-07-22 22:15:49 +0300
committerRémi Denis-Courmont <remi@remlab.net>2024-07-25 23:10:14 +0300
commit631960134383d61bb5203d476906cdedd447d60f (patch)
tree6514e391175e239728309f24b049c204d0aab77c /tests/checkasm/checkasm.c
parent982376660c58f59a384486894a3f1092d6888e4b (diff)
downloadffmpeg-631960134383d61bb5203d476906cdedd447d60f.tar.gz
lavu/riscv: assembly for zicfilp LPAD
This instruction, if aligned on a 4-byte boundary, defines a valid target ("landing pad") for an indirect call or jump. Since this instruction is a HINT, it is safe to assemble even if not included in the target instruction set architecture. The necessary alignment is already provided by the `func` macro. However this still lacks the ELF attribute to indicate that the zicfilp is supported in simple mode. This is left for future work as the ELF specification is not ratified as of yet. This will also nonobviously require the assembler to support zicfilp, insofar as the `tail` pseudo-instruction shall clobber T2 (instead of T1) as its temporary register.
Diffstat (limited to 'tests/checkasm/checkasm.c')
0 files changed, 0 insertions, 0 deletions