From 90d05bc7fb834b5cf25bdd9bb6d92bb35e602494 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Mon, 31 Aug 2020 17:18:26 +0200 Subject: vppinfra: convert A_extend_to_B to B_from_A format of vector inlines Make it shorter and same format when converting to biggor or smaller types. Type: refactor Change-Id: I443d67e18ae65d779b4d9a0dce5406f7d9f0e4ac Signed-off-by: Damjan Marion --- src/vppinfra/vector_neon.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vppinfra/vector_neon.h') diff --git a/src/vppinfra/vector_neon.h b/src/vppinfra/vector_neon.h index 15af098730e..ffcbe702d24 100644 --- a/src/vppinfra/vector_neon.h +++ b/src/vppinfra/vector_neon.h @@ -122,13 +122,13 @@ u32x4_hadd (u32x4 v1, u32x4 v2) } static_always_inline u64x2 -u32x4_extend_to_u64x2 (u32x4 v) +u64x2_from_u32x4 (u32x4 v) { return vmovl_u32 (vget_low_u32 (v)); } static_always_inline u64x2 -u32x4_extend_to_u64x2_high (u32x4 v) +u64x2_from_u32x4_high (u32x4 v) { return vmovl_high_u32 (v); } -- cgit 1.2.3-korg