128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
|
[OFSystemInfo supportsAVX512BitAlgorithms]);
ADD_BOOL(@"Supports AVX-512 Float16 Instructions",
[OFSystemInfo supportsAVX512Float16Instructions]);
ADD_BOOL(@"Supports AVX-512 BFloat16 Instructions",
[OFSystemInfo supportsAVX512BFloat16Instructions]);
#endif
#ifdef OF_POWERPC
ADD_BOOL(@"Supports AltiVec", [OFSystemInfo supportsAltiVec]);
#endif
#ifdef OF_LOONGARCH64
ADD_BOOL(@"Supports LSX", [OFSystemInfo supportsLSX]);
ADD_BOOL(@"Supports LASX", [OFSystemInfo supportsLASX]);
#endif
|
|
|
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
|
[OFSystemInfo supportsAVX512BitAlgorithms]);
ADD_BOOL(@"Supports AVX-512 Float16 Instructions",
[OFSystemInfo supportsAVX512Float16Instructions]);
ADD_BOOL(@"Supports AVX-512 BFloat16 Instructions",
[OFSystemInfo supportsAVX512BFloat16Instructions]);
#endif
#if defined(OF_POWERPC) || defined(OF_POWERPC64)
ADD_BOOL(@"Supports AltiVec", [OFSystemInfo supportsAltiVec]);
#endif
#ifdef OF_LOONGARCH64
ADD_BOOL(@"Supports LSX", [OFSystemInfo supportsLSX]);
ADD_BOOL(@"Supports LASX", [OFSystemInfo supportsLASX]);
#endif
|