亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? mathsoftlib.c

?? vxworks的源代碼
?? C
字號:
/* mathSoftLib.c - high-level floating-point emulation library *//* Copyright 1984-2001 Wind River Systems, Inc. */#include "copyright_wrs.h"/* * This file has been developed or significantly modified by the * MIPS Center of Excellence Dedicated Engineering Staff. * This notice is as per the MIPS Center of Excellence Master Partner * Agreement, do not remove this notice without checking first with * WR/Platforms MIPS Center of Excellence engineering management. *//*modification history--------------------01g,16jul01,ros  add CofE comment01f,03jan01,pes  Fix compiler warnings.01e,20dec99,dra  added true soft-float protection.01d,08apr97,kkk  fixed to correctly pull in sf objs modules for SW_FP.01d,03aug96,kkk  added dummy routine to pull in sf object modules for SW_FP.01c,25oct93,yao  changed to turn fpu off when task is created.01b,07sep93,yao  changed to install support routines only once.01a,25aug93,yao  written.*//*DESCRIPTIONThis library provides support routines for software emulation of floating-point operations.INCLUDE FILES: math.hSEE ALSO: mathHardLib, mathSoftALib*/#include "vxWorks.h"#include "math.h"#include "intLib.h"#include "taskLib.h"#include "taskHookLib.h"#include "excLib.h"#include "sysLib.h"#include "fppLib.h"#include "private/funcBindP.h"#include "excLib.h"#include "esf.h"#include "string.h"IMPORT VOIDFUNCPTR excBsrTbl[];IMPORT void fpIntr();IMPORT void mathSoftAInit ();/* dummy function pointers to pull in math object modules */#ifndef SOFT_FLOATLOCAL DBLFUNCPTR       mathAcosFunc;   /* double-precision function ptrs */LOCAL DBLFUNCPTR       mathAsinFunc;LOCAL DBLFUNCPTR       mathAtanFunc;LOCAL DBLFUNCPTR       mathAtan2Func;LOCAL DBLFUNCPTR       mathCeilFunc;LOCAL DBLFUNCPTR       mathCosFunc;LOCAL DBLFUNCPTR       mathCoshFunc;LOCAL DBLFUNCPTR       mathExpFunc;LOCAL DBLFUNCPTR       mathFabsFunc;LOCAL DBLFUNCPTR       mathFloorFunc;LOCAL DBLFUNCPTR       mathFmodFunc;LOCAL DBLFUNCPTR       mathRintFunc;LOCAL DBLFUNCPTR       mathLogFunc;LOCAL DBLFUNCPTR       mathLog10Func;LOCAL DBLFUNCPTR       mathPowFunc;LOCAL DBLFUNCPTR       mathSinFunc;LOCAL DBLFUNCPTR       mathSinhFunc;LOCAL DBLFUNCPTR       mathSqrtFunc;LOCAL DBLFUNCPTR       mathTanFunc;LOCAL DBLFUNCPTR       mathTanhFunc;LOCAL FLTFUNCPTR       mathAcosfFunc;  /* single-precision function ptrs */LOCAL FLTFUNCPTR       mathAsinfFunc;LOCAL FLTFUNCPTR       mathAtanfFunc;LOCAL FLTFUNCPTR       mathAtan2fFunc;LOCAL FLTFUNCPTR       mathCeilfFunc;LOCAL FLTFUNCPTR       mathCosfFunc;LOCAL FLTFUNCPTR       mathCoshfFunc;LOCAL FLTFUNCPTR       mathExpfFunc;LOCAL FLTFUNCPTR       mathFabsfFunc;LOCAL FLTFUNCPTR       mathFmodfFunc;LOCAL FLTFUNCPTR       mathFloorfFunc;LOCAL FLTFUNCPTR       mathLogfFunc;LOCAL FLTFUNCPTR       mathLog10fFunc;LOCAL FLTFUNCPTR       mathPowfFunc;LOCAL FLTFUNCPTR       mathSinfFunc;LOCAL FLTFUNCPTR       mathSinhfFunc;LOCAL FLTFUNCPTR       mathSqrtfFunc;LOCAL FLTFUNCPTR       mathTanfFunc;LOCAL FLTFUNCPTR       mathTanhfFunc;#endif	/* SOFT_FLOAT *//* forward declaration */LOCAL int mathSoftInstalled = FALSE;LOCAL void fppSoftHook (WIND_TCB * pTcb);/******************************************************************************** mathSoftInit - initialize software floating-point math support** This routine installs the exception handler for coprocessor unusable * exception for software emulation.  Disables the coprocessor and adds* task create hook for software emulation.** This routine is called from usrConfig.c if INCLUDE_FP_EMULATION is defined.* This definition causes the linker to include the floating-point* emulation library.** RETURNS: N/A** SEE ALSO: mathHardInit()**/void mathSoftInit ()    {    if (!mathSoftInstalled)	{#ifndef SOFT_FLOAT	excBsrTbl [EXC_CODE_FPU] = (VOIDFUNCPTR) fpIntr;	taskCreateHookAdd ((FUNCPTR)fppSoftHook);	mathSoftAInit ();#endif	/* SOFT_FLOAT */	mathSoftInstalled = TRUE;	}#ifndef SOFT_FLOAT    /* Double-precision routines */    mathAcosFunc 	= (DBLFUNCPTR) acos;    mathAsinFunc	= (DBLFUNCPTR) asin;    mathAtanFunc	= (DBLFUNCPTR) atan;    mathAtan2Func	= (DBLFUNCPTR) atan2;    mathCeilFunc	= (DBLFUNCPTR) ceil;    mathCosFunc		= (DBLFUNCPTR) cos;    mathCoshFunc	= (DBLFUNCPTR) cosh;    mathExpFunc		= (DBLFUNCPTR) exp;    mathFabsFunc	= (DBLFUNCPTR) fabs;    mathFmodFunc	= (DBLFUNCPTR) fmod;    mathFloorFunc	= (DBLFUNCPTR) floor;    mathRintFunc	= (DBLFUNCPTR) rint;    mathLogFunc		= (DBLFUNCPTR) log;    mathLog10Func	= (DBLFUNCPTR) log10;    mathPowFunc		= (DBLFUNCPTR) pow;    mathSqrtFunc	= (DBLFUNCPTR) sqrt;    mathTanFunc		= (DBLFUNCPTR) tan;    mathTanhFunc	= (DBLFUNCPTR) tanh;    mathSinFunc		= (DBLFUNCPTR) sin;    mathSinhFunc	= (DBLFUNCPTR) sinh;    /* Single-precision routines */    mathAcosfFunc	= (FLTFUNCPTR) acosf;    mathAsinfFunc	= (FLTFUNCPTR) asinf;    mathAtanfFunc	= (FLTFUNCPTR) atanf;    mathAtan2fFunc	= (FLTFUNCPTR) atan2f;    mathCeilfFunc	= (FLTFUNCPTR) ceilf;    mathCosfFunc	= (FLTFUNCPTR) cosf;    mathCoshfFunc	= (FLTFUNCPTR) coshf;    mathExpfFunc	= (FLTFUNCPTR) expf;    mathFabsfFunc	= (FLTFUNCPTR) fabsf;    mathFmodfFunc	= (FLTFUNCPTR) fmodf;    mathFloorfFunc	= (FLTFUNCPTR) floorf;    mathLogfFunc	= (FLTFUNCPTR) logf;    mathLog10fFunc	= (FLTFUNCPTR) log10f;    mathPowfFunc	= (FLTFUNCPTR) powf;    mathSinfFunc	= (FLTFUNCPTR) sinf;    mathSinhfFunc	= (FLTFUNCPTR) sinhf;    mathSqrtfFunc	= (FLTFUNCPTR) sqrtf;    mathTanfFunc	= (FLTFUNCPTR) tanf;    mathTanhfFunc	= (FLTFUNCPTR) tanhf;#endif	/* SOFT_FLOAT */    } /******************************************************************************** fppSoftHook - task hook routine for software emulation** NOMANUAL*/LOCAL void fppSoftHook     (    WIND_TCB * pTcb    )    {    if (pTcb->options & VX_FP_TASK)	{	/* allocate space for saving context and registers */	pTcb->pFpContext = (FP_CONTEXT *)			  taskStackAllot ((int) pTcb, sizeof (FP_CONTEXT));	bzero ((char *)pTcb->pFpContext, sizeof(FP_CONTEXT));	pTcb->pFpContext->fpcsr = FP_ENABLE;	/* enable fpu interrupt */	pTcb->regs.sr &= ~SR_CU1;		/* turn off fpu */	}    }/******************************************************************************** mathFpInit - fpa interrupt handling installization** NOMANUAL*/#define	EXC_FPU_UNIMP	38		/* unimplemented FPA operation */#define	EXC_FPU_ILL	39		/* invalid FPA operation */#define	EXC_FPU_DIV_0 	40		/* FPA dived by zero */#define EXC_FPU_OVFL	41		/* FPA overflow */#define EXC_FPU_UDFL	42		/* FPA underflow */#define	EXC_FPU_INEXACT	43		/* FPA inexact operation */void mathFpInit ()    {    excBsrTbl [EXC_FPU_UNIMP] 	= (VOIDFUNCPTR) fpIntr;    excBsrTbl [EXC_FPU_ILL] 	= (VOIDFUNCPTR) fpIntr;    excBsrTbl [EXC_FPU_DIV_0] 	= (VOIDFUNCPTR) fpIntr;    excBsrTbl [EXC_FPU_OVFL] 	= (VOIDFUNCPTR) fpIntr;    excBsrTbl [EXC_FPU_UDFL] 	= (VOIDFUNCPTR) fpIntr;    excBsrTbl [EXC_FPU_INEXACT]	= (VOIDFUNCPTR) fpIntr;    }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产午夜精品福利| 精品久久久网站| 99久久婷婷国产综合精品 | 成人免费在线观看入口| 久久精品视频免费观看| 2023国产一二三区日本精品2022| 日韩欧美中文字幕精品| 久久久久久久精| 亚洲欧洲日韩一区二区三区| 亚洲欧洲av在线| 一二三区精品福利视频| 亚洲午夜在线电影| 久久精品国产亚洲一区二区三区| 精品一区二区免费在线观看| 国产一区二区三区免费| 成人理论电影网| 欧美午夜电影在线播放| 欧美一区二区三区性视频| 久久日韩精品一区二区五区| 国产精品女同一区二区三区| 亚洲综合色成人| 麻豆中文一区二区| 成人小视频在线观看| 91久久精品一区二区三区| 51午夜精品国产| 国产亚洲成av人在线观看导航| 国产精品国产a| 偷窥国产亚洲免费视频| 国产福利一区二区| 欧美日韩国产在线观看| 国产亚洲精品久| 亚洲mv在线观看| 成人免费不卡视频| 91.com在线观看| 亚洲色图视频网站| 麻豆国产精品一区二区三区| 成人激情视频网站| 日韩三级高清在线| 一区二区三区蜜桃| 国产成人免费视频网站 | 日韩高清欧美激情| 成人午夜碰碰视频| 日韩一二三区视频| 亚洲一区二区三区三| 成人午夜免费视频| 精品国产百合女同互慰| 亚洲一卡二卡三卡四卡无卡久久 | 久久久国际精品| 午夜精品久久久久久久99樱桃| 国产成a人亚洲| 日韩美女一区二区三区四区| 亚洲宅男天堂在线观看无病毒| 国产98色在线|日韩| 欧美大片在线观看| 天天操天天色综合| 欧美性猛片xxxx免费看久爱| 国产精品久久久久久久久免费相片 | 亚洲成人在线网站| 91美女在线视频| 国产精品视频免费| 国产91色综合久久免费分享| 精品国产免费久久| 麻豆精品视频在线| 欧美一级黄色大片| 天天免费综合色| 91精品麻豆日日躁夜夜躁| 亚洲欧美欧美一区二区三区| 99精品在线免费| 中文字幕字幕中文在线中不卡视频| 成人深夜在线观看| 国产精品久久久久aaaa| 成人午夜视频在线观看| 国产精品黄色在线观看| 99国产麻豆精品| 亚洲制服丝袜av| 欧美福利电影网| 三级精品在线观看| 欧美一二三四区在线| 秋霞午夜av一区二区三区| 日韩视频在线你懂得| 麻豆91免费观看| 亚洲精品一区二区三区蜜桃下载 | 91啪亚洲精品| 亚洲一区二区不卡免费| 7777精品伊人久久久大香线蕉 | 一区二区三区在线免费观看| 日本精品裸体写真集在线观看| 一二三四社区欧美黄| 538在线一区二区精品国产| 久久99国产精品久久| 久久精品一区四区| 一本大道综合伊人精品热热| 亚洲第一狼人社区| 精品国产伦一区二区三区观看体验 | 欧美mv日韩mv| 成人av影院在线| 午夜视频在线观看一区二区三区| 日韩视频一区在线观看| 成人毛片视频在线观看| 亚洲 欧美综合在线网络| 日韩美女一区二区三区四区| 99久久精品国产精品久久| 天天av天天翘天天综合网| 精品久久人人做人人爱| 91免费视频网址| 久久精品国产秦先生| 亚洲三级电影网站| 91精品国产麻豆国产自产在线 | av在线播放成人| 奇米影视一区二区三区| 国产精品第四页| 日韩欧美国产综合一区| 色综合色狠狠天天综合色| 另类的小说在线视频另类成人小视频在线| 国产日产欧产精品推荐色| 欧美色爱综合网| av在线综合网| 国产剧情av麻豆香蕉精品| 亚洲午夜视频在线观看| 国产精品天美传媒| 日韩视频中午一区| 欧美日韩亚洲综合| 不卡一区二区中文字幕| 久久aⅴ国产欧美74aaa| 亚洲国产欧美日韩另类综合 | 日本在线不卡视频一二三区| 欧美国产激情二区三区| 日韩视频在线一区二区| 91国在线观看| 粉嫩欧美一区二区三区高清影视 | 99久久99久久精品免费看蜜桃| 久久99深爱久久99精品| 日韩中文字幕不卡| 亚洲一区二区在线免费看| 亚洲视频中文字幕| 国产精品免费久久| 久久亚洲私人国产精品va媚药| 欧美日韩国产区一| 欧美日韩在线亚洲一区蜜芽| 91免费小视频| 色诱亚洲精品久久久久久| www.色综合.com| 成人免费视频播放| 国产v日产∨综合v精品视频| 久久99精品一区二区三区三区| 免费在线看成人av| 麻豆国产一区二区| 国内一区二区在线| 国内精品久久久久影院薰衣草 | 亚洲欧洲综合另类| 中文字幕字幕中文在线中不卡视频| 中文字幕欧美日韩一区| 欧美激情综合五月色丁香| 国产清纯美女被跳蛋高潮一区二区久久w | 国产91在线看| 成人福利视频网站| 99riav久久精品riav| 91国内精品野花午夜精品| 欧美视频在线观看一区| 日韩一区二区影院| 久久综合九色综合欧美亚洲| 日本一区二区在线不卡| 亚洲天堂成人网| 偷窥国产亚洲免费视频| 蜜臀av一级做a爰片久久| 国产在线精品视频| 不卡大黄网站免费看| 91蝌蚪porny| 91精品蜜臀在线一区尤物| 欧美精品一区二区蜜臀亚洲| 日本一区二区三区高清不卡| 亚洲精品欧美综合四区| 午夜精品久久久久久| 国产精品99久久久久久久女警| 波多野结衣一区二区三区| 欧美性高清videossexo| 亚洲精品一区二区精华| 亚洲免费观看高清在线观看| 日本成人在线一区| 成人av午夜影院| 宅男在线国产精品| 国产精品美女一区二区三区| 亚洲成人免费观看| 丁香另类激情小说| 欧美色涩在线第一页| 久久久久久久久久久久电影| 亚洲精品久久久蜜桃| 麻豆久久久久久久| 日本韩国精品在线| 国产视频一区在线播放| 午夜av电影一区| 91网站最新网址| 亚洲精品在线观看网站| 亚洲小少妇裸体bbw| 丁香激情综合五月| 精品毛片乱码1区2区3区| 亚洲一区二区三区四区在线免费观看| 国产精品自产自拍| 91精品一区二区三区久久久久久| 国产精品久久久久天堂|