How can I check using Delphi 2007 that a box is AVX capable.
My question is only restricted to querying the support in the CPU (Assumption is made that the OS is OK / Windows 7 with SP1).
The PDF document entitled Introduction to Intel® Advanced Vector Extensions by Chris Lomont explains how to do it and provides an example code implementation but in c++.
It's also available at this page.
Here's a translation of the assembler code given on an Intel blog:
This code will work in both 32 and 64 bit versions of Delphi.
Update: Register saving code added thanks to @PhiS.