81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
PRINT(GREEN, @"Supports SSE4.1: %d", [OFSystemInfo supportsSSE41]);
PRINT(GREEN, @"Supports SSE4.2: %d", [OFSystemInfo supportsSSE42]);
PRINT(GREEN, @"Supports AVX: %d", [OFSystemInfo supportsAVX]);
PRINT(GREEN, @"Supports AVX2: %d", [OFSystemInfo supportsAVX2]);
#endif
#ifdef OF_POWERPC
PRINT(GREEN, @"Supports AltiVec: %d", [OFSystemInfo supportsAltiVec]);
#endif
[pool drain];
}
@end
|
>
>
>
>
>
|
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
PRINT(GREEN, @"Supports SSE4.1: %d", [OFSystemInfo supportsSSE41]);
PRINT(GREEN, @"Supports SSE4.2: %d", [OFSystemInfo supportsSSE42]);
PRINT(GREEN, @"Supports AVX: %d", [OFSystemInfo supportsAVX]);
PRINT(GREEN, @"Supports AVX2: %d", [OFSystemInfo supportsAVX2]);
PRINT(GREEN, @"Supports AES-NI: %d", [OFSystemInfo supportsAESNI]);
PRINT(GREEN, @"Supports SHA extensions: %d",
[OFSystemInfo supportsSHAExtensions]);
#endif
#ifdef OF_POWERPC
PRINT(GREEN, @"Supports AltiVec: %d", [OFSystemInfo supportsAltiVec]);
#endif
[pool drain];
}
@end
|