home *** CD-ROM | disk | FTP | other *** search
- Path: nntp.teleport.com!sschaem
- From: sschaem@teleport.com (Stephan Schaem)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: TMapping again!
- Date: 13 Jan 1996 00:39:57 GMT
- Organization: Teleport - Portland's Public Access (503) 220-1016
- Message-ID: <4d6v0t$3dt@maureen.teleport.com>
- References: <4d0ou6$835@astfgl.idb.hist.no> <Z31Wx*zA0@mkmk.in-chemnitz.de> <4d42di$9e9@maureen.teleport.com> <4d5lvi$emc@brachio.zrz.TU-Berlin.DE>
- NNTP-Posting-Host: kelly.teleport.com
- X-Newsreader: TIN [version 1.2 PL2]
-
- Philipp Boerker (rawneiha@w352zrz.zrz.TU-Berlin.DE) wrote:
- : sschaem@teleport.com (Stephan Schaem) writes:
-
- : >Andre Weissflog (floh@mkmk.in-chemnitz.de) wrote:
- : >: In article <4d0ou6$835@astfgl.idb.hist.no>, Lasse Staff Jensen writes:
-
- : > I think he was mentiontioning this map code:
-
- : > REPEAT 32
- : >1) move.b (a0,d0.w),(a1)+
- : >2) addx.l d1,d0
- : > ENDR
-
- : >: > What do you guys do when the delta values are negative?
- : >: > Clearly an addx.l will not work
-
- : > In the example above I dont think it will work with neg number.
- : > Because the msbit of X if neg will have an effect on Y.
-
- : The example above doesn't work anyway. You always need fraction
- : bits for both x- and y-adder.
-
- AAAAAA..........BBBBBCCCCCCDDDDD
-
- A = x fraction
- B = y integer
- C = y fraction
- D = x integer
- . = zero or more precision for x
-
- Has you see the example above work...
-
- : > people compare to quickly a tmap program on a 66mhz 486 and a
- : > a1200... to see x86 true code speed they should run it on a
- : > 12mhz 286.
-
- : Yes, I agree. Sharon, one of the coders of matrix, is actually a
- : PC coder but his polygon engine on a 33 MHz 486 is slower than
- : our (Sharon, Grond, Skyphos all/matrix) engine on a 25 MHz 030!
- : And think of not having chunky screens, not having L2 cache,
- : not having 8kb L1 cache...
- : That's the power of a large register set!
-
- The x86 design is just crap... it would still be crap with more register :)
-
- : Gee, how am I waiting for the 32 regs of the PPC... 8)
-
- Well, you are trading your nice addressing mode for this,
- no more (offset,base,offset*scale) ;) You will probably need
- an extra register and 3 instruction to emulate this on a ppc.
- And not all 32 register are for you to play with ... dont know
- the PPC so I wont go into details :)
-
- Stephan
-
-
-