x86: use raw opcode for xgetbv instruction
authorMans Rullgard <mans@mansr.com>
Sun, 20 Feb 2011 14:38:32 +0000 (14:38 +0000)
committerMans Rullgard <mans@mansr.com>
Sun, 20 Feb 2011 17:31:23 +0000 (17:31 +0000)
commitef6695387522fc783105ac187c84beaa284e7cff
tree65b41ceb9fe641b985fd679c554d3921dcd5d683
parentd2bbf82e65e4a128ab1f0bf48df5d1e43c43c698
x86: use raw opcode for xgetbv instruction

This allows the CPU detection to work with assemblers not supporting
the xgetbv mnemonic.  These include clang and some BSD versions.

All AVX code will be written for yasm, where the main assembler
is not involved.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavutil/x86/cpu.c