[FFmpeg-cvslog] checkasm/riscv: align the landing pads

Rémi Denis-Courmont git at videolan.org
Thu Jul 25 23:11:35 EEST 2024


ffmpeg | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jul 22 23:12:47 2024 +0300| [8030876d1c77f37a3528cc0c541f75ba8d39e9f4] | committer: Rémi Denis-Courmont

checkasm/riscv: align the landing pads

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8030876d1c77f37a3528cc0c541f75ba8d39e9f4
---

 tests/checkasm/riscv/checkasm.S | 3 +++
 1 file changed, 3 insertions(+)

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 */



More information about the ffmpeg-cvslog mailing list