diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2012-01-21 02:55:38 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2012-01-21 03:02:18 +0100 |
commit | 6fb3abfca56b8901cc400411c900367161d4f95a (patch) | |
tree | 98dd9525dd2ca46fa585107d5586395b86f42d28 | |
parent | d71ea260f6f9250abc2c358e2c4be0581763a7e3 (diff) | |
download | mupdf-6fb3abfca56b8901cc400411c900367161d4f95a.tar.xz |
Clean up some stray mixed tabs and spaces.
-rw-r--r-- | draw/draw_scale.c | 12 | ||||
-rw-r--r-- | draw/draw_simple_scale.c | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/draw/draw_scale.c b/draw/draw_scale.c index 87d0b334..65baee4f 100644 --- a/draw/draw_scale.c +++ b/draw/draw_scale.c @@ -23,7 +23,7 @@ and then positioning it at (frac(x),frac(y)). */ #ifdef ARCH_ARM #ifdef ARCH_THUMB -#define ENTER_ARM ".balign 4\nmov r12,pc\nbx r12\n0:.arm\n" +#define ENTER_ARM ".balign 4\nmov r12,pc\nbx r12\n0:.arm\n" #define ENTER_THUMB "9:.thumb\n" #else #define ENTER_ARM @@ -617,7 +617,7 @@ scale_row_to_temp1(int *dst, unsigned char *src, fz_weights *weights) "@ r2 = weights \n" "ldr r12,[r2],#4 @ r12= flip \n" "ldr r3, [r2],#16 @ r3 = count r2 = &index\n" - "ldr r4, [r2] @ r4 = index[0] \n" + "ldr r4, [r2] @ r4 = index[0] \n" "cmp r12,#0 @ if (flip) \n" "beq 4f @ { \n" "add r2, r2, r4, LSL #2 @ r2 = &index[index[0]] \n" @@ -677,7 +677,7 @@ scale_row_to_temp2(int *dst, unsigned char *src, fz_weights *weights) "@ r2 = weights \n" "ldr r12,[r2],#4 @ r12= flip \n" "ldr r3, [r2],#16 @ r3 = count r2 = &index\n" - "ldr r4, [r2] @ r4 = index[0] \n" + "ldr r4, [r2] @ r4 = index[0] \n" "cmp r12,#0 @ if (flip) \n" "beq 4f @ { \n" "add r2, r2, r4, LSL #2 @ r2 = &index[index[0]] \n" @@ -741,7 +741,7 @@ scale_row_to_temp4(int *dst, unsigned char *src, fz_weights *weights) "@ r2 = weights \n" "ldr r12,[r2],#4 @ r12= flip \n" "ldr r3, [r2],#16 @ r3 = count r2 = &index\n" - "ldr r4, [r2] @ r4 = index[0] \n" + "ldr r4, [r2] @ r4 = index[0] \n" "cmp r12,#0 @ if (flip) \n" "beq 4f @ { \n" "add r2, r2, r4, LSL #2 @ r2 = &index[index[0]] \n" @@ -821,7 +821,7 @@ scale_row_from_temp(unsigned char *dst, int *src, fz_weights *weights, int width "@ r2 = &weights->index[0] \n" "@ r3 = width \n" "@ r12= row \n" - "ldr r4, [r2, r12, LSL #2] @ r4 = index[row] \n" + "ldr r4, [r2, r12, LSL #2] @ r4 = index[row] \n" "add r2, r2, #4 @ r2 = &index[1] \n" "mov r6, r3 @ r6 = x = width \n" "ldr r14,[r2, r4, LSL #2]! @ r2 = contrib = index[index[row]+1]\n" @@ -844,7 +844,7 @@ scale_row_from_temp(unsigned char *dst, int *src, fz_weights *weights, int width "movlt r7, #0 @ if (r7 < 0) r7 = 0 \n" "cmp r7, #255 @ if (r7 > 255) \n" "add r1, r1, #4 @ src++ \n" - "movgt r7, #255 @ r7 = 255 \n" + "movgt r7, #255 @ r7 = 255 \n" "subs r6, r6, #1 @ x-- \n" "strb r7, [r0], #1 @ *dst++ = val \n" "bgt 1b @ \n" diff --git a/draw/draw_simple_scale.c b/draw/draw_simple_scale.c index 38b58e96..b3a76565 100644 --- a/draw/draw_simple_scale.c +++ b/draw/draw_simple_scale.c @@ -27,7 +27,7 @@ intermediate results rather than ints. */ #ifdef ARCH_ARM #ifdef ARCH_THUMB -#define ENTER_ARM ".balign 4\nmov r12,pc\nbx r12\n0:.arm\n" +#define ENTER_ARM ".balign 4\nmov r12,pc\nbx r12\n0:.arm\n" #define ENTER_THUMB "9:.thumb\n" #else #define ENTER_ARM @@ -584,7 +584,7 @@ scale_row_to_temp1(unsigned char *dst, unsigned char *src, fz_weights *weights) "@ r2 = weights \n" "ldr r12,[r2],#4 @ r12= flip \n" "ldr r3, [r2],#16 @ r3 = count r2 = &index\n" - "ldr r4, [r2] @ r4 = index[0] \n" + "ldr r4, [r2] @ r4 = index[0] \n" "cmp r12,#0 @ if (flip) \n" "beq 4f @ { \n" "add r2, r2, r4, LSL #2 @ r2 = &index[index[0]] \n" @@ -646,7 +646,7 @@ scale_row_to_temp2(unsigned char *dst, unsigned char *src, fz_weights *weights) "@ r2 = weights \n" "ldr r12,[r2],#4 @ r12= flip \n" "ldr r3, [r2],#16 @ r3 = count r2 = &index\n" - "ldr r4, [r2] @ r4 = index[0] \n" + "ldr r4, [r2] @ r4 = index[0] \n" "cmp r12,#0 @ if (flip) \n" "beq 4f @ { \n" "add r2, r2, r4, LSL #2 @ r2 = &index[index[0]] \n" @@ -716,7 +716,7 @@ scale_row_to_temp4(unsigned char *dst, unsigned char *src, fz_weights *weights) "@ r2 = weights \n" "ldr r12,[r2],#4 @ r12= flip \n" "ldr r3, [r2],#16 @ r3 = count r2 = &index\n" - "ldr r4, [r2] @ r4 = index[0] \n" + "ldr r4, [r2] @ r4 = index[0] \n" "ldr r5,=0x00800080 @ r5 = rounding \n" "ldr r6,=0x00FF00FF @ r7 = 0x00FF00FF \n" "cmp r12,#0 @ if (flip) \n" @@ -792,7 +792,7 @@ scale_row_from_temp(unsigned char *dst, unsigned char *src, fz_weights *weights, "@ r2 = &weights->index[0] \n" "@ r3 = width \n" "@ r12= row \n" - "ldr r4, [r2, r12, LSL #2] @ r4 = index[row] \n" + "ldr r4, [r2, r12, LSL #2] @ r4 = index[row] \n" "add r2, r2, #4 @ r2 = &index[1] \n" "subs r6, r3, #4 @ r6 = x = width-4 \n" "ldr r14,[r2, r4, LSL #2]! @ r2 = contrib = index[index[row]+1]\n" @@ -800,7 +800,7 @@ scale_row_from_temp(unsigned char *dst, unsigned char *src, fz_weights *weights, "blt 4f @ while (x >= 0) { \n" #ifndef ARCH_ARM_CAN_LOAD_UNALIGNED "tst r3, #3 @ if (r3 & 3) \n" - "blt 4f @ can't do fast code\n" + "blt 4f @ can't do fast code \n" #endif "ldr r9, =0x00FF00FF @ r9 = 0x00FF00FF \n" "1: \n" |