@@ -84,70 +84,106 @@ * * @return The vendor of the CPU */ + (nullable OFString*)CPUVendor; +#if defined(OF_X86_64_ASM) || defined(OF_X86_ASM) || defined(DOXYGEN) /*! * @brief Returns whether the CPU supports MMX. + * + * @note This method is only available on x86 and x86_64. * * @return Whether the CPU supports MMX */ + (bool)supportsMMX; /*! * @brief Returns whether the CPU supports SSE. * + * @warning This method only checks CPU support and assumes OS support! + * + * @note This method is only available on x86 and x86_64. + * * @return Whether the CPU supports SSE */ + (bool)supportsSSE; /*! * @brief Returns whether the CPU supports SSE2. * + * @warning This method only checks CPU support and assumes OS support! + * + * @note This method is only available on x86 and x86_64. + * * @return Whether the CPU supports SSE2 */ + (bool)supportsSSE2; /*! * @brief Returns whether the CPU supports SSE3. + * + * @warning This method only checks CPU support and assumes OS support! + * + * @note This method is only available on x86 and x86_64. * * @return Whether the CPU supports SSE3 */ + (bool)supportsSSE3; /*! * @brief Returns whether the CPU supports SSSE3. * + * @warning This method only checks CPU support and assumes OS support! + * + * @note This method is only available on x86 and x86_64. + * * @return Whether the CPU supports SSSE3 */ + (bool)supportsSSSE3; /*! * @brief Returns whether the CPU supports SSE4.1. + * + * @warning This method only checks CPU support and assumes OS support! + * + * @note This method is only available on x86 and x86_64. * * @return Whether the CPU supports SSE4.1 */ + (bool)supportsSSE41; /*! * @brief Returns whether the CPU supports SSE4.2. * + * @warning This method only checks CPU support and assumes OS support! + * + * @note This method is only available on x86 and x86_64. + * * @return Whether the CPU supports SSE4.2 */ + (bool)supportsSSE42; /*! * @brief Returns whether the CPU supports AVX. + * + * @warning This method only checks CPU support and assumes OS support! + * + * @note This method is only available on x86 and x86_64. * * @return Whether the CPU supports AVX */ + (bool)supportsAVX; /*! * @brief Returns whether the CPU supports AVX2. * + * @warning This method only checks CPU support and assumes OS support! + * + * @note This method is only available on x86 and x86_64. + * * @return Whether the CPU supports AVX2 */ + (bool)supportsAVX2; +#endif @end OF_ASSUME_NONNULL_END