aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/arch/common/convolve_base.c
diff options
context:
space:
mode:
authorEric <ewild@sysmocom.de>2022-06-08 12:45:39 +0200
committerEric <ewild@sysmocom.de>2022-07-11 20:33:37 +0200
commita1b77e9b24f728d2a97934e5a317830cd4d207c1 (patch)
tree506438cfa4053c4dc6c3d97a2d0f257172781ecd /Transceiver52M/arch/common/convolve_base.c
parentd9883b11a123b6301e61701a6cf721823f14e9d0 (diff)
xray ignores
tiny functions, do not want. Change-Id: Ie55458f31d16e76e84855ed2c634a9dd9a5e139b
Diffstat (limited to 'Transceiver52M/arch/common/convolve_base.c')
-rw-r--r--Transceiver52M/arch/common/convolve_base.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/Transceiver52M/arch/common/convolve_base.c b/Transceiver52M/arch/common/convolve_base.c
index 3765c5c..ec08d55 100644
--- a/Transceiver52M/arch/common/convolve_base.c
+++ b/Transceiver52M/arch/common/convolve_base.c
@@ -24,6 +24,7 @@
#endif
/* Base multiply and accumulate complex-real */
+__attribute__((xray_never_instrument))
static void mac_real(const float *x, const float *h, float *y)
{
y[0] += x[0] * h[0];
@@ -31,6 +32,7 @@ static void mac_real(const float *x, const float *h, float *y)
}
/* Base multiply and accumulate complex-complex */
+__attribute__((xray_never_instrument))
static void mac_cmplx(const float *x, const float *h, float *y)
{
y[0] += x[0] * h[0] - x[1] * h[1];
@@ -38,6 +40,7 @@ static void mac_cmplx(const float *x, const float *h, float *y)
}
/* Base vector complex-complex multiply and accumulate */
+__attribute__((xray_never_instrument))
static void mac_real_vec_n(const float *x, const float *h, float *y,
int len)
{
@@ -46,6 +49,7 @@ static void mac_real_vec_n(const float *x, const float *h, float *y,
}
/* Base vector complex-complex multiply and accumulate */
+__attribute__((xray_never_instrument))
static void mac_cmplx_vec_n(const float *x, const float *h, float *y,
int len)
{
@@ -54,6 +58,7 @@ static void mac_cmplx_vec_n(const float *x, const float *h, float *y,
}
/* Base complex-real convolution */
+__attribute__((xray_never_instrument))
int _base_convolve_real(const float *x, int x_len,
const float *h, int h_len,
float *y, int y_len,
@@ -69,6 +74,7 @@ int _base_convolve_real(const float *x, int x_len,
}
/* Base complex-complex convolution */
+__attribute__((xray_never_instrument))
int _base_convolve_complex(const float *x, int x_len,
const float *h, int h_len,
float *y, int y_len,
@@ -85,6 +91,7 @@ int _base_convolve_complex(const float *x, int x_len,
}
/* Buffer validity checks */
+__attribute__((xray_never_instrument))
int bounds_check(int x_len, int h_len, int y_len,
int start, int len)
{
@@ -105,6 +112,7 @@ int bounds_check(int x_len, int h_len, int y_len,
}
/* API: Non-aligned (no SSE) complex-real */
+__attribute__((xray_never_instrument))
int base_convolve_real(const float *x, int x_len,
const float *h, int h_len,
float *y, int y_len,
@@ -122,6 +130,7 @@ int base_convolve_real(const float *x, int x_len,
}
/* API: Non-aligned (no SSE) complex-complex */
+__attribute__((xray_never_instrument))
int base_convolve_complex(const float *x, int x_len,
const float *h, int h_len,
float *y, int y_len,
@@ -139,6 +148,7 @@ int base_convolve_complex(const float *x, int x_len,
}
/* Aligned filter tap allocation */
+__attribute__((xray_never_instrument))
void *convolve_h_alloc(size_t len)
{
#ifdef HAVE_SSE3