aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/common
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2017-03-15 18:09:35 +0100
committerTom Tsou <tom@tsou.cc>2017-05-19 17:12:45 +0000
commit7e07cf23464532ca156fe4ea4430928da2cbbff1 (patch)
tree8494a34c4eafe147c408f4da17b853e15b1754e1 /Transceiver52M/common
parentdfe0aef184e5c98136a38f6c604a9f6171574671 (diff)
ssedetect: Add runtime CPU detection
The current implementation can select the SSE support level during compiletime only. This commit adds functionality to automatically detect and switch the SSE support level and automatically switch the Implementation if the CPU does not support the required SSE level. Change-Id: Iba74f8a6e4e921ff31e4bd9f0c7c881fe547423a
Diffstat (limited to 'Transceiver52M/common')
-rw-r--r--Transceiver52M/common/convert.h1
-rw-r--r--Transceiver52M/common/convolve.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/Transceiver52M/common/convert.h b/Transceiver52M/common/convert.h
index 4827c28..1d3a180 100644
--- a/Transceiver52M/common/convert.h
+++ b/Transceiver52M/common/convert.h
@@ -3,5 +3,6 @@
void convert_float_short(short *out, const float *in, float scale, int len);
void convert_short_float(float *out, const short *in, int len);
+void convert_init(void);
#endif /* _CONVERT_H_ */
diff --git a/Transceiver52M/common/convolve.h b/Transceiver52M/common/convolve.h
index 08bda0c..43db577 100644
--- a/Transceiver52M/common/convolve.h
+++ b/Transceiver52M/common/convolve.h
@@ -27,4 +27,6 @@ int base_convolve_complex(const float *x, int x_len,
int start, int len,
int step, int offset);
+void convolve_init(void);
+
#endif /* _CONVOLVE_H_ */