.
D 2003-06-24T16:35:54
J icomment \n\nFile\sAdded\s-\s53982:\sconfig.log\n\nLogged\sIn:\sYES\s\nuser_id=696559\n\nserow#\suname\s-a\nOSF1\sserow.gsf.de\sV5.1\s1885\salpha\salpha\sunknown\sTru64\nserow#\suname\s-s\nOSF1\nserow#\suname\s-r\nV5.1\nserow#\s\n\n$\sCC=cc\sCXX=cxx\s./configure\s--prefix=/software/@sys/usr\ncreating\scache\s./config.cache\nchecking\swhether\sto\suse\ssymlinks\sfor\smanpages...\sno\nchecking\scompression\sfor\smanpages...\sno\nchecking\sfor\sgcc...\scc\nchecking\swhether\sthe\sC\scompiler\s(cc\s-O2\s-arch\sev56\s)\nworks...\syes\nchecking\swhether\sthe\sC\scompiler\s(cc\s-O2\s-arch\sev56\s)\sis\sa\ncross-compiler...\sno\nchecking\swhether\swe\sare\susing\sGNU\sC...\sno\nchecking\swhether\scc\saccepts\s-g...\syes\nchecking\show\sto\srun\sthe\sC\spreprocessor...\scc\s-E\nchecking\sfor\sunistd.h...\syes\nchecking\sfor\slimits.h...\syes\nchecking\sfor\sbuilding\swith\sthreads...\sno\s(default)\nchecking\sfor\srequired\searly\scompiler\sflags...\snone\nchecking\sfor\s64-bit\sinteger\stype...\susing\slong\nchecking\swhether\sbyte\sordering\sis\sbigendian...\sno\nchecking\sfor\sgetcwd...\syes\nchecking\sfor\sopendir...\syes\nchecking\sfor\sstrstr...\syes\nchecking\sfor\sstrtol...\syes\nchecking\sfor\sstrtoll...\sno\nchecking\sfor\sstrtoull...\sno\nchecking\sfor\stmpnam...\syes\nchecking\sfor\swaitpid...\syes\nchecking\sfor\sstrerror...\syes\nchecking\sfor\sgetwd...\syes\nchecking\sfor\swait3...\syes\nchecking\sfor\suname...\syes\nchecking\sfor\srealpath...\syes\nchecking\sdirent.h...\syes\nchecking\sfor\serrno.h...\syes\nchecking\sfor\sfloat.h...\syes\nchecking\sfor\svalues.h...\syes\nchecking\sfor\slimits.h...\s(cached)\syes\nchecking\sfor\sstdlib.h...\syes\nchecking\sfor\sstring.h...\syes\nchecking\sfor\ssys/wait.h...\syes\nchecking\sfor\sdlfcn.h...\syes\nchecking\sfor\sunistd.h...\s(cached)\syes\nchecking\sfor\ssys/param.h...\syes\nchecking\sfor\ssys/modem.h...\sno\nchecking\stermios\svs.\stermio\svs.\ssgtty...\stermios\nchecking\sfor\sfd_set\sin\ssys/types...\syes\nchecking\swhether\sstruct\stm\sis\sin\ssys/time.h\sor\stime.h...\stime.h\nchecking\sfor\ssys/time.h...\syes\nchecking\swhether\stime.h\sand\ssys/time.h\smay\sboth\sbe\nincluded...\syes\nchecking\sfor\stm_zone\sin\sstruct\stm...\syes\nchecking\sfor\sgmtime_r...\syes\nchecking\sfor\slocaltime_r...\syes\nchecking\stm_tzadj\sin\sstruct\stm...\sno\nchecking\stm_gmtoff\sin\sstruct\stm...\syes\nchecking\slong\stimezone\svariable...\syes\nchecking\sfor\sst_blksize\sin\sstruct\sstat...\syes\nchecking\sfor\sfstatfs...\syes\nchecking\sfor\s8-bit\sclean\smemcmp...\syes\nchecking\sfor\smemmove...\syes\nchecking\sproper\sstrstr\simplementation...\syes\nchecking\sfor\sstrtoul...\syes\nchecking\sfor\sstrtod...\syes\nchecking\sfor\sstrtod...\s(cached)\syes\nchecking\sfor\sSolaris2.4/Tru64\sstrtod\sbugs...\sok\nchecking\sfor\sANSI\sC\sheader\sfiles...\syes\nchecking\sfor\smode_t...\syes\nchecking\sfor\spid_t...\syes\nchecking\sfor\ssize_t...\syes\nchecking\sfor\suid_t\sin\ssys/types.h...\syes\nchecking\sfor\ssocklen_t...\sno\nchecking\sfor\sopendir...\s(cached)\syes\nchecking\sunion\swait...\sno\nchecking\sfor\sstrncasecmp...\syes\nchecking\sfor\sBSDgettimeofday...\sno\nchecking\sfor\sgettimeofday...\syes\nchecking\sfor\sgettimeofday\sdeclaration...\spresent\nchecking\swhether\schar\sis\sunsigned...\sno\nchecking\ssigned\schar\sdeclarations...\syes\nchecking\sfor\sa\sputenv()\sthat\scopies\sthe\sbuffer...\sno\nchecking\sfor\slanginfo.h...\syes\nchecking\swhether\sto\suse\snl_langinfo...\syes\nchecking\sfor\ssin...\sno\nchecking\sfor\smain\sin\s-lieee...\sno\nchecking\sfor\smain\sin\s-linet...\sno\nchecking\sfor\snet/errno.h...\sno\nchecking\sfor\sconnect...\syes\nchecking\sfor\sgethostbyname...\syes\nchecking\show\sto\sbuild\slibraries...\sshared\nchecking\sfor\sranlib...\sranlib\nchecking\sif\s64bit\ssupport\sis\srequested...\sno\nchecking\sif\s64bit\sSparc\sVIS\ssupport\sis\srequested...\sno\nchecking\ssystem\sversion\s(for\sdynamic\sloading)...\sOSF1-V5.1\nchecking\sfor\sdlopen\sin\s-ldl...\sno\nchecking\sfor\sar...\sar\nchecking\sfor\sbuild\swith\ssymbols...\sno\nchecking\sfor\ssys/ioctl.h...\syes\nchecking\sfor\ssys/filio.h...\sno\nchecking\sFIONBIO\svs.\sO_NONBLOCK\sfor\snonblocking\sI/O...\sFIONBIO\nchecking\show\sto\spackage\slibraries...\sstandard\sshared\slibrary\nupdating\scache\s./config.cache\ncreating\s./config.status\ncreating\sMakefile\ncreating\sdltest/Makefile\ncreating\stclConfig.sh\n$\n\nI'm\sattaching\sconfig.log\soutput.\n\nThe\s-ieee\sis\sa\scompiler\sflag(below\sis\sa\ssnippet\sfrom\scc(1)\nmanpage):\n\n\s\s-ieee\n\s\s\s\s\s\sEnsure\ssupport\sof\sall\sportable\sfeatures\sof\sthe\sIEEE\nStandard\sfor\sBinary\n\s\s\s\s\s\sFloating-Point\sArithmetic\s(ANSI/IEEE\sStd\s754-1985),\nincluding\sthe\n\s\s\s\s\s\streatment\sof\sdenormalized\snumbers,\sNaNs,\sand\ninfinities\sand\sthe\shan-\n\s\s\s\s\s\sdling\sof\serror\scases.\s\sThis\soption\salso\ssets\sthe\n_IEEE_FP\sC\spreproces-\n\s\s\s\s\s\ssor\smacro.\n\n\s\s\s\s\s\sIf\syour\sprogram\smust\suse\sIEEE\ssignaling\sfeatures\sthat\nare\snot\sportable\n\s\s\s\s\s\sacross\sdifferent\sIEEE\simplementations,\ssee\sthe\sieee(3)\nreference\spage\n\s\s\s\s\s\sfor\sa\sdiscussion\sof\show\sto\saccess\sthem\sunder\sthe\sTru64\nUNIX\soperating\n\s\s\s\s\s\ssystem.\n\n\nThere's\sno\slibrary\slibieee.*\sanywhere.\n\nThe\sieee.3\smanpage\ssays:\n\n\n\n\nieee(3)\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\n\s\s\s\s\s\s\s\s\s\sieee(3)\n\n\n\nNAME\n\n\s\sieee,\sieee_set_fp_control,\sieee_get_fp_control,\nieee_set_state_at_signal,\n\s\sieee_get_state_at_signal,\sieee_ignore_state_at_signal\s-\nlibc\sieee\strap\n\s\senable\ssupport\sroutines.\n\nLIBRARY\n\n\s\sStandard\sC\sLibrary\s(libc.so,\slibc.a)\n\nSYNOPSIS\n\n\s\s#include\s<machine/fpu.h>\n\n\s\svoid\sieee_set_fp_control(\n\s\s\s\s\s\s\s\s\s\sunsigned\slong\sfp_control);\n\n\s\sunsigned\slong\sieee_get_fp_control();\n\n\s\svoid\sieee_set_state_at_signal(\n\s\s\s\s\s\s\s\s\s\sunsigned\slong\sfp_control,\n\s\s\s\s\s\s\s\s\s\sunsigned\slong\sfpcr);\n\s\sint\sieee_get_state_at_signal(\n\s\s\s\s\s\s\s\s\s\sunsigned\slong\s*fp_control,\n\s\s\s\s\s\s\s\s\s\sunsigned\slong\s*fpcr);\n\n\s\svoid\sieee_ignore_state_at_signal();\n\nPARAMETERS\n\n\s\sfp_control\n\s\s\s\s\s\s\s\s\s\s\s\sSoftware\sIEEE\sfloating-point\scontrol.\n\n\s\sfpcr\s\s\s\s\s\sHardware\sIEEE\sfloating-point\scontrol\sregister.\n\nDESCRIPTION\n\n\s\sThese\sroutines\ssupport\sthe\simplementation\sof\sthe\sIEEE\nStandard\sfor\sBinary\n\s\sFloating-Point\sArithmetic.\n\n\s\sIEEE-format\sfloating-point\soperations\sare\ssubject\sto\sthe\nfollowing\straps:\n\n\s\s\s\so\s\sInvalid\soperation\n\n\s\s\s\so\s\sDivision\sby\szero\n\n\s\s\s\so\s\sOverflow\n\n\s\s\s\so\s\sUnderflow\n\n\s\s\s\so\s\sInexact\sresult\n\n\n\s\s(Note\sthat\sfloating-point-to-integer\sconversion\soperations\nmay\sgenerate\san\n\s\sinteger\soverflow\strap,\swhich\sthe\soperating\ssystem\straps\nand\sdelivers\sas\san\n\s\sinvalid\soperation.)\n\n\s\sBy\sdefault,\sfloating-point\soperations\sgenerate\simprecise\ntraps\sfor\sinvalid\n\s\soperation,\sdivision\sby\szero,\sand\soverflow\serrors.\s\sTo\ncause\sfloating-point\n\s\serrors\sto\sbe\shandled\swith\sprecise\sexception\sfaults,\sor\nwith\sthe\ssignal\shan-\n\s\sdling\sspecified\sin\sthe\sIEEE\sfloating-point\sstandard,\sC\nlanguage\sprogrammers\n\s\sshould\suse\sthe\s-ieee\sflag\sto\sthe\scc\scommand.\s\sAssembly\nlanguage\sprogrammers\n\s\sshould\suse\sthe\ssu\ssuffix\son\sfloating-point\sinstruction\nopcodes\sand\sfollow\n\s\sthe\ssoftware\scompletion\srules\sof\sthe\sAlpha\sarchitecture.\s\nThese\smethods\n\s\sallow\syou\sto\saccess\sall\sfeatures\sof\sthe\sIEEE\sstandard\nexcept\sthe\sinexact\n\s\sresult\sfeature.\n\n\s\sThe\sinexact\sresult\sfeature\scan\ssometimes\sdegrade\nperformance,\sso\sa\sdiffer-\n\s\sent\smethod\sis\srequired\sto\senable\sit.\s\sAssembly\slanguage\nprogrammers\scan\n\s\saccess\sthe\sinexact\sresult\sfeature\sby\susing\sthe\ssui\ssuffix\non\sfloating-point\n\s\sinstruction\sopcodes.\s\sC\slanguage\sprogrammers\scan\saccess\nthe\sinexact\sresult\n\s\sfeature\sby\sreplacing\sthe\s-ieee\sflag\sto\sthe\scc\scommand\swith\sthe\n\s\s-ieee_with_inexact\sflag.\s\sOn\ssome\sAlpha\simplementations\nthe\sinexact\sresult\n\s\sfeature\sis\simplemented\sby\strapping\sto\sa\ssoftware\semulator.\n\sUsing\ssui\n\s\sfloating-point\sinstructions\sor\sthe\s-ieee_with_inexact\sflag\nmight\scause\sa\n\s\ssignificant\sdrop\sin\sperformance\son\ssuch\simplementations.\s\nBecause\sof\sthis,\n\s\syou\sshould\suse\sthe\sinexact\sresult\sfeature\sonly\sin\sthose\nfew\sprogram\sstate-\n\s\sments\swhere\sinexact\ssignaling\sis\sneeded.\n\n\s\sWhen\syour\scode\sis\scompiled\swith\sieee\sor\sieee_with_inexact,\nthe\sdelivery\sof\n\s\sall\sfloating-point\straps\sto\sa\suser\sprogram\sis\sdisabled\sby\ndefault.\s\sA\suser\n\s\sprogram\scan\srequest\sthe\sdelivery\sof\sany\sof\sthe\sfive\nstandard\sIEEE\straps\sby\n\s\scalling\sieee_set_fp_control\sto\sset\sthe\sassociated\sflags\sin\nthe\ssoftware\n\s\sIEEE\sfloating-point\scontrol\sregister\s(fp_control)\sthat\ncontrol\strap\sdeliv-\n\s\sery.\s\sAnd,\sin\sa\ssimilar\sway,\sa\suser\sprogram\scan\srequest\ndelivery\sof\san\n\s\sinvalid\soperation\strap\swhenever\sa\sdenormalized\soperand\sis\nused.\n\n\s\sWhen\sthe\sIEEE\sgradual\sunderflow\scapability\s(that\sis,\ndenormalized\soperands\n\s\sand\sresults)\sis\snot\sdesired,\sit\scan\sbe\sdisabled\sby\nspecifying\sone\sor\sboth\n\s\sof\sthe\soptions\sto\smap\sdenormalized\sinput\soperands\sto\szero\nor\sto\sflush\n\s\sunderflowing\sresults\sto\szero.\n\n\s\sThe\sfollowing\sconstants\sare\sdefined\sin\smachine/fpu.h\sand\ncan\sbe\sused\sto\n\s\sconstruct\san\sappropriate\sset\smask\sin\sthe\sfp_control\nargument\sto\san\n\s\sieee_set_fp_control\scall:\n\s\s-------------------------------------------------\n\s\sConstant\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sMeaning\n\s\s-------------------------------------------------\n\s\sIEEE_TRAP_ENABLE_INV\s\s\s\sInvalid\soperation\n\n\s\sIEEE_TRAP_ENABLE_DZE\s\s\s\sDivide\sby\s0\n\n\s\sIEEE_TRAP_ENABLE_OVF\s\s\s\sOverflow\n\n\s\sIEEE_TRAP_ENABLE_UNF\s\s\s\sUnderflow\n\n\s\sIEEE_TRAP_ENABLE_INE\s\s\s\sInexact\n\n\s\sIEEE_TRAP_ENABLE_DNO\s\s\s\sdenormal\soperand\n\n\s\sIEEE_TRAP_ENABLE_MASK\s\s\smask\sof\sall\sthe\strap\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\senables\n\n\s\sIEEE_MAP_DMZ\s\s\s\s\s\s\s\s\s\s\s\smap\sdenormal\sinputs\sto\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\szero\n\n\n\n\n\n\s\sIEEE_MAP_UMZ\s\s\s\s\s\s\s\s\s\s\s\smap\sunderflow\sresults\sto\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\szero\n\s\s-------------------------------------------------\n\n\n\s\sThe\sfp_control,\swhich\scan\sbe\sread\sby\smeans\sof\nieee_get_fp_control,\salso\n\s\scontains\sstatus\sflags\swhich,\swhen\sset,\sindicate\sone\sor\nmore\soccurrences\sof\n\s\sindividual\sfloating-point\sexception\sconditions.\s\sThese\nflags\sremain\sset\n\s\suntil\sa\suser\sprogram\sexplicitly\sclears\sthem\sby\scalling\nieee_set_fp_control.\n\s\sTo\sallow\smanipulation\sof\sthese\sflags,\sthe\sfollowing\nconstants\sare\sdefined\n\s\sin\smachine/fpu.h:\n\n\s\s------------------------------------------\n\s\sConstant\s\s\s\s\s\s\s\s\s\s\sMeaning\n\s\s------------------------------------------\n\s\sIEEE_STATUS_INV\s\s\s\sInvalid\soperation\n\n\s\sIEEE_STATUS_DZE\s\s\s\sDivide\sby\s0\n\n\s\sIEEE_STATUS_OVF\s\s\s\sOverflow\n\n\s\sIEEE_STATUS_UNF\s\s\s\sUnderflow\n\n\s\sIEEE_STATUS_INE\s\s\s\sInexact\n\n\s\sIEEE_STATUS_DNO\s\s\s\sdenormal\soperand\n\n\s\sIEEE_STATUS_MASK\s\s\smask\sof\sall\sthe\sstatus\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sflags\n\s\s------------------------------------------\n\n\s\sAt\sthread\screation\s(and\sprocess\screation\sas\sa\sresult\sof\san\nexec(2)\scall),\n\s\sthe\sdelivery\sof\sall-floating\spoint\straps\sis\sdisabled\sand\nall\sfloating-point\n\s\sexception\sstatus\sflags\sin\sthe\sfp_control\sare\sclear.\s\sIf\nthe\sthread\screating\n\s\sthe\snew\sprocess\shas\sset\sthe\sinherit\sbit\sin\sits\sfp_control\n(by\sspecifying\n\s\sthe\sconstant\sIEEE_INHERIT\sin\sthe\sfp_control\smask\s\sto\san\nieee_set_fp_control\n\s\scall),\sthe\snewly-created\sprocess\swill\sinherit\sits\ncreator's\sfpcr\sand\n\s\sfp_control\ssettings.\n\n\s\sAt\sa\sfork(2)\scall,\sthe\schild\sprocess\salways\sinherits\sits\nparent's\sfp_con-\n\s\strol\sand\sfpcr\ssettings,\sregardless\sof\sthe\ssetting\sof\sthe\ninherit\sbit.\n\n\s\sUsers\sshould\sbe\scareful\sto\sremember\sthat\ssetting\sthe\sbits\nin\sthe\sfp_con-\n\s\strol,\slike\ssetting\ssignal\shandlers,\swill\saffect\sother\scode\nwithin\stheir\n\s\sthread.\n\n\s\sA\suser\sprogram\scalls\sieee_get_fp_control\sto\sobtain\sa\scopy\nof\sthe\scurrent\n\s\sfp_control.\s\sAdditionally,\sthe\sjmp_buf\sargument\sfor\nsetjmp(3),\swhich\suses\n\s\sstruct\ssigcontext\sfrom\ssignal(4)\sas\san\soverlay,\sprovides\nan\ssc_fp_control\n\s\sfield.\sWhen\sa\suser\sprogram\sissues\sa\slongjmp(3)\sor\nsigreturn(2),\sthe\n\s\ssc_fp_control\sincludes\sthe\scurrent\sset\sof\strap\sflags.\n\n\s\sThe\sIEEE\sstandard\sspecifies\sdefault\sresult\svalues\n(including\sdenormalized\n\s\snumbers,\sNaNs,\sand\sinfinities)\sfor\soperations\sthat\scause\ntraps\sthat\sare\snot\n\s\suser-enabled.\sAn\soperating\ssystem\strap\shandler\smust\n"complete"\sthese\sopera-\n\s\stions\sby\ssupplying\sthe\sdefault\sIEEE\sresult.\s\sFor\sthe\noperating\ssystem\sto\n\s\sproperly\sfix\sthe\sresults\sof\sthese\soperations,\sthe\scode\nmust\sbe\sgenerated\sas\n\s\sresumption\ssafe\sand\ssoftware\scompletion\smust\sbe\sspecified\nin\sthe\strapping\n\s\smode.\n\n\s\sThe\sconcept\sof\sresumption-safe\scode\swarrants\sfurther\nexplanation.\s\sBecause\n\s\sCompaq\sAlpha\ssystems\sincorporate\spipelining\sand\nmulti-instruction\sissue\n\s\stechniques,\swhen\san\sarithmetic\sexception\soccurs,\sthe\nprogram\scounter\smay\n\s\snot\scontain\sthe\saddress\sof\sthe\sinstruction\sthat\sactually\ncaused\sthe\strap\n\s\s(referred\sto\sas\sthe\strigger\sPC).\sIt\smay\sinstead\scontain\nthe\saddress\sof\sthe\n\s\sinstruction\sthat\swas\sexecuting\sat\sthe\stime\sthe\strap\swas\nexecuted\s(referred\n\s\sto\sas\sthe\strap\sPC).\s\sSeveral\sintervening\sinstructions\smay\nhave\sbeen\spresent\n\s\sand\scould\shave\schanged\sthe\smachine\sstate\sfrom\swhat\sit\swas\nat\sthe\stime\sof\n\s\sthe\sexception.\sThe\sinstructions\sbetween\sthe\strigger\sPC\sand\nthe\strap\sPC\sare\n\s\scalled\sthe\strap\sshadow.\n\n\s\sThe\sAlpha\sArchitecture\sReference\sManual\sspecifies\nconventions\sfor\screating\n\s\sthe\strap\sshadow\sso\sthat\sthe\soperating\ssystem\strap\shandler\ncan\sprovide\san\n\s\sIEEE\sresult\svalue\sfor\san\soperation\sand\scontinue\sexecution.\n\sThe\sarchitec-\n\s\sture\sprovides\sa\sway\sfor\ssoftware\sto\smark\sinstructions\nwhich\sabide\sby\sthe\n\s\sconventions\sand\sa\suser\smay\srequest\sthis\sof\sthe\scompiler\ndriver\s(cc(1))\sby\n\s\sspecifying\sthe\s-ieee\sflag\son\sthe\scommand\sline.\n\n\s\sTo\sdetermine\swhich\sexception\soccurred,\sthe\soperating\nsystem\strap\shandler\n\s\smust\sback\sup\sinstructions\sand\slook\sfor\sthe\strigger\sPC.\nOnce\sit\sfinds\sthe\n\s\strigger\sPC,\sthe\ssoftware\smay\sneed\sto\sre-execute\sor\semulate\nthe\strigger\n\s\sinstruction\sto\sdetermine\swhich\strap\sit\sactually\scaused.\n\n\s\sOnce\sthe\svalidity\sof\sthe\strap\sshadow\sand\sthe\strigger\nexception\sis\sdeter-\n\s\smined,\sthe\soperating\ssystem\scan\sthen\sdecide\swhat\sto\sdo\nwhen\san\sexception\n\s\soccurs,\sdepending\son\sthree\sfactors:\n\n\s\s\s\so\s\sWhether\sthe\suser\sprogram\shas\sset\sany\sof\sthe\ntrap-enable\sflags\sin\n\s\s\s\s\s\s\sfp_control\n\n\s\s\s\so\s\sWhether\sthe\suser\sprogram\shas\sbeen\screated\sas\nresumption\ssafe\scode\n\n\s\s\s\so\s\sWhether\sthe\suser\sprogram\shas\sspecified\sa\shandler\sfor\nSIGFPE,\shas\n\s\s\s\s\s\s\sdecided\sto\signore\sthe\ssignal\s(SIG_IGN),\sor\shas\naccepted\sthe\ssignal's\n\s\s\s\s\s\s\sdefault\streatment\s(SIG_DFL)\n\n\s\sThe\sfollowing\stable\sdescribes\sthe\ssystem's\sactions\sbased\non\sthese\sthree\n\s\sfactors:\n\n\s\n---------------------------------------------------------------\n\s\sSIGFPE\s\s\s\s\s\s\s\s\s\s\s\sTrap\senable\s\s\sShadow\s\s\s\sActions\n\s\n---------------------------------------------------------------\n\s\sSIG_IGN\s\s\s\s\s\s\s\s\s\s\sclear\s\s\s\s\s\s\s\s\sinvalid\s\s\sContinue\sat\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\strap\sPC\s+\s4.\n\n\s\sSIG_DFL\s\s\s\s\s\s\s\s\s\s\sclear\s\s\s\s\s\s\s\s\sinvalid\s\s\sCause\score\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sdump.\n\n\s\sSIG_IGN|SIG_DFL\s\s\sclear\s\s\s\s\s\s\s\s\ssafe\s\s\s\s\s\sSupply\sdefault\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sIEEE\sresult\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\svalue\sand\scon-\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\stinue\sat\strig-\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sger\sPC\s+\s4.\n\n\s\sSIG_IGN\s\s\s\s\s\s\s\s\s\s\sset\s\s\s\s\s\s\s\s\s\s\sinvalid\s\s\sContinue\sat\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\strap\sPC\s+\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s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sieee_invalid_shadow.\n\n\s\suser\shandler\s\s\s\s\s\sset\s\s\s\s\s\s\s\s\s\s\ssafe\s\s\s\s\s\sDeliver\sSIGFPE\sto\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\suser\sprogram\sand\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\strap\sPC\s!=\strigger\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sPC.\n\n\s\n---------------------------------------------------------------\n\n\s\sSee\ssignal(4)\sfor\sadditional\sinformation\son\sdefault\nactions\sfor\sSIGFPE.\n\n\s\sA\sSIGFPE\shandler\scan\salso\sobtain\sadditional\sinformation\nabout\sfloating-\n\s\spoint\sexceptions\sfrom\sthe\ssigcontext.\s\sThe\ssigcontext\ncontains\sa\scopy\sof\n\s\sthe\scurrent\sfp_control\sin\ssc_fp_control,\sallowing\sa\nhandler\sto\sdetermine\n\s\swhich\straps\swere\senabled\sat\sthe\stime\sof\sthe\sexception.\n\n\s\sOn\sprecise\sfloating\sfaults\s(in\swhich\sthe\ssystem\strap\nhandler\shas\sindicated\n\s\sa\svalid\strap\sshadow\sand\sexecuted\ssuccessfully),\sindicated\nby\scodes\n\s\sFPE_xxxxx_FAULT,\srelevant\ssigcontext\sfields\scontain\sthe\nfollowing\sinforma-\n\s\stion:\n\n\s\s\s\so\s\ssc_traparg_a0\scontains\sthe\sexception\ssummary\sregister\nreported\sby\n\s\s\s\s\s\s\shardware.\n\n\s\s\s\so\s\ssc_traparg_a1\scontains\sthe\sexception\sregister\swrite\nmask\sreported\sby\n\s\s\s\s\s\s\shardware.\n\n\s\s\s\so\s\ssc_fp_trap_pc\scontains\sthe\strap\sPC.\n\n\s\s\s\so\s\ssc_pc\scontains\sthe\strigger\sPC.\n\n\s\s\s\so\s\ssc_fp_trigger_sum\scontains\sthe\sexception\ssummary\nregister\sreported\sby\n\s\s\s\s\s\s\shardware\swith\sthe\sSWC\sbit\smasked\soff.\n\n\s\s\s\so\s\ssc_fp_trigger_inst\sis\sa\scopy\sof\sthe\strigger\sinstruction.\n\n\s\sOn\sprecise\sarithmetic\sfaults\swith\svalid\strap\sshadows,\sthe\nresult\sregister\n\s\sof\sthe\sfaulting\sinstruction\sis\sloaded\swith\sthe\sIEEE\nfloating-point\sresult\n\s\sthat\swould\shave\sbeen\sgenerated\sif\sthe\sexception\shad\snot\nbeen\ssignaled.\s\sOne\n\s\sway\sto\scontinue\sfrom\ssuch\sa\sfault\sis\sto\sincrement\ssc_pc\sby\n4\sand\scontinue\n\s\swith\sthis\sresult\s(or\ssome\smodification\sof\sit).\s\sAnother\nway\sto\scontinue\n\s\sfrom\sa\sprecise\sfault\sis\sto\smodify\sthe\sinput\sregisters\sto\nthe\sfloating\soper-\n\s\sation,\sleave\sthe\ssc_pc\sfield\sunchanged,\sand\sthen\sreexecute\nthe\sfaulting\n\s\sinstruction\swith\sthe\smodified\sinput.\n\n\s\sOn\simprecise\sarithmetic\straps\s(for\sinstance,\swhen\san\ninvalid\strap\sshadow\n\s\shas\sbeen\sdetected),\sindicated\sby\scodes\sFPE_xxxxx_TRAP,\nsigcontext\sprovides\n\s\sthe\ssame\sinformation,\swith\sthe\sfollowing\sdifferences:\n\n\s\s\s\so\s\ssc_pc\scontains\sthe\strap\sPC.\n\n\s\s\s\so\s\ssc_fp_trigger_inst\sis\sundefined.\n\n\n\s\sBy\sdefault,\sthe\sexception\sstate\sat\sthe\stime\sof\sa\nfloating-point\sexception,\n\s\sas\srepresented\sby\sthe\sfp_control\sand\sfpcr,\sis\sthe\sstate\nprovided\sto\sa\ssig-\n\s\snal\shandler.\n\n\s\sThe\sieee_set_state_at_signal\sroutine\sallows\sa\suser\sprogram\nto\sspecify\sthe\n\s\svalues\sto\sbe\splaced\sin\sthe\sfp_control\sand\sthe\sfpcr\sat\sthe\ncall\sto\sa\ssignal\n\s\shandler.\s\sThis\senables\sthe\sprogram\sto\seasily\smodify\sthe\ntrap\senables\sor\n\s\srounding\smodes\sso\sthat\sa\scritical\sregion\s(for\sinstance,\sin\nthird-party\scode\n\s\sexecuted\sfrom\sa\ssignal\shandler)\sis\simmune\sfrom\scertain\nexception\sstate.\sThe\n\s\soriginal\ssettings\sof\sthe\sfp_control\sand\sthe\sfpcr\sare\ssaved\nin\sthe\ssigcon-\n\s\stext\sprior\sto\sthe\ssignal.\s\sWhen\sthe\shandler\sreturns,\sthe\noriginal\sfloating-\n\s\spoint\scontext\sis\srestored.\n\n\s\sA\suser\sprogram\scan\sretrieve\sthe\scurrent\sexception\sstate\nreporting\sbehavior\n\s\sby\scalling\sieee_get_state_at_signal.\n\n\s\sThe\sieee_ignore_state_at_signal\sroutine\sspecifies\sthat\nfloating-point\sstate\n\s\sis\snot\smodified\swhen\scalling\sa\ssignal\shandler.\s\sA\suser\nprogram\scalls\sthis\n\s\sroutine\sto\srestore\sthe\sdefault\sexception\sstate\sreporting\nbehavior.\n\nFILES\n\n\s\susr/include/excpt.h\s-\sinclude\sfile\n\s\susr/include/signal.h\s-\sinclude\sfile\n\s\susr/include/machine/fpu.h\s-\sinclude\sfile\n\n\nRELATED\sINFORMATION\n\n\s\sCommands:\scc(1).\n\n\s\sFunctions:\sexec(2),\sieee_functions(3),\slongjmp(3),\nsetjmp(3),\ssigreturn(2),\n\s\swrite_rnd(3).\n\n\s\sFiles:\sc_excpt(4),\sexcpt(4),\ssignal(4).\n\n\s\sIEEE\sStandard\sfor\sBinary\sFloating-Point\sArithmetic\n(ANSI/IEEE\sStd\n\s\s754-1985).\n\n\s\sAlpha\sArchitecture\sReference\sManual.\n\n\s\sAssembly\sLanguage\sProgrammer's\sGuide.\n\n\s\sProgrammer's\sGuide.\n\n\n
J login mmokrejs
J mimetype text/plain
J username mmokrejs
K 748957ffffffffffffffffffffffffffffffffff
U mmokrejs
Z ea0c3ebdc4b4977561d5c68e8cfed9ae