From ccdf870348764e4b77fa3b56accb2a896a901bad Mon Sep 17 00:00:00 2001 From: George Steed Date: Tue, 28 Jan 2025 10:21:16 +0000 Subject: [PATCH] [AArch64] Fix up inline asm name in Convert8To8Row_SVE_SC The existing implementation mistakenly refers to the parameter %2. This works fine however the parameter is already named %[width], and using the name should be preferred. Change-Id: Ifaf8fc83cdfc9b15c79d52e7e47cb72b53270a12 Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/6225753 Reviewed-by: Frank Barchard --- include/libyuv/row_sve.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/libyuv/row_sve.h b/include/libyuv/row_sve.h index 1e10c1e9a..14a4980f5 100644 --- a/include/libyuv/row_sve.h +++ b/include/libyuv/row_sve.h @@ -1765,8 +1765,8 @@ static inline void Convert8To8Row_SVE_SC(const uint8_t* src_y, "b.eq 99f \n" // Calculate predicates for the final iteration to deal with the tail. - "whilelt p0.b, wzr, %w2 \n" - "whilelt p1.b, %w[vl], %w2 \n" // + "whilelt p0.b, wzr, %w[width] \n" + "whilelt p1.b, %w[vl], %w[width] \n" // CONVERT8TO8_SVE "99: \n"