[FFmpeg-cvslog] checkasm/riscv: test misaligned before V

Rémi Denis-Courmont git at videolan.org
Fri May 24 17:55:06 EEST 2024


ffmpeg | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue May 21 20:50:03 2024 +0300| [d03cdfa2b6d7dd42cdaa349ddc11f406a0ffba19] | committer: Rémi Denis-Courmont

checkasm/riscv: test misaligned before V

Otherwise V functions mask scalar misaligned ones.

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

 tests/checkasm/checkasm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/checkasm/checkasm.c b/tests/checkasm/checkasm.c
index b1c175b95d..66fde26945 100644
--- a/tests/checkasm/checkasm.c
+++ b/tests/checkasm/checkasm.c
@@ -281,6 +281,7 @@ static const struct {
     { "POWER8",   "power8",   AV_CPU_FLAG_POWER8 },
 #elif ARCH_RISCV
     { "RVI",      "rvi",      AV_CPU_FLAG_RVI },
+    { "misaligned", "misaligned", AV_CPU_FLAG_RV_MISALIGNED },
     { "RVF",      "rvf",      AV_CPU_FLAG_RVF },
     { "RVD",      "rvd",      AV_CPU_FLAG_RVD },
     { "RVBaddr",  "rvb_a",    AV_CPU_FLAG_RVB_ADDR },
@@ -290,7 +291,6 @@ static const struct {
     { "RVVi64",   "rvv_i64",  AV_CPU_FLAG_RVV_I64 },
     { "RVVf64",   "rvv_f64",  AV_CPU_FLAG_RVV_F64 },
     { "RV_Zvbb",  "rv_zvbb",  AV_CPU_FLAG_RV_ZVBB },
-    { "misaligned", "misaligned", AV_CPU_FLAG_RV_MISALIGNED },
 #elif ARCH_MIPS
     { "MMI",      "mmi",      AV_CPU_FLAG_MMI },
     { "MSA",      "msa",      AV_CPU_FLAG_MSA },



More information about the ffmpeg-cvslog mailing list