patches for DPDK stable branches
 help / color / mirror / Atom feed
* [PATCH] eal: fix alignment of RISCV xmm vector type
@ 2023-11-15 21:16 Tyler Retzlaff
  2023-11-15 21:31 ` Morten Brørup
  0 siblings, 1 reply; 7+ messages in thread
From: Tyler Retzlaff @ 2023-11-15 21:16 UTC (permalink / raw)
  To: dev; +Cc: Michal Mazurek, Stanislaw Kardach, mb, Tyler Retzlaff, stable

Fix the alignment for rte_xmm_t it should be 16 instead of 8 bytes.

Fixes: f22e705ebf12 ("eal/riscv: support RISC-V architecture")
Cc: maz@semihalf.com
Cc: stable@dpdk.org
Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
---
 lib/eal/riscv/include/rte_vect.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/eal/riscv/include/rte_vect.h b/lib/eal/riscv/include/rte_vect.h
index 2f97f43..da9092a 100644
--- a/lib/eal/riscv/include/rte_vect.h
+++ b/lib/eal/riscv/include/rte_vect.h
@@ -29,7 +29,7 @@
 	uint32_t	u32[XMM_SIZE / sizeof(uint32_t)];
 	uint64_t	u64[XMM_SIZE / sizeof(uint64_t)];
 	double		pd[XMM_SIZE / sizeof(double)];
-} __rte_aligned(8) rte_xmm_t;
+} __rte_aligned(16) rte_xmm_t;
 
 static inline xmm_t
 vect_load_128(void *p)
-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-11-18  8:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-15 21:16 [PATCH] eal: fix alignment of RISCV xmm vector type Tyler Retzlaff
2023-11-15 21:31 ` Morten Brørup
2023-11-15 23:20   ` Stanisław Kardach
2023-11-16  7:45     ` Morten Brørup
2023-11-17 10:54       ` Bruce Richardson
2023-11-17 11:18         ` Morten Brørup
2023-11-18  8:04           ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).