summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJani Hautakangas <jani.hautakangas@nokia.com>2011-02-14 21:47:53 (GMT)
committerJani Hautakangas <jani.hautakangas@nokia.com>2011-02-14 21:53:29 (GMT)
commit04ddaa986504e3842920770927cb7247e5e0fb78 (patch)
tree83ac0b06cf4d0ab270b39eae550f2fad2b3a3616
parent984bc6626c4f290572ac721fd10edda99691306f (diff)
downloadQt-04ddaa986504e3842920770927cb7247e5e0fb78.zip
Qt-04ddaa986504e3842920770927cb7247e5e0fb78.tar.gz
Qt-04ddaa986504e3842920770927cb7247e5e0fb78.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
-rw-r--r--src/gui/painting/qdrawhelper_arm_simd.cpp4
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