.
D 2000-10-26T00:53:45
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s2139\sRFE\nVersion:\s8.1\nSubmitDate:\s'1999-06-03'\nLastModified:\s'1999-12-03'\nSeverity:\sLOW\nStatus:\sClosed\nSubmitter:\stechsupp\nChangedBy:\shobbs\nOS:\sSolaris\nOSVersion:\s7\nMachine:\sOther\nFixedDate:\s'2000-10-25'\nClosedDate:\s'1999-12-03'\n\n\nName:\nTimothy\sMiller\n\nCustomShell:\nThe\s"patch"\swas\sjust\sthe\scompiler\soptimization\smentioned\sabove.\n\nDesiredBehavior:\nWe\suse\sUltraSparc\shere\sa\slot,\sand\sit\swould\sbe\snice\sif\smore\sdevelopers\n\s\s\s\swould\smake\sbetter\suse\sof\sthe\sSparc\scompiler.\s\sInstead\sof\s"-O",\swe\shere\n\s\s\s\suse\sthe\sfollowing\soptimization:\n\s\s\s\s\s\s\s\sCFLAGS_OPTIMIZE\s=\s\s\s\s\s\s\s-fast\s-xO4\s-xdepend\s-xchip=ultra\n\s\s\s\s-xarch=generic\n\s\s\s\s\n\s\s\s\sI\shave\scompiled\stcl\susing\sthese\sflags\son\smy\sSolaris\s7\sbox\swith\sthe\n\s\s\s\slatest\sSparc\sWorkshop.\s\sI\shave\srun\sthe\stest\ssuite\son\sit,\sand\sthese\sare\n\s\s\s\sthe\sresults:\n\s\s\s\s\n\s\s\s\sTests\sended\sat\sThu\sMay\s27\s11:19:40\sEDT\s1999\n\s\s\s\sall.tcl:\s\s\s\s\s\s\s\sTotal\s\s\s8472\s\s\s\sPassed\s\s7740\s\s\s\sSkipped\s725\s\s\s\s\sFailed\n\s\s\s\s7\n\s\s\s\sSourced\s117\sTest\sFiles.\n\s\s\s\sFiles\swith\sfailing\stests:\sevent.test\sio.test\sthread.test\n\s\s\s\sNumber\sof\stests\sskipped\sfor\seach\sconstraint:\n\s\s\s\s\s\s\s\s\s\s\s\s15\s\s\s\s\s\s95\n\s\s\s\s\s\s\s\s\s\s\s\s16\s\s\s\s\s\sdoTestsWithRemoteServer\n\s\s\s\s\s\s\s\s\s\s\s\s48\s\s\s\s\s\semptyTest\n\s\s\s\s\s\s\s\s\s\s\s\s27\s\s\s\s\s\sknownBug\n\s\s\s\s\s\s\s\s\s\s\s\s122\s\s\s\s\smacOnly\n\s\s\s\s\s\s\s\s\s\s\s\s151\s\s\s\s\snonPortable\n\s\s\s\s\s\s\s\s\s\s\s\s16\s\s\s\s\s\snt\n\s\s\s\s\s\s\s\s\s\s\s\s327\s\s\s\s\spcOnly\n\s\s\s\s\s\s\s\s\s\s\s\s1\s\s\s\s\s\s\sumask2\n\s\s\s\s\s\s\s\s\s\s\s\s2\s\s\s\s\s\s\sunixOnly\s&&\s!testthread\n\s\s\s\sWarning:\stest\sfiles\sleft\sfiles\sbehind:\n\s\s\s\s\s\s\s\s\s\s\s\shttpold.test:\s\s\shttpd\n\s\s\s\s\n\s\s\s\sThe\sfailures\swere:\n\s\s\s\s\n\s\s\s\s====\sthread-4.4\sTclThreadSend\spreserve\scode\sFAILED\n\s\s\s\s====\sio-50.6\stesting\shandler\sdeletion\svs\sreentrant\scalls\sFAILED\n\s\s\s\s====\sio-50.5\stesting\shandler\sdeletion\svs\sreentrant\scalls\sFAILED\n\s\s\s\s====\sio-50.4\stesting\shandler\sdeletion\svs\sreentrant\scalls\sFAILED\n\s\s\s\s====\sio-50.3\stesting\shandler\sdeletion\swith\smultiple\shandlers\sFAILED\n\s\s\s\s====\sio-50.2\stesting\shandler\sdeletion\swith\smultiple\shandlers\sFAILED\n\s\s\s\s====\sevent-1.1\sTcl_CreateFileHandler,\sreading\sFAILED\n\s\s\s\s\n\s\s\s\sI\sdon't\sknow\sif\sthose\sare\sexpected.\s\sGiven\smy\spast\ssuccessful\sexperience\n\s\s\s\swith\sthese\soptimizations\son\ssuch\sthings\sas\sthe\sMIT\sX11R6.1,\sI\swould\n\s\s\s\ssuspect\sthat\sthese\sfailures\swould\soccur\swith\sthe\snormal\s"-O"\n\s\s\s\soptimization,\salthough\sI\shaven't\stried\sit.\s\sI\sdon't\sbelieve\sthere\swere\n\s\s\s\sany\score\sdumps.\n\s\s\s\s\n\s\s\s\sNext,\sI\sdid\swish,\swith\sthe\ssame\soptimization\sfor\sUltraSparc.\s\sI\sran\sthe\n\s\s\s\stest\ssuite\sand\sgot\sthese\sthree\sfailures:\n\s\s\s\s\n\s\s\s\s====\swinfo-13.4\s[winfo\scontaining]\swith\sembedded\swindows\sFAILED\n\s\s\s\s====\sunixEmbed-5.1\sEmbedFocusProc\sprocedure,\sFocusIn\sevents\sFAILED\n\s\s\s\s====\sfocus-6.1\smiscellaneous\s-\sembedded\sapplication\sin\ssame\sprocess\n\s\s\s\sFAILED\n\s\s\s\s\n\s\s\s\sAgain,\sno\score\sdumps,\sand\sI\sdon't\sknow\sif\sthese\sfailures\sare\srelevant.\n\s\s\s\s\n\s\s\s\sThese\sextra\soptimization\soptions\sresult\sin\sconsiderable\sperformance\n\s\s\s\simprovement\sover\s-O\sor\s-O2.\s\sIt\smight\sbe\sworth\sthe\swhile\sof\syou\sand\syour\n\s\s\s\susers\sto\suse\sthat.\s\sAnd\sfor\sthat\smatter,\syou\scan\suse\s-O3\sfor\sgcc\salso\n\s\s\s\swhich\smay\syield\ssome\sperformance\simprovements.\n\s\s\s\s\n\s\s\s\sIf\syou\shave\sany\ssupport\sfor\s64-bit\ssystems\sand\saccount\sfor\sthe\sfact\sthat\n\s\s\s\s"long"\sand\spointers\sare\s64-bit\son\sthese\ssystems\sand\swould\slike\sto\stry\sit\n\s\s\s\sfor\sUltraSparc\s(Solaris\s7\son\sa\sSparc\sv9\sarchitecture),\syou\swould\sneed\sto\n\s\s\s\sadd\sthis\soption\sto\sthe\sabove:\n\s\s\s\s\s\s\s\s-xarch=v9\s-xregs=no%appl\n\s\s\s\s\n\s\s\s\sHappy\scoding.\n\n\n\nUsers\sare\swelcome\sto\schange\sthe\soptimization\slevel\sthemselves,\nbut\sthis\sis\snot\srecommended\spractice\sin\sgeneral,\sas\snot\sall\ncompilers\ssupport\smore\sthan\s-0,\sor\ssupport\sit\sstably.\s\n--\s12/03/1999\shobbs
J foundin obsolete:\s8.1
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title Better\scompiler\soptimizations
J type Bug
K 218147ffffffffffffffffffffffffffffffffff
U nobody
Z 7613c794226fb8187b10cb620f5eb68b