diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-05-19 08:45:50 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-05-19 11:15:27 (GMT) |
commit | d2d7aef223a3bad368c6b7c7f7f4617f4acf323c (patch) | |
tree | 8ce2e1914332309383bfa06501d79148275fa4a6 /src | |
parent | 806d49e49be10ca7a478b1f0afc4fd0c98321480 (diff) | |
download | Qt-d2d7aef223a3bad368c6b7c7f7f4617f4acf323c.zip Qt-d2d7aef223a3bad368c6b7c7f7f4617f4acf323c.tar.gz Qt-d2d7aef223a3bad368c6b7c7f7f4617f4acf323c.tar.bz2 |
Fixed compile of qdrawhelper_neon.cpp.
We need to use the quad-word intrinsic and reinterpret the cast to
a signed int vector.
Reviewed-by: Kim Motoyoshi Kalland <kim.kalland@nokia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/painting/qdrawhelper_neon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qdrawhelper_neon.cpp b/src/gui/painting/qdrawhelper_neon.cpp index e673dd9..a098e82 100644 --- a/src/gui/painting/qdrawhelper_neon.cpp +++ b/src/gui/painting/qdrawhelper_neon.cpp @@ -986,7 +986,7 @@ public: static inline Int32x4 v_toInt(Float32x4 x) { return vcvtq_s32_f32(x); } - static inline Int32x4 v_greaterOrEqual(Float32x4 a, Float32x4 b) { return vcge_f32(a, b); } + static inline Int32x4 v_greaterOrEqual(Float32x4 a, Float32x4 b) { return vreinterpretq_s32_u32(vcgeq_f32(a, b)); } }; const uint * QT_FASTCALL qt_fetch_radial_gradient_neon(uint *buffer, const Operator *op, const QSpanData *data, |