Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
vppinfra: Fix extendto_high aarch64 NEON api.
[vpp.git]
/
src
/
vppinfra
/
vector_neon.h
diff --git
a/src/vppinfra/vector_neon.h
b/src/vppinfra/vector_neon.h
index
40e062e
..
f6d953c
100644
(file)
--- a/
src/vppinfra/vector_neon.h
+++ b/
src/vppinfra/vector_neon.h
@@
-142,6
+142,12
@@
u32x4_extend_to_u64x2 (u32x4 v)
return vmovl_u32 (vget_low_u32 (v));
}
return vmovl_u32 (vget_low_u32 (v));
}
+static_always_inline u64x2
+u32x4_extend_to_u64x2_high (u32x4 v)
+{
+ return vmovl_high_u32 (v);
+}
+
#define CLIB_HAVE_VEC128_UNALIGNED_LOAD_STORE
#define CLIB_VEC128_SPLAT_DEFINED
#endif /* included_vector_neon_h */
#define CLIB_HAVE_VEC128_UNALIGNED_LOAD_STORE
#define CLIB_VEC128_SPLAT_DEFINED
#endif /* included_vector_neon_h */