Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: What will happen to MAME when...  (Read 1884 times)

0 Members and 1 Guest are viewing this topic.

DeathMonk

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 362
  • Last login:April 03, 2015, 02:01:12 pm
    • MameStation.3
What will happen to MAME when...
« on: June 19, 2003, 05:57:06 pm »
When every CPU will be on the new 64-bit architecture?  Supposedly, these processors are going to be backward compatible, but what about optimization?  Do you see the MAME dev's going through all the drivers to make them compliant with the new cpu's?  Do I even know what i'm talking about?


Now with cup beer holders!

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:July 20, 2025, 03:37:24 pm
  • The Bears Still Suck!
Re:What will happen to MAME when...
« Reply #1 on: June 19, 2003, 06:10:28 pm »
Actually, intel is doing it the smart way.  I havne't looked at AMD's 64bit.

Anyway, mame doesn't do much direct memory addressing, especially in the windows version.  That's what makes windows and directx cool.  You don't have to talk to the hardware directly, you let the OS do that.  So there really wouldn;t be much change to mame.  Just recompile in a 64bit compiler.

I did converting of test tools for IBM form 32bit to 64bit.  It wasn't hard ont he intel procs.  I hardly had to change a thing.  What you get out of the 64bit proc is larger memory addresses and larger storage options.  There isn't much else to gain from it.  An integer is still and integer.  There will probably be a new super huge integer being 64bits long.  But the standard integer is still just 32bits in a 64bit system.

Odonadon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 552
  • Last login:January 27, 2006, 12:01:12 am
  • But then again, that's just one man's opinion.
    • Turbo2k
Re:What will happen to MAME when...
« Reply #2 on: June 20, 2003, 12:29:12 am »
Actually, intel is doing it the smart way.  I havne't looked at AMD's 64bit.

Anyway, mame doesn't do much direct memory addressing, especially in the windows version.  That's what makes windows and directx cool.  You don't have to talk to the hardware directly, you let the OS do that.  So there really wouldn;t be much change to mame.  Just recompile in a 64bit compiler.

I did converting of test tools for IBM form 32bit to 64bit.  It wasn't hard ont he intel procs.  I hardly had to change a thing.  What you get out of the 64bit proc is larger memory addresses and larger storage options.  There isn't much else to gain from it.  An integer is still and integer.  There will probably be a new super huge integer being 64bits long.  But the standard integer is still just 32bits in a 64bit system.

So basically no performance benefits even if MAME was 100% 64-bit compliant?  I guess a 64bit word is still a word, only longer.

In fact, wouldn't MAME be better off in a 32bit environment pumped up with RAM?

Odonadon
It's Captain Odonadon, and his magical bag of nuts.

DeathMonk

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 362
  • Last login:April 03, 2015, 02:01:12 pm
    • MameStation.3
Re:What will happen to MAME when...
« Reply #3 on: June 20, 2003, 02:01:50 pm »
Doesnt that mean that MAME/CPU would be able to process 64-bits of information in one clock cycle instead of 32?  That sounds like it could speed things up to me...

?
« Last Edit: June 20, 2003, 02:02:20 pm by DeathMonk »


Now with cup beer holders!

Odonadon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 552
  • Last login:January 27, 2006, 12:01:12 am
  • But then again, that's just one man's opinion.
    • Turbo2k
Re:What will happen to MAME when...
« Reply #4 on: June 20, 2003, 11:41:04 pm »
Doesnt that mean that MAME/CPU would be able to process 64-bits of information in one clock cycle instead of 32?  That sounds like it could speed things up to me...

?

Yes, but if MAME is programmed to utilize the 32-bit architecture, it won't matter one bit.  A 32-bit CPU needs only half the memory a 64-bit CPU would to hold a given program.  But, it would indeed be slower to process.  The advantage would be for memory - of which MAME needs more than raw MHz.

Odonadon

Edit: Please, somebody correct me if I'm wrong.  I am not a programmer :)
« Last Edit: June 20, 2003, 11:41:41 pm by Odonadon »
It's Captain Odonadon, and his magical bag of nuts.

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:July 20, 2025, 03:37:24 pm
  • The Bears Still Suck!
Re:What will happen to MAME when...
« Reply #5 on: June 21, 2003, 12:40:06 am »
Yeah, what you all said is pretty much true.

Like I said, if programmed for 64bit there will be some performance, like memory access.  But onyl a small percentage of the code will benefit from it.  64bit is really needed as memory and storage gets larger and larger.

64bit isn't new, just in the x86 world it is.

Lilwolf

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4945
  • Last login:July 31, 2022, 10:26:34 pm
Re:What will happen to MAME when...
« Reply #6 on: June 21, 2003, 08:35:28 am »
what mame REALLY could use that would speed it up would be all the extra registers.  ESPECIALLY if the cores where rewritten to utilize them (keep all original cpu registers in their own register...  So no need to push/poping the registers).  But don't expect this to happen soon.

I personally LOVE AMD... but I wouldn't buy one of the 64bit processors for a year or so.