<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - _xgetbv not declared"
   href="http://llvm.org/bugs/show_bug.cgi?id=15810">15810</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>_xgetbv not declared
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jeffrey.beu.uz8yz6yl@hotmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hello,

Within

Function: static bool OSHasAVXSupport()
Line : 122
File: llvm\lib\Support\Host.cpp

the conclusion of the premise 
#elif defined(_MSC_FULL_VER) && _MSC_FULL_VER >= 160040219 
doesn't appear to be true on my computer. It results in the typical not
declared error. This error results in failed builds for many other components -
I think due to the tablegen program not being built.

Given my version of Visual Studio 2010 is 160040219 I simply removed the = in
<span class="quote">>= and everything seemed to compile fine thereafter.</span >

It could be possible the error is localised to my Machine however MSDN doesn't
have xgetbv listed under
VS2010(<a href="http://msdn.microsoft.com/en-us/library/azcs88h2%28v=vs.100%29.aspx">http://msdn.microsoft.com/en-us/library/azcs88h2%28v=vs.100%29.aspx</a>) but
is does for VS2012(<a href="http://msdn.microsoft.com/en-us/library/hh977022.aspx">http://msdn.microsoft.com/en-us/library/hh977022.aspx</a>). Also
a quick grep of my include directories doesn't find any matches either. This
leads me to have some confidence it is not localised to my machine.

Thanks for the great work.

Jeff Beu</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>