[Libva] [PATCH 1/2] Use the inline CPUID assembly to obtain CPUID string instead of /proc/cpuinfo

Zhao, Yakui yakui.zhao at intel.com
Wed Sep 24 18:50:38 PDT 2014

On Wed, 2014-09-24 at 15:20 -0600, Matt Turner wrote:
> On Wed, Sep 24, 2014 at 12:13 AM, Zhao Yakui <yakui.zhao at intel.com> wrote:
> > On some systems there is no access to /proc/cpuinfo. So the inline assembly
> > is used directly to detect the CPUID string.
> You should use gcc's cpuid.h header (clang provides it too) and the
> macros it provides. It'll handle the comments about PIC code and
> 32-bit without you having to think about it.

Thanks for your suggestion/advice.

I will take a look at it.


More information about the Libva mailing list