@@ -182,8 +182,21 @@ * * @return Whether the CPU supports AVX2 */ + (bool)supportsAVX2; #endif + +#ifdef OF_PPC_ASM +/*! + * @brief Returns whether the CPU supports AltiVec. + * + * @warning This method only checks CPU support and assumes OS support! + * + * @note This method is only available on PowerPC. + * + * @return Whether the CPU supports AltiVec + */ ++ (bool)supportsAltiVec; +#endif @end OF_ASSUME_NONNULL_END