]> git.sesse.net Git - ffmpeg/commit
x86: use raw opcode for xgetbv instruction
authorMans Rullgard <mans@mansr.com>
Sun, 20 Feb 2011 14:38:32 +0000 (14:38 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 22 Feb 2011 01:38:41 +0000 (02:38 +0100)
commitf1f792117f3375478fb0043369014b575dfa5e75
tree7014f5319f12b51a8c6e33193a761a2a511df7be
parentf9c61974ae93258f78b9bb811476cad2062b9b76
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>
(cherry picked from commit ef6695387522fc783105ac187c84beaa284e7cff)
libavutil/x86/cpu.c