diff options
author | Jani Hautakangas <jani.hautakangas@nokia.com> | 2011-02-14 21:47:53 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2011-02-15 09:48:17 (GMT) |
commit | aea6acdc3dc0a499011e7778d4fa783bc193afe0 (patch) | |
tree | 27d721a02f0efff13215d8e184e34feccede47d7 /src/gui | |
parent | 910b91f84275a59fdb3b5bc2fc26c48652cdeeb0 (diff) | |
download | Qt-aea6acdc3dc0a499011e7778d4fa783bc193afe0.zip Qt-aea6acdc3dc0a499011e7778d4fa783bc193afe0.tar.gz Qt-aea6acdc3dc0a499011e7778d4fa783bc193afe0.tar.bz2 |
Fix for ARMV6 drawhelper blending
Asm code used wrong source register when doing
constant alpha blending.
Task-number: QTBUG-16008
Reviewed-by: TRUSTME
(cherry picked from commit 04ddaa986504e3842920770927cb7247e5e0fb78)
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/painting/qdrawhelper_arm_simd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/painting/qdrawhelper_arm_simd.cpp b/src/gui/painting/qdrawhelper_arm_simd.cpp index 806df29..af9854c 100644 --- a/src/gui/painting/qdrawhelper_arm_simd.cpp +++ b/src/gui/painting/qdrawhelper_arm_simd.cpp @@ -201,8 +201,8 @@ argb32constalpha_next_pixel uxtb16 r10, r9 uxtb16 r6, r9, ror #8 - // Negate r11 and extract src alpha - mvn r9, r11 // bitwise not + // Negate r8 and extract src alpha + mvn r9, r8 // bitwise not uxtb r9, r9, ror #24 mla r10, r9, r10, r14 |