* Fix ppc64le build issue
* Added support to detect ppc64* processors
add_compile_options(-mavx512vnni)
endif()
endif()
+elseif (${CMAKE_SYSTEM_PROCESSOR} MATCHES "ppc64")
+ message(STATUS "PowerPC detected")
+ add_compile_options(-mcpu=native -mtune=native)
+ #TODO: Add targets for Power8/Power9 (Altivec/VSX) and Power10(MMA) and query for big endian systems (ppc64/le/be)
else()
- # TODO: support PowerPC
message(STATUS "Unknown architecture")
endif()
float max = 0.0f;
float min = 0.0f;
+ vector float asrcv [8];
vector float srcv [8];
vector float maxv[8];
vector float minv[8];