<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">I would be very interested in
      discussing these approaches.  This is something we're currently
      putting a lot of thought into as well and have come up with a
      number of potential variants.  Comparing notes would be
      worthwhile.<br>
      <br>
      Philip<br>
      <br>
      On 01/05/2018 03:22 AM, Chandler Carruth via llvm-dev wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAAwGriHaG8r_jLTNoN8m6bNVBZNm4gO_dGGfrGZNEDkkJqm3DA@mail.gmail.com">
      <div dir="ltr">Awesome, replied.
        <div><br>
        </div>
        <div>We've been working on similar things, but didn't have them
          ready-to-publish due to slightly lower urgency (there are
          reasonable ways to locally mimic these kinds of things in
          sensitive areas like the Linux kernel, and even finding code
          patterns for variant #1 is substantially harder). We have some
          significantly different APIs we'd like to discuss here based
          on experience trying to implement these on x86 and deploy them
          to a reasonably large body of code. Hopefully more details
          soon as folks have time.</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr">On Fri, Jan 5, 2018 at 6:15 AM Kristof Beyls <<a
            href="mailto:Kristof.Beyls@arm.com" moz-do-not-send="true">Kristof.Beyls@arm.com</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div style="word-wrap:break-word">
            Thanks for the notification, Chandler.
            <div><br>
            </div>
            <div>I also wanted to note that I’ve just posted another
              component for Spectre mitigation (variant 1), see <a
                href="https://reviews.llvm.org/D41760" target="_blank"
                moz-do-not-send="true">https://reviews.llvm.org/D41760</a> and <a
                href="https://reviews.llvm.org/D41761" target="_blank"
                moz-do-not-send="true">https://reviews.llvm.org/D41761</a>.</div>
            <div>I believe this is completely complementary to the
              retpoline mitigation you pointed to at <a
                href="https://reviews.llvm.org/D41723#" target="_blank"
                moz-do-not-send="true">https://reviews.llvm.org/D41723#</a>,
              which is targeted at mitigating variant 2.</div>
            <div><br>
            </div>
            <div>Thanks,</div>
            <div><br>
            </div>
            <div>Kristof</div>
            <div><br>
              <div>
              </div>
            </div>
          </div>
          <div style="word-wrap:break-word">
            <div>
              <div>
                <blockquote type="cite">
                  <div>On 4 Jan 2018, at 11:23, Chandler Carruth via
                    llvm-dev <<a
                      href="mailto:llvm-dev@lists.llvm.org"
                      target="_blank" moz-do-not-send="true">llvm-dev@lists.llvm.org</a>>
                    wrote:</div>
                  <br
                    class="m_2840079736512077317Apple-interchange-newline">
                </blockquote>
              </div>
            </div>
          </div>
          <div style="word-wrap:break-word">
            <div>
              <div>
                <blockquote type="cite">
                  <div>Sending a note here as this seems likely to be of
                    relatively broad interest.
                    <div><br>
                    </div>
                    <div>Thread:</div>
                    <div><a
href="http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20180101/513630.html"
                        target="_blank" moz-do-not-send="true">http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20180101/513630.html</a><br>
                      <div dir="auto"><br>
                      </div>
                      <div dir="auto">Review link:</div>
                      <div dir="auto"><a
                          href="https://reviews.llvm.org/D41723#"
                          target="_blank" moz-do-not-send="true">https://reviews.llvm.org/D41723#</a><br>
                      </div>
                    </div>
                  </div>
                </blockquote>
              </div>
            </div>
          </div>
          <div style="word-wrap:break-word">
            <div>
              <div>
                <blockquote type="cite">
                  <div>
                    _______________________________________________<br>
                    LLVM Developers mailing list<br>
                    <a href="mailto:llvm-dev@lists.llvm.org"
                      target="_blank" moz-do-not-send="true">llvm-dev@lists.llvm.org</a><br>
                    <a
                      href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev"
                      target="_blank" moz-do-not-send="true">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
                  </div>
                </blockquote>
              </div>
            </div>
          </div>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a>
</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>