comparison target-utils/libc/bzero.S @ 92:bfed7a5c21a6

target-utils/libc/bzero.S: changed signed conditions to unsigned
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 28 Oct 2016 23:45:49 +0000
parents 4f3843165014
children
comparison
equal deleted inserted replaced
91:659fa1a26269 92:bfed7a5c21a6
37 bne 1b @ 1 37 bne 1b @ 1
38 /* 38 /*
39 * r3 = 0, and we know that the pointer in r0 is aligned to a word boundary. 39 * r3 = 0, and we know that the pointer in r0 is aligned to a word boundary.
40 */ 40 */
41 3: subs r1, r1, #4 41 3: subs r1, r1, #4
42 strge r2, [r0], #4 42 strcs r2, [r0], #4
43 bgt 3b @ 1 43 bhi 3b @ 1
44 bxeq lr @ 1/2 quick exit 44 bxeq lr @ 1/2 quick exit
45 /* 45 /*
46 * No need to correct the count; we're only testing bits from now on 46 * No need to correct the count; we're only testing bits from now on
47 * 47 *
48 * When we get here, we've got less than 4 bytes to zero. We 48 * When we get here, we've got less than 4 bytes to zero. We