925a3c6529
Use F16C or ARM FP16 if available at compile time. Configure check added because older clang compilers have F16C defines and flags but not all the intrinsics. Change-Id: I71f358b8fd003e70ab8fcf35097414591e485112 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
6 lines
211 B
Prolog
6 lines
211 B
Prolog
SOURCES = f16c.cpp
|
|
CONFIG -= qt dylib release debug_and_release
|
|
CONFIG += debug console
|
|
!defined(QMAKE_CFLAGS_F16C, "var"):error("This compiler does not support F16C")
|
|
else:QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_F16C
|