Commit 100d7fdf31 for aom
commit 100d7fdf3117a5dbb945061e28e7429962f67bdb
Author: Li Zhang <li.zhang2@arm.com>
Date: Thu Feb 26 16:52:18 2026 +0000
arm: Fix warnings in pickrst_sve.h when compiling with GCC 15
Fix the missing braces around initializer warning when compiling with
GCC 15.
Change-Id: Ie0357f9fbac9a95b6102c1b016933ca14a8acf71
diff --git a/av1/encoder/arm/pickrst_sve.h b/av1/encoder/arm/pickrst_sve.h
index 81ff93c58a..ad036806df 100644
--- a/av1/encoder/arm/pickrst_sve.h
+++ b/av1/encoder/arm/pickrst_sve.h
@@ -21,12 +21,12 @@
// Swap each half of the dgd vectors so that we can accumulate the result of
// the dot-products directly in the destination matrix.
static inline int16x8x2_t transpose_dgd(int16x8_t dgd0, int16x8_t dgd1) {
- int16x8_t dgd_trn0 = vreinterpretq_s16_s64(
+ int16x8x2_t dgd_trn;
+ dgd_trn.val[0] = vreinterpretq_s16_s64(
vzip1q_s64(vreinterpretq_s64_s16(dgd0), vreinterpretq_s64_s16(dgd1)));
- int16x8_t dgd_trn1 = vreinterpretq_s16_s64(
+ dgd_trn.val[1] = vreinterpretq_s16_s64(
vzip2q_s64(vreinterpretq_s64_s16(dgd0), vreinterpretq_s64_s16(dgd1)));
-
- return (struct int16x8x2_t){ dgd_trn0, dgd_trn1 };
+ return dgd_trn;
}
static inline void compute_M_one_row_win5(int16x8_t src, int16x8_t dgd[5],