This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Neels Hofmeyr gerrit-no-reply at lists.osmocom.orgReview at https://gerrit.osmocom.org/1045 NOT FOR MERGE: add ubsan failure to see if jenkins.sh catches it Change-Id: I6de7a703eee56a2f4875fef684b8050751b0b4ca --- M tests/bits/bitrev_test.c 1 file changed, 6 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/45/1045/1 diff --git a/tests/bits/bitrev_test.c b/tests/bits/bitrev_test.c index ed3939a..a4f4ea9 100644 --- a/tests/bits/bitrev_test.c +++ b/tests/bits/bitrev_test.c @@ -296,6 +296,9 @@ const uint8_t in1[] = { 0xF0, 0x0D, 0xCA, 0xFE, 0xDE, 0xAD, 0xBE, 0xEF }, in2[] = { 0xB0, 0x0B, 0xBA, 0xBE, 0xFA, 0xCE }; + long int ub = 100; + long int ub2; + for (offs = 0; offs < 13; offs++) { sh_chk(in1, ARRAY_SIZE(in1), offs, true); sh_chk(in1, ARRAY_SIZE(in1), offs, false); @@ -303,6 +306,9 @@ /* in2 is too short to shift left 12 nibbles */ if (offs < 12) sh_chk(in2, ARRAY_SIZE(in2), offs, false); + ub *= 546453978298369; + ub2 = ub << offs; + fprintf(stderr, "ub %ld\n", ub2); } return 0; } -- To view, visit https://gerrit.osmocom.org/1045 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I6de7a703eee56a2f4875fef684b8050751b0b4ca Gerrit-PatchSet: 1 Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>