diff options
author | Eric <ewild@sysmocom.de> | 2022-06-08 12:45:39 +0200 |
---|---|---|
committer | Eric <ewild@sysmocom.de> | 2022-07-11 20:33:37 +0200 |
commit | a1b77e9b24f728d2a97934e5a317830cd4d207c1 (patch) | |
tree | 506438cfa4053c4dc6c3d97a2d0f257172781ecd /Transceiver52M/arch/common | |
parent | d9883b11a123b6301e61701a6cf721823f14e9d0 (diff) |
xray ignores
tiny functions, do not want.
Change-Id: Ie55458f31d16e76e84855ed2c634a9dd9a5e139b
Diffstat (limited to 'Transceiver52M/arch/common')
-rw-r--r-- | Transceiver52M/arch/common/convert_base.c | 2 | ||||
-rw-r--r-- | Transceiver52M/arch/common/convolve_base.c | 10 |
2 files changed, 12 insertions, 0 deletions
diff --git a/Transceiver52M/arch/common/convert_base.c b/Transceiver52M/arch/common/convert_base.c index 9a01a1e..55bff13 100644 --- a/Transceiver52M/arch/common/convert_base.c +++ b/Transceiver52M/arch/common/convert_base.c @@ -17,6 +17,7 @@ #include "convert.h" +__attribute__((xray_never_instrument)) void base_convert_float_short(short *out, const float *in, float scale, int len) { @@ -24,6 +25,7 @@ void base_convert_float_short(short *out, const float *in, out[i] = in[i] * scale; } +__attribute__((xray_never_instrument)) void base_convert_short_float(float *out, const short *in, int len) { for (int i = 0; i < len; i++) 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 |