Previous Thread
Next Thread
Print Thread
#56946 12/09/09 08:25 PM
Joined: Mar 2007
Posts: 28
R
Member
OP Offline
Member
R
Joined: Mar 2007
Posts: 28
Just noticed this:

Code:
#-------------------------------------------------
# specify architecture-specific optimizations
#-------------------------------------------------

# uncomment and specify architecture-specific optimizations here
# some examples:
#   optimize for I686:   ARCHOPTS = -march=pentiumpro
#   optimize for Core 2: ARCHOPTS = -march=pentium-m -msse3
#   optimize for G4:     ARCHOPTS = -mcpu=G4
# note that we leave this commented by default so that you can
# configure this in your environment and never have to think about it


GCC has a -march=core2 now (as of 4.2 IIRC), why not use it?

roothorick #56948 12/09/09 08:38 PM
Joined: Mar 2001
Posts: 16,911
Likes: 56
R
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,911
Likes: 56
Those comments are from baseline and do not reflect recommended practice for SDLMAME. No -march flags have ever proven to make an unplayably slow game playable but they are proven to cause GCC to start inserting bugs in the generated code. I do not support or accept bug reports from any SDLMAME built with any ARCHOPTS.

(More directly answering your question: baseline is very conservative on GCC updates - it took forever for there to be a MinGW 4.anything build that was halfway stable, and none of the recent builds would output a properly running MAME last time we tested them).

R. Belmont #56955 12/10/09 09:15 AM
Joined: Feb 2004
Posts: 2,367
Likes: 81
Very Senior Member
Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,367
Likes: 81
-march=core2 doesn't do anything special, anyway. It's mostly there to make Gentoo users happy.

Vas Crabb #56962 12/10/09 03:06 PM
Joined: May 2009
Posts: 2,036
Likes: 77
J
Very Senior Member
Offline
Very Senior Member
J
Joined: May 2009
Posts: 2,036
Likes: 77
Originally Posted By Vas Crabb
-march=core2 doesn't do anything special, anyway. It's mostly there to make Gentoo users happy.


No, that's -funroll-loops.

Just Desserts #56963 12/10/09 03:27 PM
Joined: Mar 2001
Posts: 16,911
Likes: 56
R
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,911
Likes: 56
LOL smile


Moderated by  R. Belmont 

Link Copied to Clipboard
Who's Online Now
1 members (1 invisible), 25 guests, and 4 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,086
Posts119,087
Members5,014
Most Online890
Jan 17th, 2020
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com