Review URL: http://codereview.appspot.com/
5639051
git-svn-id: http://skia.googlecode.com/svn/trunk@3173
2bbb7eff-a529-9590-31e7-
b0007b416f81
.fnstart
push {lr}
+ /* if count is equal to zero then abort */
+ teq r2, #0
+ ble .Lfinish
+
/* Multiply count by 2 - go from the number of 16-bit shorts
* to the number of bytes desired. */
mov r2, r2, lsl #1
.fnstart
push {lr}
+ /* if count is equal to zero then abort */
+ teq r2, #0
+ ble .Lfinish
+
/* Multiply count by 4 - go from the number of 32-bit words to
* the number of bytes desired. */
mov r2, r2, lsl #2
strcs r1, [r0], #4
strmih lr, [r0], #2
+.Lfinish:
pop {pc}
.fnend