Attention is currently required from: Hoernchen.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-trx/+/30967 )
Change subject: ms: update submodule to currently known working version
......................................................................
Patch Set 3:
(1 comment)
File Transceiver52M/ms/ms.h:
https://gerrit.osmocom.org/c/osmo-trx/+/30967/comment/9d45982e_9d65af8c
PS3, Line 88: template <typename T>
unrelated?
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/30967
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I690f508d1f0cee0b623196dd4574c3ee456f07fa
Gerrit-Change-Number: 30967
Gerrit-PatchSet: 3
Gerrit-Owner: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 13 Jan 2023 13:41:02 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: pespin.
Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-trx/+/30966
to look at the new patch set (#2).
Change subject: ms: adjust float<->integral type conversion
......................................................................
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
---
M Transceiver52M/Complex.h
M Transceiver52M/ms/ms.cpp
M Transceiver52M/ms/ms.h
M Transceiver52M/ms/ms_rx_burst_test.cpp
M Transceiver52M/ms/ms_rx_lower.cpp
M Transceiver52M/ms/ms_upper.cpp
6 files changed, 56 insertions(+), 21 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/66/30966/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/30966
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I93f077f967daf2ed382d12cc20a54846b3688634
Gerrit-Change-Number: 30966
Gerrit-PatchSet: 2
Gerrit-Owner: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newpatchset
Attention is currently required from: Hoernchen.
Hello Jenkins Builder, fixeria, pespin,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-trx/+/30967
to look at the new patch set (#2).
Change subject: ms: update submodule to currently known working version
......................................................................
ms: update submodule to currently known working version
Change-Id: I690f508d1f0cee0b623196dd4574c3ee456f07fa
---
M Transceiver52M/ms/ms.h
M osmocom-bb
2 files changed, 3 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/67/30967/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/30967
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I690f508d1f0cee0b623196dd4574c3ee456f07fa
Gerrit-Change-Number: 30967
Gerrit-PatchSet: 2
Gerrit-Owner: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: Hoernchen <ewild(a)sysmocom.de>
Gerrit-MessageType: newpatchset
Attention is currently required from: pespin.
Hoernchen has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-trx/+/30966 )
Change subject: ms: adjust float<->integral type conversion
......................................................................
Patch Set 1:
(6 comments)
Commit Message:
https://gerrit.osmocom.org/c/osmo-trx/+/30966/comment/d07eba64_4b45966d
PS1, Line 11: split the two cases.
> can you pinpoint where did you "split the two cases"? I'm either not understand correctly or I didn' […]
Take a closer look at the () + args, as explained in the message...
File Transceiver52M/Complex.h:
https://gerrit.osmocom.org/c/osmo-trx/+/30966/comment/8cc4c948_cc3e3bb8
PS1, Line 32: typedef Real value_type;
> why this typedef?
To make the template work with the useless hand-rolled osmo-trx complex class that is not std::complex. Unfortunately osmo-trx has a Complex<T> typedefed as "complex" that is not really compatible with the plain old std::complex that is being used everywhere and which should be removed at some point, just like the weird "vector" class..
File Transceiver52M/ms/ms.h:
https://gerrit.osmocom.org/c/osmo-trx/+/30966/comment/6be5b02b_b8e820d8
PS1, Line 58: namespace cvt_internal
> please put some new line spacing between blocks inside here, otherwise it's hard to read.
Done
https://gerrit.osmocom.org/c/osmo-trx/+/30966/comment/edb8fe93_7b79e265
PS1, Line 66: template <typename DST_T, typename ST>
> I don't think I'm following here. […]
() + args!
There still is only one three type template with proper type deduction that serves as the public interface, see usage pattern changes in the other files.
https://gerrit.osmocom.org/c/osmo-trx/+/30966/comment/22626425_8a1b894e
PS1, Line 72: template <typename ST> void convert_and_scale_i(float *dst, const float *src, unsigned int src_len, ST scale)
> you have the template in a new line in functions above, but here in the same one.
Fixed by adjusting the clang-format file.
File Transceiver52M/ms/ms_upper.cpp:
https://gerrit.osmocom.org/c/osmo-trx/+/30966/comment/a2e54fa0_b5f8a3d2
PS1, Line 465: fesetround(FE_TOWARDZERO);
> can you explain why are you dropping this?
Original hack related to rounding misadventures.
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/30966
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I93f077f967daf2ed382d12cc20a54846b3688634
Gerrit-Change-Number: 30966
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 13 Jan 2023 13:24:38 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmocom-bb/+/30969 )
Change subject: layer23: mobile: Several fixes and improvements in show_ms_cmd
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/30969
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I4a55328e71ec16355974c20275c0e525077252e1
Gerrit-Change-Number: 30969
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 13 Jan 2023 13:03:03 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment