Date: Wed, 10 Oct 2018 21:58:42 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r481772 - head/devel/qt5-core/files Message-ID: <201810102158.w9ALwgiq004717@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Wed Oct 10 21:58:41 2018 New Revision: 481772 URL: https://svnweb.freebsd.org/changeset/ports/481772 Log: devel/qt5-core: unbreak on armv7 after r479286 global/qfloat16.cpp:149:31: error: use of undeclared identifier 'vcvt_f16_f32' vst1_f16(out_f16 + i, vcvt_f16_f32(vld1q_f32(in + i))); ^ global/qfloat16.cpp:159:28: error: use of undeclared identifier 'vcvt_f32_f16' vst1q_f32(out + i, vcvt_f32_f16(vld1_f16(in_f16 + i))); ^ PR: 231293 Approved by: maintainer timeout (1 month) Added: head/devel/qt5-core/files/patch-src_corelib_global_qfloat16.cpp (contents, props changed) Added: head/devel/qt5-core/files/patch-src_corelib_global_qfloat16.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/qt5-core/files/patch-src_corelib_global_qfloat16.cpp Wed Oct 10 21:58:41 2018 (r481772) @@ -0,0 +1,18 @@ +global/qfloat16.cpp:149:31: error: use of undeclared identifier 'vcvt_f16_f32' + vst1_f16(out_f16 + i, vcvt_f16_f32(vld1q_f32(in + i))); + ^ +global/qfloat16.cpp:159:28: error: use of undeclared identifier 'vcvt_f32_f16' + vst1q_f32(out + i, vcvt_f32_f16(vld1_f16(in_f16 + i))); + ^ + +--- src/corelib/global/qfloat16.cpp.orig 2018-06-15 07:29:31 UTC ++++ src/corelib/global/qfloat16.cpp +@@ -135,7 +135,7 @@ f16cextern void qFloatFromFloat16_fast(float *out, con + #undef f16cextern + } + +-#elif defined(__ARM_FP16_FORMAT_IEEE) && defined(__ARM_NEON__) ++#elif defined(__ARM_FP16_FORMAT_IEEE) && defined(__ARM_NEON__) && (__ARM_FP & 2) + static inline bool hasFastF16() + { + return true;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810102158.w9ALwgiq004717>