home *** CD-ROM | disk | FTP | other *** search
- Path: news.eunet.fi!fipnet!kone!jsaarinen
- Newsgroups: comp.sys.amiga.programmer
- X-NewsReader: IntuiNews 1.2b (31.7.94)
- References: <38231714@kone.fipnet.fi> <w22DPMD0aRz1@azure.people-x.people.de>
- From: "Jyrki Saarinen" <jsaarinen@kone.fipnet.fi>
- Date: Mon, 1 Jan 96 16:45:13 UT
- Comments: Illegal date header - new date added by quicknews
- X-Original-Date: Mon, 01 Jan 96 17:09:14
- MIME-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: binary
- Distribution: world
- Subject: Re: Texturemapping-loop (was Re: PPC compilers)
- Message-ID: <38231792@kone.fipnet.fi>
-
-
- > Ok.. for all those people who are speaking about the theoretic speed
- > of texturemap-routines I tested all inner-loops out.
- >
- > Conditions:
- >
- > -Amiga 1200 with 68030/28Mhz
- > -Data Cache off (important !!)..
-
- Why?
-
- > -drawn objekt: Torus with 32 faces.
- >
- > Results:
- >
- > 1. "Standart Loop"
- >
- > move d3,d5
- > move.b d0,d5
- > move.b (a4,d5.l),(a2)+
- > add.l d4,d3
- > addx d2,d0
- >
- > Time: 100% (reference) , 352 rasterlines
- >
- > 2. "Standart Loop with 64k aligned textures"
- >
- > move d3,d6
- > move.b d0,d6
- > move.l d6,a4
- > move.b (a4),(a2)+
- > add.l d4,d3
- > addx d2,d0
- >
- > Time: 96,9% , 341 rasterlines
-
- Did you unroll the loops? I got much larger speedup on my 040/40
- when I started using 64k aligned textures.
-
- > 3. "Tricky one-add loop with masking" (64x64)
- >
- > move.l d0,d1
- > and.l d2,d1 (Mask:%111111000000111111)
- > move.b (a4,d1.l),(a2)+
- > addx.l d2,d0
- >
- > Time: 94 % , 331 rasterlines
- >
- > 4. "one-add loop without masking" (32x32)
- >
- > move.b (a4,d0.w),(a2)+
- > addx.l d2,d0
- >
- > Time: 81,8% , 288 rasterlines..
-
- I think these two are no good.. execpt for a one object
- rotating, but I think nobody wants that anymore.
-
- -- _
- a Stellar programmer _ //
- "Amiga - back for the future" \X/
-