<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 12/11/13 11:01, Renato Golin wrote:<br>
    </div>
    <blockquote
cite="mid:CAMSE1kc9Nr_bJPRCqY2VVyoOsv8+dZexwb=eYZW+OP0VVk0tAw@mail.gmail.com"
      type="cite">
      <div dir="ltr">On 12 November 2013 15:53, Frank Winter <<a
          moz-do-not-send="true" href="mailto:fwinter@jlab.org">fwinter@jlab.org</a>>
        wrote:<br>
        <div class="gmail_extra">
          <div class="gmail_quote">
            <blockquote class="gmail_quote">
              <div bgcolor="#FFFFFF" text="#000000">
                <div>.. forcing the vector size to 4 does not prevent
                  using AVX.<br>
                </div>
              </div>
            </blockquote>
            <div><br>
            </div>
          </div>
        </div>
        <div class="gmail_extra">Sure. That's more for tests than
          anything else.</div>
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra">
          So, there are ways of disabling stuf in Clang, for instance
          "-mattr=-avx" or "-target-feature -avx", but I'm not sure how
          you're doing it in the JIT. I'm also not sure how to set
          target parameters in JIT, you'll have to do that by hand.</div>
        <div class="gmail_extra"><br>
        </div>
      </div>
    </blockquote>
    I don't know that either. I set the CPU via<br>
    <br>
    engineBuilder.setMCPU(llvm::sys::getHostCPUName());<br>
    <br>
    and that figures out all target parameters, I assume.<br>
    I would need to still use this, and then disable just the AVX
    feature.<br>
    <br>
    <blockquote
cite="mid:CAMSE1kc9Nr_bJPRCqY2VVyoOsv8+dZexwb=eYZW+OP0VVk0tAw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">cheers,</div>
        <div class="gmail_extra">--renato</div>
      </div>
    </blockquote>
    <br>
    <br>
  </body>
</html>