[svn] / trunk / xvidcore / src / bitstream / ppc_asm / cbp_ppc.s Repository:
ViewVC logotype

Diff of /trunk/xvidcore/src/bitstream/ppc_asm/cbp_ppc.s

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 54, Fri Mar 22 11:29:20 2002 UTC revision 55, Fri Mar 22 11:32:47 2002 UTC
# Line 15  Line 15 
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.2 2002-03-22 11:29:20 canard Exp $  #    $Id: cbp_ppc.s,v 1.3 2002-03-22 11:32:47 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 11:29:20 $  #    $Date: 2002-03-22 11:32:47 $
21  #    $Author: canard $  #    $Author: canard $
22  #  #
23  #    This is my first PPC ASM program. So I might do nasty things.  #    This is my first PPC ASM program. So I might do nasty things.
# Line 75  Line 75 
75          # or. updates CR0          # or. updates CR0
76          or. 4,5,4          or. 4,5,4
77          # testing bit 2 (is zero) of CR0          # testing bit 2 (is zero) of CR0
78          bc 4,2,.cbp          bf 2,.cbp
79          addi 6,6,8          addi 6,6,8
80          # subic. updates CR0          # subic. updates CR0
81          subic. 7,7,1          subic. 7,7,1
82          # testing bit 0 (is negative) of CR0          # testing bit 0 (is negative) of CR0
83          bc 12,0,.lastcoeffs          bt 0,.lastcoeffs
84          b .loop2          b .loop2
85  .lastcoeffs:  .lastcoeffs:
86          lha 4,2(6)          lha 4,2(6)
# Line 90  Line 90 
90          # or. updates CR0          # or. updates CR0
91          or. 4,5,4          or. 4,5,4
92          # testing bit 2 (is zero) of CR0          # testing bit 2 (is zero) of CR0
93          bc 12,2,.newline          bt 2,.newline
94  .cbp:  .cbp:
95          li 4,1          li 4,1
96          slw 4,4,8          slw 4,4,8
# Line 100  Line 100 
100          addi 9,9,128          addi 9,9,128
101          # updates CR0, blabla          # updates CR0, blabla
102          subic. 8,8,1          subic. 8,8,1
103          bc 4,0,.loop          bf 0,.loop
104  .end:  .end:
105          blr          blr

Legend:
Removed from v.54  
changed lines
  Added in v.55

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4