#include <stdlib.h>
#include <string.h>
#include "libavutil/x86_cpu.h"
#include "libavutil/cpu.h"
Go to the source code of this file.
Defines | |
#define | cpuid(index, eax, ebx, ecx, edx) |
#define | xgetbv(index, eax, edx) __asm__ (".byte 0x0f, 0x01, 0xd0" : "=a"(eax), "=d"(edx) : "c" (index)) |
Functions | |
int | ff_get_cpu_flags_x86 (void) |
#define cpuid | ( | index, | ||
eax, | ||||
ebx, | ||||
ecx, | ||||
edx | ||||
) |
#define xgetbv | ( | index, | ||
eax, | ||||
edx | ||||
) | __asm__ (".byte 0x0f, 0x01, 0xd0" : "=a"(eax), "=d"(edx) : "c" (index)) |
Definition at line 38 of file cpu.c.
Referenced by ff_get_cpu_flags_x86().
int ff_get_cpu_flags_x86 | ( | void | ) |
Definition at line 42 of file cpu.c.
Referenced by av_get_cpu_flags().