xmame-0.88.1

ROUND 64.... FIGHT!

  • linux 2.6.7
  • This benchmark also on gentoo amd64.
  • Default gcc is 3.4.3 (multilib)
  • All versions compiled with -O3 -march=k8 -pipe
  • 32-bit version compiled also with -m32 flag
  • Xorg-6.8

    11-29-2004


    GAME32-Bit64-BitPERCENT
    2020bb407.715643451.27410710.68
    3countb380.795305414.8488168.94
    4dwarrio1043.5032321183.59681613.43
    aerofgt486.884856527.3575438.31
    airwolf821.236519915.95834811.53
    alien3291.571686265.823743-8.83
    aliens451.168886505.08805511.95
    aliensyn449.812244509.70477913.32
    aligator639.396451704.64223210.20
    alpham2385.867480425.09921810.17
    altbeast490.718766539.1524429.87
    androdun417.352934460.09423310.24
    aodk405.283963435.5771017.47
    aof378.684099419.71273210.83
    aof2379.501413416.1511429.66
    aof3370.517411406.8432179.80
    arabfgt298.177758274.308191-8.01
    arabianm199.873983220.46496010.30
    arlingtn520.922324518.045627-0.55
    astyanax594.755989649.8313569.26
    atetris990.6485751143.57897015.44
    athena510.001798527.5477803.44
    aurail405.553931466.52209515.03
    bang545.934283594.5583528.91
    batcirj375.010444403.9324287.71
    batrider278.729686278.8715590.05
    batsugun356.363668387.6841588.79
    bayroute490.382159545.95052711.33
    bermudat423.390603434.2542912.57
    bigrun167.592478180.3109627.59
    biofreak11.85290315.16606827.95
    bjourney359.539574403.91834712.34
    blazeon445.209869489.4363729.93
    blkpnthr344.967976353.2353682.40
    blktiger875.348454979.73650211.93
    bloodbro590.548472653.54697310.67
    bloodstm348.201697365.1342774.86
    bmaster420.879247crashundefined
    bnglngby654.108096764.66214816.90
    bonkadv386.357545440.33746613.97
    boomrang735.851471805.3457569.44
    breakers356.171806388.2242739.00
    breakrev359.699848379.2137905.43
    brival235.009563233.153532-0.79
    bstars413.717379460.44026211.29
    bstars2383.661411432.98328112.86
    btoads269.038930287.7654456.96
    burnforc246.622578286.73260416.26
    burningf420.893862472.62001212.29
    cabal621.346444678.3298249.17
    calibr50534.071491579.3370858.48
    captaven540.861052582.5507987.71
    captcomm455.920781490.3086337.54
    cawing477.992691513.4864657.43
    cbuster577.878688637.69637510.35
    cchasm203.648103210.7600513.49
    cheesech260.884724275.3545135.55
    chelnov566.099216629.26171411.16
    cheyenne1077.0700721242.92403315.40
    cloak770.306651842.2227849.34
    cninja435.901682483.57821610.94
    contra561.859747636.04043013.20
    crgolf1125.9701641222.1575708.54
    crsword372.471676388.0736434.19
    crusnusa45.04355453.05349517.78
    crusnwld48.86538857.97480818.64
    ctribe515.985568551.3016816.84
    cyberlip407.223261437.3113147.39
    cybsled47.47891044.315540-6.66
    ddragon320.469485352.1206119.88
    ddragon2343.538193379.73454010.54
    ddragon3358.578824402.13357612.15
    diehard60.17290668.28618313.48
    dimahoo344.214919370.2359887.56
    dino525.101368562.8237367.18
    dkong1124.6228301365.34820021.40
    dkong3673.731550757.87282112.49
    doubledr429.544463468.0653968.97
    dstlk397.178350422.4583956.36
    edrandy375.248475418.43022811.51
    eightman359.849025391.9127868.91
    enforce432.255399460.9853156.65
    eprom382.333457409.9522977.22
    f1en218.550515210.746490-3.57
    f1gp2351.956241401.27084114.01
    fantsy95588.638754704.33382919.65
    fatfursp402.184926442.72835110.08
    fatfury1383.794036417.5880758.81
    fatfury2380.159347416.7811439.63
    fatfury3356.952461401.97320612.61
    fbfrenzy385.505026424.82516910.20
    ffight470.683767505.1160177.32
    forgottn461.763319493.6459386.90
    ga2258.925311232.130744-10.35
    gaiden654.805905724.16524210.59
    galaga996.6839331233.06995023.72
    galaga88325.446591353.5510318.64
    galaxyfg224.801616252.82238912.46
    ganryu430.986461471.8165579.47
    gaplus924.9151991125.88535421.73
    gauntlet453.982908496.3926659.34
    gigawing357.015466384.5951347.73
    gijoe355.873305383.5124037.77
    goldnaxe497.178463548.71849310.37
    golgo1347.65459052.60623110.39
    gowcaizr429.815548471.4069759.68
    gpilots438.952929487.07037610.96
    gradius3316.102482342.6097208.39
    gratia243.225270197.992624-18.60
    grdians366.541706396.1947408.09
    growl502.810889541.3644687.67
    guardian326.128279360.43702010.52
    gumbo1176.6332401295.11903310.07
    gunbird2231.929551276.98450219.43
    gunforce427.982177crashundefined
    gururin374.820082411.2352779.72
    hachoo498.101040525.1714685.43
    hnayayoi519.366960544.0790544.76
    holo344.872479305.309028-11.47
    hydra300.886777336.88490911.96
    ikari532.711411552.6638043.75
    ikari3607.708047652.7054287.40
    irobot592.207193636.5200587.48
    jajamaru623.863165732.46733217.41
    joyjoy406.348876450.36159510.83
    jpark304.519273272.626106-10.47
    kamikcab561.837807634.70112912.97
    kchamp1067.6837851297.62157621.54
    kengo386.516242407.4540795.42
    kinst6.5967407.34337911.32
    kinst26.0786646.71286210.43
    kizuna379.353316414.0289579.14
    kof2000394.223366438.33856411.19
    kof94399.839856432.3450478.13
    kof95382.162898417.3956839.22
    kof96416.127140450.5483538.27
    kof97405.659436428.0544495.52
    kof98387.372704421.0611778.70
    kof99392.045414429.7121739.61
    kotm406.375792452.06511711.24
    kungfum961.9247111031.6144447.24
    lastbld2386.557703408.9396335.79
    lbowling412.088637453.76141710.11
    le2382.213321448.81758317.43
    legendos408.478694456.69470111.80
    lethalth438.290764crashundefined
    liberate571.634654645.52611712.93
    lifefrce325.768139340.6587344.57
    lresort384.405307428.38914311.44
    machridr635.427202748.67660217.82
    maddonna564.210482605.3800497.30
    madshark471.278675498.4923855.77
    magdrop2425.350408471.13674910.76
    maglord367.500194403.7660069.87
    mahretsu494.791748551.10042911.38
    masterw396.223326428.2139928.07
    mercs443.316116481.6487728.65
    metafox618.607924645.9965854.43
    metamrph372.995666434.49440716.49
    miexchng379.565730416.6565809.77
    mightybj633.090781748.06194018.16
    mk240.395601256.1627976.56
    mk2143.053901146.4193012.35
    mk3136.664802139.9812362.43
    mk3r10133.919323136.8766412.21
    mkprot9258.418119274.0359316.04
    mmatrix359.087547394.4164679.84
    moonwalk479.179024584.19790221.92
    moonwlkb453.541767495.7643149.31
    msgundam505.637862540.4663366.89
    mslug2348.717251372.8532426.92
    mslug3358.646920385.0096797.35
    mslugx360.011493393.5228049.31
    msword491.092298520.3221175.95
    mutantf358.190731401.25992412.02
    mutnat400.348704444.89796411.13
    mystston927.1458091041.49568812.33
    nam1975419.566307476.88245513.66
    narc184.395341191.8534944.04
    ncombat399.408380440.11438410.19
    ncommand405.623022448.05551310.46
    neobattl524.677085553.3682755.47
    neocup98340.209072373.9154499.91
    neomrdo378.425765407.2208077.61
    ninjaw271.180175288.8276166.51
    nost186.677143245.00644431.25
    nss_adam197.770607240.05938721.38
    nss_aten189.915167235.61611324.06
    nss_con3149.940924181.68939721.17
    nss_lwep223.606946268.71381420.17
    nss_ncaa157.149153202.73933729.01
    nss_rob3214.232401254.99727719.03
    nss_ssoc182.489491232.93976027.65
    numanath373.490956404.9001178.41
    nwarr361.938019390.0139127.76
    offroadc74.59278883.23161311.58
    orunners177.336505167.662835-5.45
    outfxies180.259953215.65437219.64
    overtop406.097786447.73209110.25
    p47aces245.577367207.876438-15.35
    pacman1268.7845131513.21895119.27
    panicbom364.137112401.73759510.33
    paperboy255.926208276.2865757.96
    pbobble404.148814430.4436436.51
    penbros336.947556338.9993800.61
    pirates675.125494734.4273858.78
    pitfight356.110708399.02827012.05
    plgirls632.323172689.5468429.05
    plgirls2653.634374704.5067587.78
    policetr348.611463392.26023512.52
    pow566.030452622.80275210.03
    prehisle641.064351658.5038102.72
    preisle2384.210058440.05235014.53
    psoldier317.657426crashundefined
    pspikes2368.911544381.6545963.45
    punchout560.542233621.69104910.91
    punisher533.747664568.0505536.43
    puzzledp386.846163431.24757911.48
    radarscp1117.6273751339.40494519.84
    radm229.447951211.731012-7.72
    radr455.141069327.903159-27.96
    rastan665.783394722.7498908.56
    rbff1373.700261412.04576210.26
    rbff2369.908396405.5843949.64
    revx110.180316115.4731604.80
    ridhero430.006397472.7669239.94
    robocop2428.652285469.8066109.60
    rranger679.643785809.17173519.06
    rtype429.969955450.5592954.79
    rtype2448.468563478.0722836.60
    rtypeleo350.932419crashundefined
    rungun204.124286266.09275130.36
    rygar837.078773903.4304257.93
    salamand316.704841334.1786385.52
    salmndr2330.343537377.06893014.14
    samsho401.848148443.09899910.27
    samsho2364.787381403.00248110.48
    sarge254.266057269.6229206.04
    sasuke1236.9625691596.82423629.09
    savagere380.903350432.33181413.50
    scontra406.818854491.48567420.81
    sengoku393.493057432.4738009.91
    sengoku2340.323163367.1763047.89
    sengoku3406.375165438.2155707.84
    sentetst1099.2489931167.9166296.25
    sf1466.736571487.2499844.40
    sf2416.422209442.5841356.28
    sf2ce404.426137429.2136926.13
    sfa391.561229420.7563487.46
    sfa2382.902544410.9717467.33
    sftm184.199785crashundefined
    shadoww650.149658716.38323310.19
    shinobi479.041618541.84856313.11
    shocktr2363.638506405.18093511.42
    silkroad394.859763432.3941019.51
    skyfox692.582887849.09349922.60
    smashtv276.765010292.2817995.61
    snowboar587.703941650.43776710.67
    socbrawl389.502669432.47744711.03
    soldivid288.855090356.40733423.39
    sonicp315.302527279.903826-11.23
    sonicwi2416.080842453.4289488.98
    soulclbr40.48434342.3753994.67
    souledgb56.40615460.5620047.37
    spclords273.172731301.34731510.31
    spidey271.143389251.348586-7.30
    spinmast375.387198410.5355919.36
    splatter384.515987410.8384616.85
    spnchout588.006110627.4189356.70
    ssf2375.837992405.1336107.79
    ssf2t362.455365390.4775957.73
    sshooter437.262438466.5782106.70
    ssideki364.912190399.7896479.56
    ssideki2320.353742356.26359911.21
    ssideki3353.445577390.44983110.47
    ssriders426.415048438.8410492.91
    stakwin366.928688400.4332379.13
    stonebal227.994179241.5718365.96
    stunrun179.535657193.5909627.83
    superspy399.747551437.8775659.54
    survarts321.258408285.629299-11.09
    svf249.774722236.375734-5.36
    szaxxon1215.3626211550.30611627.56
    taotaido396.857838436.90570410.09
    targeth716.146519794.63083810.96
    tattass356.548427398.90460811.88
    tempest238.044807241.1998771.33
    term2264.325958278.8395455.49
    tfrceac477.031801540.26605613.26
    thoop2440.848415505.69851414.71
    thundfox419.123534452.0428227.85
    timekill340.351286crashundefined
    tmnt641.984214660.2161792.84
    tmnt2376.855211390.0139883.49
    toobin227.135697241.9942326.54
    topgun609.708548720.74586218.21
    tophuntr365.350242398.9249139.19
    tpgolf393.418347438.78986711.53
    trally392.803170433.02199810.24
    trog289.566245306.0504185.69
    tsamurai825.570630992.77281220.25
    tshingen489.584098516.5858945.52
    tugboat786.829420942.85710819.83
    ultennis249.012392261.8988925.18
    umk3140.187685143.5362972.39
    unsquad575.864505624.2122838.40
    utoukond492.390281522.2271906.06
    vendetta448.664966483.0020247.65
    viewpoin442.088994493.26157811.58
    viostorm318.787739353.01405510.74
    vsav368.427407396.8795747.72
    vsav2370.839510398.9744607.59
    wargods59.85580369.85404816.70
    wh1296.471192320.9288148.25
    wh2312.196223343.0425239.88
    wildfang640.958916726.83847413.40
    willow555.561389593.4992846.83
    wizdfire394.413978458.21156416.18
    wof540.329695574.4036876.31
    wrally2359.886490386.7770377.47
    xevios853.9024191003.17706217.48
    xmen421.259146449.8194676.78
    xmen2p417.808590446.0092636.75
    xmen6p543.481569569.8678824.86
    yiear1615.2954261781.49088010.29
    zerowing218.618472241.18615410.32
    zerozone778.319203895.69409415.08
    zombraid560.788743614.2048889.53
    zupapa406.467549429.5803165.69

    X86-64 CFLAGS experiments

    What impact do they really have?

  • -fomit-frame-pointer is useless. It adds noise. This might be expected, as the kernel 2.6.9 changelog specifically says frame pointers are not the default on X86-64.
  • -O3 really is better than -O2 and -O1 (not shown)
  • -funroll-all-loops -ftracer -fpeel-loops do add a few percent, generally, and don't hurt more than about 1 percent.
    GAME32-bit -O364-bit -O3PERCENT OVER 32-bit64-bit -O3 -fomit-frame-pointerPERCENT over 64-bit64-bit -O3 -funroll-all-loopsPERCENT over 64-bit64-bit -O3 -fpeel-loopsPERCENT over 64-bit64-bit -O3 -ftracerPERCENT over 64-bit64-bit -O3 -funroll-all-loops -fpeel-loops -ftracerPERCENT over 64-bit
    pacman1211.5255821542.33445927.311561.7298721.261529.290033-0.851552.9785430.691560.9887681.211596.6659063.52
    tempest237.145296243.2738252.58243.6347200.15253.3967584.16250.1909272.84248.8790922.30253.0177434.01
    samsho412.275010443.0805057.47446.6132380.80444.4040140.30446.6516580.81452.8023922.19440.453350-0.59
    mk2142.838476146.1102562.29146.5059700.27146.5644870.31146.9605670.58147.1010220.68146.088017-0.02
    ssf2t363.315602393.0651058.19390.619736-0.62391.260983-0.46391.477090-0.40388.595771-1.14392.820020-0.06
    xmen421.301244450.9505797.04451.6218190.15463.6520662.82458.7830671.74458.2854811.63465.1167773.14
    mslugx364.476688390.2739677.08390.165352-0.03396.6727571.64393.0786400.72393.3360840.78394.0245860.96
    kof2000388.298877429.19584110.53425.416527-0.88421.408229-1.81428.687254-0.12424.379301-1.12425.081618-0.96
    crusnusa44.97510952.46889716.6652.8126400.6655.7889926.3352.9650510.9551.692736-1.4855.8207026.39
    wargods60.02085369.86169416.4069.191693-0.9672.5375393.8368.273515-2.2769.596796-0.3872.8050234.21
    souledgb57.07627560.7798756.4960.8168900.0663.4716354.4360.8411920.1058.329247-4.0362.8580023.42

    Testing -funroll-loops and -funswitch-loops

  • Here we see there is some difference between -funroll-loops and -funroll-all-loops, plus or minus. No clear win with -funroll-loops, which is somewhat surprising.
  • -funswitch-loops adds a couple percent noise to the scores, which could be in a margin of error here. Not a clear win but maybe OK.
    GAME32-bit -O364-bit -O3PERCENT over 32-bit64 -O3 -funroll-loopsPERCENT over 64-bit -O364-bit -O3 -funroll-all-loopsPERCENT over 64-bit -O364-bit -O3 -funswitch-loopsPERCENT over 64-bit -O364-bit -O3 -funroll-loops -fpeel-loops -ftracerPERCENT over 64-bit -O364-bit -O3 -funroll-all-loops -fpeel-loops -ftracer -funswitch-loopsPERCENT over 64-bit -O3
    pacman1257.1527281566.37727324.601538.779000-1.761585.5866371.231465.000765-6.471567.2539220.061589.3384631.47
    tempest235.953577244.0708663.44252.2478883.35253.2930053.78243.201183-0.36252.9585273.64254.5396964.29
    samsho405.703888442.2630269.01450.4933891.86450.2019271.80446.7359821.01440.623514-0.37444.4832430.50
    mk2142.684900146.1907922.46146.7482420.38145.879018-0.21146.3458870.11146.029127-0.11146.3835840.13
    ssf2t365.332289392.7171557.50392.006425-0.18391.334002-0.35392.175364-0.14389.017053-0.94392.7683950.01
    xmen422.961944452.9016697.08464.1632762.49466.7773553.06455.6370990.60465.4197332.76466.1622602.93
    mslugx361.256889392.4312728.63395.8711900.88405.1395023.24391.827236-0.15389.557809-0.73383.563123-2.26
    kof2000394.304321430.0532759.07427.121041-0.68429.744988-0.07439.1625492.12420.551352-2.21425.001694-1.17
    crusnusa43.63756350.07713414.7653.7415207.3254.5307108.8951.5301692.9053.5326726.9056.04448411.92
    wargods58.62143969.11562617.9070.7487832.3669.6067760.7167.954166-1.6870.5961942.1470.8360052.49
    souledgb57.11538560.9050456.6463.9454734.9963.6644284.5360.9855550.1363.0832773.5863.3462284.01