15 |
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
16 |
# |
# |
17 |
# |
# |
18 |
# $Id: cbp_ppc.s,v 1.5 2002-03-22 12:51:22 canard Exp $ |
# $Id: cbp_ppc.s,v 1.6 2002-03-22 13:05:45 canard Exp $ |
19 |
# $Source: /home/xvid/cvs_copy/cvs-server-root/xvid/xvidcore/src/bitstream/ppc_asm/cbp_ppc.s,v $ |
# $Source: /home/xvid/cvs_copy/cvs-server-root/xvid/xvidcore/src/bitstream/ppc_asm/cbp_ppc.s,v $ |
20 |
# $Date: 2002-03-22 12:51:22 $ |
# $Date: 2002-03-22 13:05:45 $ |
21 |
# $Author: canard $ |
# $Author: canard $ |
22 |
# |
# |
23 |
# This is my first PPC ASM attempt. So I might do nasty things. |
# This is my first PPC ASM attempt. So I might do nasty things. |
61 |
xor 3,3,3 |
xor 3,3,3 |
62 |
.loop: |
.loop: |
63 |
# CTR is the loop2 counter |
# CTR is the loop2 counter |
64 |
li 7,15 |
li 4,15 |
65 |
mtspr 9,7 |
mtctr 4 |
66 |
# r6 is coeff pointer for this line |
# r6 is coeff pointer for this line |
67 |
mr 6,9 |
mr 6,9 |
68 |
.loop2: |
.loop2: |