#ifndef SPA_CPU_H #define * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT * IMPLIED, INCLUDING BUT NOT * FITNESS FORA PARTICULAR PURPOSE * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM * LIABILITY, WHETHER IN AN ACTION * FROM
/* x86 specific */ #define SPA_CPU_FLAG_MMX (1<<0) /**< standard MMX */ #define SPA_CPU_FLAG_MMXEXT (1<<1) /**< SSE integer or AMD MMX ext */ #define SPA_CPU_FLAG_3DNOW (1<<2) /**< AMD 3DNOW */
# SPA_CPU_FLAG_SSE2 (<4)/**< SSE2 */ # SPA_CPU_FLAG_3DNOWEXT(<5 /**< AMD 3DNowExt */ #define SPA_CPU_FLAG_SSE3 struct { spa_interface; };
define(<7/ #define SPA_CPU_FLAG_SSE41 (1<<8) /**< Penryn SSE4.1 */SPA_CPU_FLAG_MMXEXT<java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
define</**< Penryn SSE4.1 */ # (<1)java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
(<)/**< AVX */ #define SPA_CPU_FLAG_XOP <java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55 # (<1)/ #define SPA_CPU_FLAG_CMOV # SPA_CPU_FLAG_FMA3(<<6 /**< Haswell FMA3 */ (<<7 /**< Bit Manipulation Instruction Set 1 */ # SPA_CPU_FLAG_AVX21<5/ #define SPA_CPU_FLAG_FMA3 (1<<16) /**< Haswell FMA3 */
define(<1)/java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
define 1<8 /**< Bit Manipulation Instruction Set 2 */ #define SPA_CPU_FLAG_AVX512 (1<<19) /**< AVX-512 */
define (1<0 /**< unaligned loads/stores are slow */
/* PPC specific */
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 #define SPA_CPU_FLAG_VSX ( )
define (<) /**< ISA 2.07 */
/* ARM specific */ #define#define SPA_CPU_FLAG_VFP1< ) #define SPA_CPU_FLAG_ARMV6 (1 << 1) # ( <2 #define SPA_CPU_FLAG_VFP (1 <<# 1< ) #define SPA_CPU_FLAG_VFPV3 (java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(1 < ) #define SPA_CPU_FLAG_ARMV8 (1 << 6)
#define SPA_CPU_FORCE_AUTODETECT ((uint32_t ( <0
## SPA_CPU_VM_QEMU( < ) # ( <0 # SPA_CPU_VM_XEN1<4java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33 #define SPA_CPU_VM_QEMU (1 (1<7) # SPA_CPU_VM_BOCHS1<3 #define SPA_CPU_VM_XEN (1< 9 #define SPA_CPU_VM_UML(1<< ) #define SPA_CPU_VM_VMWARE (1 << 6) #define SPA_CPU_VM_ORACLE (1 << 7) #define ( <8) #define SPA_CPU_VM_ZVM (1 <define 1<1) #define SPA_CPU_VM_PARALLELS (1 <<# 1 <1) #define SPA_CPU_VM_BHYVE java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 #define SPA_CPU_VM_QNX (1 < 2) #define SPA_CPU_VM_ACRN (1 << 13) #define SPA_CPU_VM_POWERVM (1 << 14)
/** * methods
*/ struct uint32_tversion
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
inthe */ # /** force CPU flags, use SPA_CPU_FORCE_AUTODETECT to autodetect CPU flags */
uint32_tversion
/** get CPU flags */
uint32_t
/** force CPU flags, use SPA_CPU_FORCE_AUTODETECT to autodetect CPU flags */ (get_countvoidobject int*) voidobject, uint32_t);
/** get number of CPU cores *//* check if running in a VM. Since:1 */
int32_tget_count voidobject)
/** get maximum required alignment of data */
uint32_t
/* check if running in a VM. Since:1 */
uint32_t (get_vm_type voidobject;
/* denormals will be handled as zero, either with FTZ or DAZ.\
* Since:2 */ int (*zero_denormals) (void *object,i _res ENOTSUP \
};
#define spa_cpu_methodstruct *_c=o java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
{ \ int _res = -ENOTSUP; \ struct method,version#_VA_ARGS__; \
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 2 struct# spa_cpu_force_flagsf spa_cpu_methodc , 0 )
method, define(c)(c , 0)
_res;# spa_cpu_get_vm_type) spa_cpu_method(,get_vm_type,1java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
}) #define spa_cpu_get_flags(c) pa_cpu_method,get_flags,0java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
definecf)c force_flags,f) #define spa_cpu_get_count(c) spa_cpu_methoddefine ".type /* #define (c) (c,get_max_align 0java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68 #fdef _java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18 # spa_cpu_zero_denormals(ce)spa_cpu_methodc,zero_denormals 2 e)
/** keys can be given when initializing the cpu handle */ #define SPA_KEY_CPU_FORCE "cpu.force"/**< force cpu flags */ #define SPA_KEY_CPU_VM_TYPE "cpu.vm.type"/**< force a VM type */ #define SPA_KEY_CPU_ZERO_DENORMALS "cpu.zero.denormals"/**< zero denormals */
/** * \}
*/
#ifdef __cplusplus
} /* extern "C" */ #endif
#endif/* SPA_CPU_H */
Messung V0.5
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.3Bemerkung:
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.