x86 cpuid: set vendor union members separately
authorSean McGovern <gseanmcg@gmail.com>
Wed, 7 Dec 2011 21:51:28 +0000 (21:51 +0000)
committerJanne Grunau <janne-libav@jannau.net>
Wed, 7 Dec 2011 23:57:11 +0000 (00:57 +0100)
commitbe0675ce672b7788b0f1277704be663f415d6498
tree4d5723f8d5aa7a9e33db2ab61b6f465f5d36a3d2
parent04a5eaa1a5b36c025a609f56eb33437772f5f765
x86 cpuid: set vendor union members separately

Solaris Studio (suncc) has difficulty with filling in
members of a union. Instead, let's retrieve and store the
cpuid() results separately. This is still a compiler bug,
however this fix does not cause a regression on other platforms.

Signed-off-by: Janne Grunau <janne-libav@jannau.net>
libavutil/x86/cpu.c