osmo-trx/Transceiver52M/ms
Eric Wild 621a49eb69 ms: adjust float<->integral type conversion
Given integral type A and non integral type B and depending on rounding
mode, optimization, compiler, and phase of the moon A(A)*B != A(A*B) so
split the two cases.

While at it, also make the template automagically work for complex types
instead of requiring manual casts, the general idea here is to allow
inlining and vectorization by treating all args as plain arrays, which is fine.

This works as expected with -tune=native, x64 implies sse2, and we do not
target any neon-less arm versions either.

Clang only array length hints can improve this even more.

Change-Id: I93f077f967daf2ed382d12cc20a54846b3688634
2023-03-02 18:22:37 +01:00
..
bladerf_specific.h ms-trx support 2022-12-23 13:41:13 +00:00
itrq.h ms-trx support 2022-12-23 13:41:13 +00:00
l1ctl_server.c ms-trx support 2022-12-23 13:41:13 +00:00
l1ctl_server_cb.cpp ms-trx support 2022-12-23 13:41:13 +00:00
logging.c ms-trx support 2022-12-23 13:41:13 +00:00
ms.cpp ms: adjust float<->integral type conversion 2023-03-02 18:22:37 +01:00
ms.h ms: adjust float<->integral type conversion 2023-03-02 18:22:37 +01:00
ms_rx_burst.h ms-trx support 2022-12-23 13:41:13 +00:00
ms_rx_burst_test.cpp ms: adjust float<->integral type conversion 2023-03-02 18:22:37 +01:00
ms_rx_lower.cpp ms: adjust float<->integral type conversion 2023-03-02 18:22:37 +01:00
ms_upper.cpp ms: adjust float<->integral type conversion 2023-03-02 18:22:37 +01:00
ms_upper.h ms-trx support 2022-12-23 13:41:13 +00:00
sch.c ms-trx support 2022-12-23 13:41:13 +00:00
sch.h ms-trx support 2022-12-23 13:41:13 +00:00
uhd_specific.h mstrx: do not wait forever if clock locking fails 2023-01-11 18:57:51 +01:00