summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qdrawhelper_armv6_rvct.s
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-08-04 10:08:12 (GMT)
committerJanne Anttila <janne.anttila@digia.com>2009-08-04 10:21:49 (GMT)
commitfb6a79b85dd80c43308308f720a26f23e0997a31 (patch)
tree14b005328d7d1f124f6532f0f23114bd444f97d0 /src/gui/painting/qdrawhelper_armv6_rvct.s
parentcbc8be3013cfbe1f192d69c228701cd253e5aabd (diff)
downloadQt-fb6a79b85dd80c43308308f720a26f23e0997a31.zip
Qt-fb6a79b85dd80c43308308f720a26f23e0997a31.tar.gz
Qt-fb6a79b85dd80c43308308f720a26f23e0997a31.tar.bz2
Trailing whitespace and tab/space fixes for src/gui
Diffstat (limited to 'src/gui/painting/qdrawhelper_armv6_rvct.s')
-rw-r--r--src/gui/painting/qdrawhelper_armv6_rvct.s55
1 files changed, 27 insertions, 28 deletions
diff --git a/src/gui/painting/qdrawhelper_armv6_rvct.s b/src/gui/painting/qdrawhelper_armv6_rvct.s
index 3ffe48b..dd29f80 100644
--- a/src/gui/painting/qdrawhelper_armv6_rvct.s
+++ b/src/gui/painting/qdrawhelper_armv6_rvct.s
@@ -52,22 +52,22 @@
ARM
PRESERVE8
-
+
INCLUDE qdrawhelper_armv6_rvct.inc
-
+
;-----------------------------------------------------------------------------
; qt_memfill32_armv6
-;
+;
; @brief Not yet in use!
;
; @param dest Destination buffer (r0)
; @param value Value (r1)
; @param count Count (r2)
-;
+;
;---------------------------------------------------------------------------
qt_memfill32_armv6 Function
stmfd sp!, {r4-r12, r14}
-
+
mov r3, r1
mov r4, r1
mov r5, r1
@@ -75,7 +75,7 @@ qt_memfill32_armv6 Function
mov r7, r1
mov r8, r1
mov r9, r1
-
+
mfill_loop
; Fill 32 pixels per loop iteration
subs r2, r2, #32
@@ -88,16 +88,16 @@ mfill_loop
mfill_remaining
; Fill up to 31 remaining pixels
-
+
; Fill 16 pixels
tst r2, #16
stmneia r0!, {r1, r3, r4, r5, r6, r7, r8, r9}
stmneia r0!, {r1, r3, r4, r5, r6, r7, r8, r9}
-
+
; Fill 8 pixels
tst r2, #8
stmneia r0!, {r1, r3, r4, r5, r6, r7, r8, r9}
-
+
; Fill 4 pixels
tst r2, #4
stmneia r0!, {r1, r3, r4, r5}
@@ -109,31 +109,31 @@ mfill_remaining
; Fill last one
tst r2, #1
strne r1, [r0]
-
+
ldmfd sp!, {r4-r12, pc} ; pop and return
-
+
;-----------------------------------------------------------------------------
; comp_func_Source_arm
-;
-; @brief
+;
+; @brief
;
; @param dest Destination buffer (r0)
; @param src Source buffer (r1)
; @param length Length (r2)
; @param const_alpha Constant alpha (r3)
-;
+;
;---------------------------------------------------------------------------
comp_func_Source_armv6 Function
stmfd sp!, {r4-r12, r14}
-
+
cmp r3, #255 ; if(r3 == 255)
bne src2 ; branch if not
-
+
src1 PixCpy r0, r1, r2
ldmfd sp!, {r4-r12, pc} ; pop and return
-src2
+src2
;ldr r14, =ComponentHalf ; load 0x800080 to r14
mov r14, #0x800000
add r14, r14, #0x80
@@ -144,35 +144,34 @@ src22 BlendRow PixelSourceConstAlpha
;-----------------------------------------------------------------------------
; comp_func_SourceOver_arm
-;
-; @brief
+;
+; @brief
;
; @param dest Destination buffer (r0)
; @param src Source buffer (r1)
; @param length Length (r2)
; @param const_alpha Constant alpha (r3)
-;
+;
;---------------------------------------------------------------------------
comp_func_SourceOver_armv6 Function
stmfd sp!, {r4-r12, r14}
-
+
;ldr r14, =ComponentHalf ; load 0x800080 to r14
mov r14, #0x800000
add r14, r14, #0x80
-
+
cmp r3, #255 ; if(r3 == 255)
bne srcovr2 ; branch if not
-
+
srcovr1 BlendRow PixelSourceOver
-
+
ldmfd sp!, {r4-r12, pc} ; pop and return
srcovr2
-
+
srcovr22 BlendRow PixelSourceOverConstAlpha
ldmfd sp!, {r4-r12, pc} ; pop and return
-
- END ; File end
-
+
+ END ; File end