x86: cpu: clean up check for cpuid instruction support
authorMans Rullgard <mans@mansr.com>
Sun, 24 Jun 2012 11:29:28 +0000 (12:29 +0100)
committerMans Rullgard <mans@mansr.com>
Sun, 1 Jul 2012 11:25:33 +0000 (12:25 +0100)
commit889c1ec4cc064313092bc43a8a3a05aac9799e61
tree3b33f08635810bde199a180284082b8f135eb53f
parent62634158b7cd39ad1e330a87153a97bf3dc6f8de
x86: cpu: clean up check for cpuid instruction support

This adds macros for accessing the EFLAGS register and uses
these instead of coding the entire check in inline asm.

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