On Jan 25, 2013, at 10:06 AM, Michael Dickens <m...@alum.mit.edu> wrote:
> 1) Does the target compiler's assembler support the "xgetbv" instruction?
> 
> 2) Does the target CPU support the "xgetbv" instruction?

My CMake hack wasn't quite right: only execute the binary if not 
cross-compiling.  I'm not sure my new version is quite correct, but it's 
closer.  I've pushed a branch with these mods: volk_xgetbv_cmake_test in 
gnuradio.org/michaelld .

Some MacPorts folks did reply back to my query, and the state of Apple's "as" 
is the same as before.  So, GCC is correctly recognizing and generating the 
"xgetbv" instruction, but Apple's assembler is erroring on it.  Apple's Clang 
assembler recognizes this instruction correctly, but my computer's CPU does not 
support it.

Hope this helps. - MLD


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to