<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix"><br>
      Mike Bryant:<br>
    </div>
    <blockquote
      cite="mid:968fdc7bf3ac49649f475a7d8971c0a9@futurehorizons.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:13772274;
        mso-list-type:hybrid;
        mso-list-template-ids:-1791729910 337821270 134807555 134807557 134807553 134807555 134807557 134807553 134807555 134807557;}
@list l0:level1
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;
        mso-fareast-font-family:"Times New Roman";
        mso-bidi-font-family:Helvetica;
        color:#1F497D;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p>
          </o:p></span><span
          style="font-family:"Helvetica","sans-serif""><o:p></o:p></span><span
style="font-family:"Helvetica","sans-serif";color:#1F497D"><o:p></o:p></span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">We
          actually still use CubeIDE to create the clock tree and I/O
          list.  But if you look for one of the most read threads on the
          STM Forum it’s one of mine pointing out that the use of gdb
          with CubeIDE was borked.  Some people get it to work, whilst
          for others it simply won’t.  Something wrong with the
          installer possibly but STM never seem to fix bugs.  
          <o:p></o:p></span>
        <span
style="font-family:"Helvetica","sans-serif";color:#1F497D"><o:p></o:p></span></div>
    </blockquote>
    <br>
    I've only done a couple projects now with the newer CubeIDE, only
    had a couplke minor issues. I wonder what you mean by "GDB won't
    work". What does that look like when it happens?<br>
    Do you have (much more than default) complicated linker scripts or
    something?<br>
    (the closest I go to having problems was due to something like that,
    but, well it wasn't really a problem or "doesn't work at all").<br>
    <br>
    I like about CubeIDE that looking at register values, decoded bits
    in registers with names form the manual, "just works" for a
    supported MCU, and other little very helpful things like that.<br>
    (although I begged ST, with some others, to finally upgrade to a
    newer GCC version, so we have at least C++ 17 for some months now,
    yay! ;-) )<br>
    <br>
    <blockquote
      cite="mid:968fdc7bf3ac49649f475a7d8971c0a9@futurehorizons.com"
      type="cite">
      <div class="WordSection1">
        <div>
          <div>
            <div>
              <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">But
                  main issue is the last time I looked STM still hadn’t
                  integrated Clang into CubeIDE which makes it useless
                  for any application where performance is essential.</span></p>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    Do you have anything to point to, to substantiate this idea of
    Clang's general superiority?<br>
    Could it be application specific?<br>
    <br>
    E.g. "<span style="color: rgb(18, 18, 18); font-family: sans-serif,
      droid-sans, arial, Tahoma; font-size: 16px; font-style: normal;
      font-variant-ligatures: normal; font-variant-caps: normal;
      font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
      start; text-indent: 0px; text-transform: none; white-space:
      normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
      0px; background-color: rgb(255, 255, 255);
      text-decoration-thickness: initial; text-decoration-style:
      initial; text-decoration-color: initial; display: inline
      !important; float: none;">For the vast majority of benchmarks the
      LLVM Clang vs. GCC performance was quite close"<br>
      and </span>"<span style="color: rgb(18, 18, 18); font-family:
      sans-serif, droid-sans, arial, Tahoma; font-size: 16px;
      font-style: normal; font-variant-ligatures: normal;
      font-variant-caps: normal; font-weight: 400; letter-spacing:
      normal; orphans: 2; text-align: start; text-indent: 0px;
      text-transform: none; white-space: normal; widows: 2;
      word-spacing: 0px; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255); text-decoration-thickness:
      initial; text-decoration-style: initial; text-decoration-color:
      initial; display: inline !important; float: none;">The NCNN neural
      network inference library from Tencent was performing hugely
      better when built under the GCC compiler"</span><br>
<a class="moz-txt-link-freetext" href="https://www.phoronix.com/scan.php?page=article&item=apple-m1-compilers">https://www.phoronix.com/scan.php?page=article&item=apple-m1-compilers</a><br>
    <br>
  </body>
</html>