Emuforums.com

Go Back   Emuforums.com > N64 Emulation > Project 64 Discussion
Home About Us Register FAQ Members List Calendar Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
Old August 17th, 2003   #1 (permalink)
Registered User
 
duke's Avatar
 
Join Date: Jul 2003
Location: UK
Posts: 101
amd64 and n64 emulation


Since the N64 has a 64bit cpu .. right ? When it has to do 64bit math calculations these are gonna take a lot longer on a 32bit CPU to calculate, im guessing twice or 4 times as long. How much do u people think a 64bit compiled version for AMD 64 would speed up emulation for the n64 ?

duke is offline   Reply With Quote
Old August 17th, 2003   #2 (permalink)
Banned
 
Andrew Hruska's Avatar
 
Join Date: Mar 2003
Location: somewhere
Posts: 1,121
Well, you could probably ( with a 64-bit version, of, say, 1964 ) use higher things like 16xAA or higher resoulutions. No speed downs, and it would probably rock the N64 emulation community ( MAYBE ). Let's hope by x-mas we all can get the Athlon 64 and a good Geforce FX or ATI Radeon 9###
Andrew Hruska is offline   Reply With Quote
Old August 20th, 2003   #3 (permalink)
Key To The Universe
 
Zephon's Avatar
 
Join Date: Jul 2001
Location: Stratosphere
Posts: 2,707
Re: amd64 and n64 emulation

Quote:
Originally Posted by Andrew Hruska
Well, you could probably ( with a 64-bit version, of, say, 1964 ) use higher things like 16xAA or higher resoulutions. No speed downs, and it would probably rock the N64 emulation community ( MAYBE ). Let's hope by x-mas we all can get the Athlon 64 and a good Geforce FX or ATI Radeon 9###
Unlikely. FSAA and high resolutions are very dependent on the video card, so getting a more powerful cpu will not help.

Well, getting Athlon64 probably would speed up things somehow, but that's about it. Besides, I don't think any emu author has plans to release a 64bit version of his emulator. It would require a re-write of most of the code, and also the user (as well as the programmer) would have to have this 64bit cpu, as well as a 64bit OS. As not everybody has conditions to simply buy a new computer, it probably will take time until it gets popular (specially since Intel does not have a similar product to be released soon).
__________________
But there is someone who remembers you
Someone waiting for a sign that leads the way to you
There is someone who will die for you
Keep that in mind when the hope fails
Zephon is offline   Reply With Quote
Old August 25th, 2003   #4 (permalink)
>_<
 
Alias's Avatar
 
Join Date: Jun 2002
Location: East Coast, USA
Posts: 924
the code probably doesn't have to be altered much, but it will cetainly have to be recompiled under a 64-bit OS.

Don't make the mistake of just matching the n64's "64-bit" to the athlon's "64." Today's 32-bit cpus are more than overkill for n64 emulation. It's true that the n64 has a "64-bit" processor, but this only measures integer performance. It's floating point performance is no doubt eclipsed by even a pentium III (mebbe pentium II even). And though today's cpu's can only handles 32-bits of integer information at once, they have several integer registers (much like pipelines) that run in parallel which equal much more than n64's processor could ever hope to attain. Processors are much more complicated that the marketing 32/64-bit monkier that they're paired with.

Ask in the hardware forums (where Demigod and Exophase would be able to explain much more on the topic).
__________________
>_<
Alias is offline   Reply With Quote
Old August 26th, 2003   #5 (permalink)
Emu author
 
Join Date: Apr 2001
Location: Bloomington IN, USA
Posts: 1,061
Re: amd64 and n64 emulation

I haven't studied the N64's CPU much at all (R4100i I believe) but I believe many instructions have both 32bit and 64bit forms. Usually the 32bit form would be used, since 64bit integer math is rarely helpful. However, in cases where 64bit math is required, not only will it cause more work for the 32bit CPU to perform the operation but it will have to sacrifice another of the x86's (already limited) 32bit registers for reg caching of the upper part of the 64bit MIPS register. So, if anything, Athlon 64 would at least be able to provide full 64bit regcaching, and moreover it'd be able to provide twice as many registers (16 instead of 8) putting less strain on the reg caching, since R4100 has 32 registers. Unfortunately for this to happen much more than a recompile would be necessary; the dynarec core of the emulator would have to be revised. For non-dynarec there would only be a slight performance increase (gained from compiling with the extra registers enabled).

- Exo
Exophase is offline   Reply With Quote
Old August 28th, 2003   #6 (permalink)
Registered User
 
duke's Avatar
 
Join Date: Jul 2003
Location: UK
Posts: 101
Re: amd64 and n64 emulation

I think thats a pretty good answer. Seeing as to do something like a 64 bit add you are going to need perhaps 4 registers. 2 to hold the 1st 64bit number and another 2 to stick the result in, well in arm assembly anyway. I dunno enough about x86 but i guess it will be similar. I guess depending on how much 64bit code there is and how many 64bit arithmetic caculations n64 games actually actually require will depend on much much speed increase a recompilation/optimisation for the amd64 could yield :P
duke is offline   Reply With Quote
Old March 23rd, 2004   #7 (permalink)
InnarX
 
ready2rumbelX's Avatar
 
Join Date: Jul 2002
Location: Borderline InSAnE
Posts: 2,689
Reading this makes me feel better....cause the AMD64 is so damn expensive!

r2rX
__________________
ready2rumbelX

-Intel Core 2 Quad Q6600 (@3200Mhz)
-Gigabyte 965P-S3 motherboard
-2x2GB G.Skill PC-6400 (DDR2 800Mhz) RAM (4-4-4-12)
-Seagate 320GB (IDE) and Western Digital 500GB (SATA II) H.D
-Sapphire Radeon HD 4870 512MB GDDR 5 (850/4600)
-Windows Vista Ultimate SP1 (x64)
-Realtek HD w/ Creative PC Works 5.1
-2 x L.G DVD/CD-RW Combo - GSA-H62N

ready2rumbelX is offline   Reply With Quote
Old March 24th, 2004   #8 (permalink)
邪魔ゎ指せない
 
Kane's Avatar
 
Join Date: Jan 2002
Location: Gosport, England
Posts: 26,305
...This is a decidedly old thread. Please don't ressurect it for no real reason.
__________________

>Site Live<
Pop over to my site for help with setting up PSX emulators.
Help for the Final Fantasies and other RPGs avalaible

Celes: (Desktop) Athlon 64 X2 4200+, 2Gb 400MHz DDR Ram, MSI K8N Platinum, GeForce 8800 GTS 320Mb, 500Gb RAID HDD, Vista Business
Erika: (MCPC) Athlon XP 2400+, 1Gb 400MHz DDR Ram, geForce 6800 256Mb, 80Gb Hdd, XP 2005 MCE
Kimiko: (Desktop 2) Athlon 64 3000+, 512Mb 400MHz DDR Ram, Asus K8V, geForce 6800 128Mb

Kane is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

All times are GMT. The time now is 05:46.

© 2006 - 2008 Emu Forums | About Emu Forums | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5