Macros | Functions
cpu.c File Reference
#include <stdint.h>
#include "cpu.h"
#include <sys/auxv.h>

Go to the source code of this file.


#define LA_HWCAP_LSX   (1<<4)
#define LA_HWCAP_LASX   (1<<5)


static int cpu_flags_getauxval (void)
int ff_get_cpu_flags_loongarch (void)
size_t ff_get_cpu_max_align_loongarch (void)

Macro Definition Documentation


#define LA_HWCAP_LSX   (1<<4)

Definition at line 26 of file cpu.c.


#define LA_HWCAP_LASX   (1<<5)

Definition at line 27 of file cpu.c.

Function Documentation

◆ cpu_flags_getauxval()

static int cpu_flags_getauxval ( void  )

Definition at line 28 of file cpu.c.

Referenced by ff_get_cpu_flags_loongarch().

◆ ff_get_cpu_flags_loongarch()

int ff_get_cpu_flags_loongarch ( void  )

Definition at line 41 of file cpu.c.

Referenced by get_cpu_flags().

◆ ff_get_cpu_max_align_loongarch()

size_t ff_get_cpu_max_align_loongarch ( void  )

Definition at line 51 of file cpu.c.

Referenced by av_cpu_max_align().