Blender V4.3
cpu_check.cc File Reference
#include <string>
#include <cstdio>
#include <cstdlib>

Go to the source code of this file.

Functions

static void __cpuid (int data[4], int selector)
 
static int cpu_supports_sse42 ()
 
static const char * cpu_brand_string ()
 
static __attribute__ ((constructor)) void cpu_check()
 

Function Documentation

◆ __attribute__()

static __attribute__ ( (constructor) )
static

Definition at line 94 of file cpu_check.cc.

References cpu_brand_string(), cpu_supports_sse42(), error(), and printf.

◆ __cpuid()

static void __cpuid ( int data[4],
int selector )
static

Definition at line 19 of file cpu_check.cc.

Referenced by cpu_brand_string(), and cpu_supports_sse42().

◆ cpu_brand_string()

static const char * cpu_brand_string ( )
static

Definition at line 47 of file cpu_check.cc.

References __cpuid().

Referenced by __attribute__().

◆ cpu_supports_sse42()

static int cpu_supports_sse42 ( )
static

Definition at line 34 of file cpu_check.cc.

References __cpuid().

Referenced by __attribute__().