<p>fixeria has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-trx/+/20965">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">main: do not log SIMD info messages to stdout, use stderr<br><br>Otherwise they end up in the automatically generated XML VTY reference.<br><br>Change-Id: I8e0fd728d406e2452c9c0ddad5bce5f6b17fab42<br>Related: SYS#4937, SYS#4910<br>---<br>M Transceiver52M/osmo-trx.cpp<br>1 file changed, 9 insertions(+), 9 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/65/20965/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/Transceiver52M/osmo-trx.cpp b/Transceiver52M/osmo-trx.cpp</span><br><span>index ba1c740..316cfc9 100644</span><br><span>--- a/Transceiver52M/osmo-trx.cpp</span><br><span>+++ b/Transceiver52M/osmo-trx.cpp</span><br><span>@@ -586,32 +586,32 @@</span><br><span>   g_trx_ctx = vty_trx_ctx_alloc(tall_trx_ctx);</span><br><span> </span><br><span> #ifdef HAVE_SSE3</span><br><span style="color: hsl(0, 100%, 40%);">-    printf("Info: SSE3 support compiled in");</span><br><span style="color: hsl(120, 100%, 40%);">+   fprintf(stderr, "Info: SSE3 support compiled in");</span><br><span> #ifdef HAVE___BUILTIN_CPU_SUPPORTS</span><br><span>   if (__builtin_cpu_supports("sse3"))</span><br><span style="color: hsl(0, 100%, 40%);">-           printf(" and supported by CPU\n");</span><br><span style="color: hsl(120, 100%, 40%);">+          fprintf(stderr, " and supported by CPU\n");</span><br><span>        else</span><br><span style="color: hsl(0, 100%, 40%);">-            printf(", but not supported by CPU\n");</span><br><span style="color: hsl(120, 100%, 40%);">+             fprintf(stderr, ", but not supported by CPU\n");</span><br><span> #else</span><br><span style="color: hsl(0, 100%, 40%);">-     printf(", but runtime SIMD detection disabled\n");</span><br><span style="color: hsl(120, 100%, 40%);">+  fprintf(stderr, ", but runtime SIMD detection disabled\n");</span><br><span> #endif</span><br><span> #endif</span><br><span> </span><br><span> #ifdef HAVE_SSE4_1</span><br><span style="color: hsl(0, 100%, 40%);">-     printf("Info: SSE4.1 support compiled in");</span><br><span style="color: hsl(120, 100%, 40%);">+ fprintf(stderr, "Info: SSE4.1 support compiled in");</span><br><span> #ifdef HAVE___BUILTIN_CPU_SUPPORTS</span><br><span>         if (__builtin_cpu_supports("sse4.1"))</span><br><span style="color: hsl(0, 100%, 40%);">-         printf(" and supported by CPU\n");</span><br><span style="color: hsl(120, 100%, 40%);">+          fprintf(stderr, " and supported by CPU\n");</span><br><span>        else</span><br><span style="color: hsl(0, 100%, 40%);">-            printf(", but not supported by CPU\n");</span><br><span style="color: hsl(120, 100%, 40%);">+             fprintf(stderr, ", but not supported by CPU\n");</span><br><span> #else</span><br><span style="color: hsl(0, 100%, 40%);">-     printf(", but runtime SIMD detection disabled\n");</span><br><span style="color: hsl(120, 100%, 40%);">+  fprintf(stderr, ", but runtime SIMD detection disabled\n");</span><br><span> #endif</span><br><span> #endif</span><br><span> </span><br><span> #ifndef HAVE_ATOMIC_OPS</span><br><span> #pragma message ("Built without atomic operation support. Using Mutex, it may affect performance!")</span><br><span style="color: hsl(0, 100%, 40%);">-       printf("Built without atomic operation support. Using Mutex, it may affect performance!\n");</span><br><span style="color: hsl(120, 100%, 40%);">+        fprintf(stderr, "Built without atomic operation support. Using Mutex, it may affect performance!\n");</span><br><span> #endif</span><br><span> </span><br><span>        convolve_init();</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-trx/+/20965">change 20965</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-trx/+/20965"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-trx </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I8e0fd728d406e2452c9c0ddad5bce5f6b17fab42 </div>
<div style="display:none"> Gerrit-Change-Number: 20965 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>