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: 18 Jan 1996 18:25:29 GMT
- Organization: Teleport - Portland's Public Access (503) 220-1016
- Message-ID: <4dm3ap$kih@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> <4d6v0t$3dt@maureen.teleport.com> <4dg4jk$km@news.cs.tu-berlin.de> <4dhvd5$5r2@maureen.teleport.com> <4dj5gh$q5k@news.cs.tu-berlin.de>
- NNTP-Posting-Host: linda.teleport.com
- X-Newsreader: TIN [version 1.2 PL2]
-
- Philipp Boerker (rawneiha@w353zrz.zrz.TU-Berlin.DE) wrote:
- : sschaem@teleport.com (Stephan Schaem) writes:
-
- : >: Are you missing something?
-
- : > scaling of the index for any work on array that are not bytes...
-
- : There are very powerful shift and rotation ops on PPC. If you want
- : scaling you do something like (pseudo asm)
-
- : lsl.l rsource2,rx,#2
- : move.l rdest,(rsource1,rsource2)
-
- : (remember RISC: operation dest,source1,source2)
-
- Yes, I wrote some asm on mips R4000 chip.
- You dont need inst like (move +)neg... sub rd,r0,rn do the work.
-
- I like the ppc adr mode and inst best so far comapred to the
- hp PA, and mips R.. and way above x86.
-
- : This takes 2 cycles execution time.
- : Since mmu and int-unit work independently you can optimize that
- : down to 1 cycle by inserting some ops in between...
- : Is that ok for you ? ;-)
-
- How many int instruction can the PPC execute in 1 cycle?
- 2 or more?
-
- : > For non time critical part I like/use all the 680x0 adr mode.
-
- : I never do. Not for speed reasons. I don't even know them...
- : For non time critical parts on PPC you should use C.
-
- Well, you can use it for stuff like this:
-
- jump to the entry d0 in a jump table stored in element JmpTable in
- structure PRG_ a4: jmp ([PRG_JmpTable,a4,d0.w*8])
- Load the address of a viewport from a4 (a4 is your scrtucture where
- you store your sscreen pointer): lea ([PRG_Screen,a4],sc_ViewPort),a0
-
- : > pretty much what a 68000 is capable of, should be fun with a good
- : > macro assembler to work on that chip.
-
- : Anything should be fun on a chip (133 Mhz 604) that is faster than the
- : not-yet-existing Pentium Pro 200Mhz...
-
- I dont get my kick with speed alone... if I need to overthink like
- on a x86 its not worth my life 'time' :)
-
- How much for a 100mhz 604? what is its top mips rating?
-
- Stephan
-