Skip to content

Commit 442f292

Browse files
committed
Run clang-format
Signed-off-by: John Sallay <[email protected]>
1 parent 468cf2a commit 442f292

File tree

4 files changed

+22
-16
lines changed

4 files changed

+22
-16
lines changed

kernels/volk/volk_32fc_index_max_16u.h

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,9 @@ static inline void volk_32fc_index_max_16u_a_avx2_variant_1(uint16_t* target,
193193
#include <pmmintrin.h>
194194
#include <xmmintrin.h>
195195

196-
static inline void
197-
volk_32fc_index_max_16u_a_sse3(uint16_t* target, const lv_32fc_t* src0, uint32_t num_points)
196+
static inline void volk_32fc_index_max_16u_a_sse3(uint16_t* target,
197+
const lv_32fc_t* src0,
198+
uint32_t num_points)
198199
{
199200
num_points = (num_points > USHRT_MAX) ? USHRT_MAX : num_points;
200201
const uint32_t num_bytes = num_points * 8;
@@ -308,8 +309,9 @@ volk_32fc_index_max_16u_a_sse3(uint16_t* target, const lv_32fc_t* src0, uint32_t
308309
#endif /*LV_HAVE_SSE3*/
309310

310311
#ifdef LV_HAVE_GENERIC
311-
static inline void
312-
volk_32fc_index_max_16u_generic(uint16_t* target, const lv_32fc_t* src0, uint32_t num_points)
312+
static inline void volk_32fc_index_max_16u_generic(uint16_t* target,
313+
const lv_32fc_t* src0,
314+
uint32_t num_points)
313315
{
314316
num_points = (num_points > USHRT_MAX) ? USHRT_MAX : num_points;
315317

@@ -501,8 +503,9 @@ volk_32fc_index_max_16u_rvv(uint16_t* target, const lv_32fc_t* src0, uint32_t nu
501503
#include <float.h>
502504
#include <riscv_vector.h>
503505

504-
static inline void
505-
volk_32fc_index_max_16u_rvvseg(uint16_t* target, const lv_32fc_t* src0, uint32_t num_points)
506+
static inline void volk_32fc_index_max_16u_rvvseg(uint16_t* target,
507+
const lv_32fc_t* src0,
508+
uint32_t num_points)
506509
{
507510
vfloat32m4_t vmax = __riscv_vfmv_v_f_f32m4(0, __riscv_vsetvlmax_e32m4());
508511
vuint16m2_t vmaxi = __riscv_vmv_v_x_u16m2(0, __riscv_vsetvlmax_e16m2());

kernels/volk/volk_32fc_index_max_32u.h

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,9 @@ static inline void volk_32fc_index_max_32u_a_avx2_variant_1(uint32_t* target,
181181
#include <pmmintrin.h>
182182
#include <xmmintrin.h>
183183

184-
static inline void
185-
volk_32fc_index_max_32u_a_sse3(uint32_t* target, const lv_32fc_t* src0, uint32_t num_points)
184+
static inline void volk_32fc_index_max_32u_a_sse3(uint32_t* target,
185+
const lv_32fc_t* src0,
186+
uint32_t num_points)
186187
{
187188
const uint32_t num_bytes = num_points * 8;
188189

@@ -295,8 +296,9 @@ volk_32fc_index_max_32u_a_sse3(uint32_t* target, const lv_32fc_t* src0, uint32_t
295296
#endif /*LV_HAVE_SSE3*/
296297

297298
#ifdef LV_HAVE_GENERIC
298-
static inline void
299-
volk_32fc_index_max_32u_generic(uint32_t* target, const lv_32fc_t* src0, uint32_t num_points)
299+
static inline void volk_32fc_index_max_32u_generic(uint32_t* target,
300+
const lv_32fc_t* src0,
301+
uint32_t num_points)
300302
{
301303
const uint32_t num_bytes = num_points * 8;
302304

@@ -542,8 +544,9 @@ volk_32fc_index_max_32u_rvv(uint32_t* target, const lv_32fc_t* src0, uint32_t nu
542544
#include <float.h>
543545
#include <riscv_vector.h>
544546

545-
static inline void
546-
volk_32fc_index_max_32u_rvvseg(uint32_t* target, const lv_32fc_t* src0, uint32_t num_points)
547+
static inline void volk_32fc_index_max_32u_rvvseg(uint32_t* target,
548+
const lv_32fc_t* src0,
549+
uint32_t num_points)
547550
{
548551
vfloat32m4_t vmax = __riscv_vfmv_v_f_f32m4(0, __riscv_vsetvlmax_e32m4());
549552
vuint32m4_t vmaxi = __riscv_vmv_v_x_u32m4(0, __riscv_vsetvlmax_e32m4());

kernels/volk/volk_32fc_x2_s32f_square_dist_scalar_mult_32f.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
*
1818
* <b>Dispatcher Prototype</b>
1919
* \code
20-
* void volk_32fc_x2_s32f_square_dist_scalar_mult_32f(float* target, const lv_32fc_t* src0,
21-
* const lv_32fc_t* points, float scalar, unsigned int num_points) \endcode
20+
* void volk_32fc_x2_s32f_square_dist_scalar_mult_32f(float* target, const lv_32fc_t*
21+
* src0, const lv_32fc_t* points, float scalar, unsigned int num_points) \endcode
2222
*
2323
* \b Inputs
2424
* \li src0: The complex input. Only the first point is used.

kernels/volk/volk_32fc_x2_square_dist_32f.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
*
1818
* <b>Dispatcher Prototype</b>
1919
* \code
20-
* void volk_32fc_x2_square_dist_32f(float* target, const lv_32fc_t* src0, lv_32fc_t* points,
21-
* unsigned int num_points) { \endcode
20+
* void volk_32fc_x2_square_dist_32f(float* target, const lv_32fc_t* src0, lv_32fc_t*
21+
* points, unsigned int num_points) { \endcode
2222
*
2323
* \b Inputs
2424
* \li src0: The complex input. Only the first point is used.

0 commit comments

Comments
 (0)