Mercurial > libavcodec.hg
comparison armv4l/simple_idct_arm.S @ 5967:15ed47af1838 libavcodec
Misc spelling fixes, prefer American over British English.
author | diego |
---|---|
date | Sun, 02 Dec 2007 15:43:08 +0000 |
parents | d2a7fc14345c |
children | 316762ae96a7 |
comparison
equal
deleted
inserted
replaced
5966:1275461ae6f8 | 5967:15ed47af1838 |
---|---|
77 | 77 |
78 @@ at this point, R0=block, R14=&block[56], R12=__const_ptr_, R1-R11 free | 78 @@ at this point, R0=block, R14=&block[56], R12=__const_ptr_, R1-R11 free |
79 | 79 |
80 | 80 |
81 __row_loop: | 81 __row_loop: |
82 @@ read the row and check if it is null, almost null, or not, according to strongarm specs, it is not necessary to optimise ldr accesses (i.e. split 32bits in 2 16bits words), at least it gives more usable registers :) | 82 @@ read the row and check if it is null, almost null, or not, according to strongarm specs, it is not necessary to optimize ldr accesses (i.e. split 32bits in 2 16bits words), at least it gives more usable registers :) |
83 ldr r1, [r14, #0] @ R1=(int32)(R12)[0]=ROWr32[0] (relative row cast to a 32b pointer) | 83 ldr r1, [r14, #0] @ R1=(int32)(R12)[0]=ROWr32[0] (relative row cast to a 32b pointer) |
84 ldr r2, [r14, #4] @ R2=(int32)(R12)[1]=ROWr32[1] | 84 ldr r2, [r14, #4] @ R2=(int32)(R12)[1]=ROWr32[1] |
85 ldr r3, [r14, #8] @ R3=ROWr32[2] | 85 ldr r3, [r14, #8] @ R3=ROWr32[2] |
86 ldr r4, [r14, #12] @ R4=ROWr32[3] | 86 ldr r4, [r14, #12] @ R4=ROWr32[3] |
87 @@ check if the words are null, if all of them are null, then proceed with next row (branch __end_row_loop), | 87 @@ check if the words are null, if all of them are null, then proceed with next row (branch __end_row_loop), |
419 @@ col[24] = ((a3 + b3) >> COL_SHIFT); | 419 @@ col[24] = ((a3 + b3) >> COL_SHIFT); |
420 @@ col[32] = ((a3 - b3) >> COL_SHIFT); | 420 @@ col[32] = ((a3 - b3) >> COL_SHIFT); |
421 @@ col[40] = ((a2 - b2) >> COL_SHIFT); | 421 @@ col[40] = ((a2 - b2) >> COL_SHIFT); |
422 @@ col[48] = ((a1 - b1) >> COL_SHIFT); | 422 @@ col[48] = ((a1 - b1) >> COL_SHIFT); |
423 @@ col[56] = ((a0 - b0) >> COL_SHIFT); | 423 @@ col[56] = ((a0 - b0) >> COL_SHIFT); |
424 @@@@@ no optimisation here @@@@@ | 424 @@@@@ no optimization here @@@@@ |
425 add r8, r6, r0 @ R8=a0+b0 | 425 add r8, r6, r0 @ R8=a0+b0 |
426 add r9, r2, r1 @ R9=a1+b1 | 426 add r9, r2, r1 @ R9=a1+b1 |
427 mov r8, r8, asr #COL_SHIFT | 427 mov r8, r8, asr #COL_SHIFT |
428 mov r9, r9, asr #COL_SHIFT | 428 mov r9, r9, asr #COL_SHIFT |
429 strh r8, [r14, #0] | 429 strh r8, [r14, #0] |