aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRémi Denis-Courmont <remi@remlab.net>2024-07-22 23:12:47 +0300
committerRémi Denis-Courmont <remi@remlab.net>2024-07-25 23:10:14 +0300
commit8030876d1c77f37a3528cc0c541f75ba8d39e9f4 (patch)
tree8da4234b4a3eeaa01cea18e392e24625b7225e68 /tests
parent7dde8be29fb7e27f2026e0d48d76eabc760de638 (diff)
downloadffmpeg-8030876d1c77f37a3528cc0c541f75ba8d39e9f4.tar.gz
checkasm/riscv: align the landing pads
Diffstat (limited to 'tests')
-rw-r--r--tests/checkasm/riscv/checkasm.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/checkasm/riscv/checkasm.S b/tests/checkasm/riscv/checkasm.S
index 835cc7d315..e8bcbb271e 100644
--- a/tests/checkasm/riscv/checkasm.S
+++ b/tests/checkasm/riscv/checkasm.S
@@ -75,6 +75,8 @@ func checkasm_get_wrapper, v
addi sp, sp, 16
ret
+ .option norvc
+ .align 2
2: /* <-- Entry point with the Vector extension --> */
lpad 0
/* Clobber the vectors */
@@ -92,6 +94,7 @@ func checkasm_get_wrapper, v
csrwi vxrm, 3 /* Rounding mode: round-to-odd */
csrwi vxsat, 1 /* Saturation: encountered */
+ .align 2
3: /* <-- Entry point without the Vector extension --> */
lpad 0
/* Save RA, unallocatable and callee-saved registers */