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

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

?? fppalib.s

?? vxworks操作系統的源代碼 供研究學習
?? S
字號:
/* fppALib.s - floating-point coprocessor support assembly language routines *//* Copyright 1984-2002 Wind River Systems, Inc. *//*modification history--------------------01j,25mar02,hdn  added clearing TS bit in fppSave/fppXsave (spr 70187)01i,20nov01,hdn  doc clean up for 5.501h,21aug01,hdn  imported SSE support from T31 ver 01k01g,04apr98,hdn  added X86FPU_387, X86FPU_487 macros.01f,21sep95,hdn  added support for NS48601e,01nov94,hdn  added a check of sysProcessor for Pentium01d,10aug93,hdn  changed fppProbeSup().01c,01jun93,hdn  updated to 5.1.		  - fixed #else and #endif		  - changed VOID to void		  - changed ASMLANGUAGE to _ASMLANGUAGE		  - changed copyright notice01b,29sep92,hdn  debugged. fixed bugs.01a,07apr92,hdn  written based on TRON version.*//*DESCRIPTIONThis library contains routines to support the Intel Architecture FloatingPoint Unit (FPU).  The routines fppSave() and fppRestore() save and restoreall the floating-point context and MMX technology state, which is 108 bytesand consists of the 16 extended double precision registers and three controlregisters.  The routines fppXsave() and fppXrestore() save and restore the newer floating-point context, newer MMX technology state, and streaming SIMD statethat is 512 bytes, with fxsave and fxrstor instruction.Higher-level access mechanisms are found in fppLib.SEE ALSO: fppLib, Intel Architecture Floating-Point Unit User's Manual*/#define _ASMLANGUAGE#include "vxWorks.h"#include "fppLib.h"#include "asm.h"#include "regs.h"#include "arch/i86/vxI86Lib.h"	.data	.globl	FUNC(copyright_wind_river)	.long	FUNC(copyright_wind_river)		/* externals */	.globl VAR(fppFsw)	.globl VAR(fppFcw)	.globl VAR(sysCoprocessor)	/* internals */	.globl GTEXT(fppSave)	.globl GTEXT(fppRestore)	.globl GTEXT(fppXsave)	.globl GTEXT(fppXrestore)	.globl GTEXT(fppDtoDx)	.globl GTEXT(fppDxtoD)	.globl GTEXT(fppProbeSup)	.text	.balign 16/********************************************************************************* fppSave - save the floating-pointing unit context with fnsave** This routine saves the floating-point unit context and MMX technology state* with fnsave.* The context saved is 108 bytes and contains:**       - control word			4*	- status word			4*	- tag word			4*	- instruction pointer		4*	- instruction pointer selector	2*	- last FP instruction op code	2*	- data pointer			4*	- data pointer selector		4*	- FR/MM[0-7]			8 * 10** RETURNS: N/A** SEE ALSO: fppRestore(), Intel Architecture Floating-Point Unit * User's Manual* void fppSave (pFpContext)*     FP_CONTEXT * pFpContext;	/* where to save context **/FUNC_LABEL(fppSave)	movl	SP_ARG1(%esp), %eax	/* where to save registers */	clts				/* clear the TS bit in CR0 */	fnsave	(%eax)	ret/********************************************************************************* fppRestore - restore the floating-point unit context with frstor** This routine restores the floating-point unit context and MMX technology* state with frstor.* The context restored is:**       - control word			4*	- status word			4*	- tag word			4*	- instruction pointer		4*	- instruction pointer selector	2*	- last FP instruction op code	2*	- data pointer			4*	- data pointer selector		4*	- FR/MM[0-7]			8 * 10** RETURNS: N/A** SEE ALSO: fppSave(), Intel Architecture Floating-Point Unit User's Manual* void fppRestore (pFpContext)*    FP_CONTEXT * pFpContext;	/* from where to restore context **/	.balign 16,0x90FUNC_LABEL(fppRestore)	movl	SP_ARG1(%esp), %eax	/* from where to restore registers */	frstor	(%eax)	ret/********************************************************************************* fppXsave - save the floating-pointing unit context with fxsave** This routine saves the floating-point unit context, newer MMX technology* state, and streaming SIMD state with fxsave.* The context saved is 512 bytes and contains:**       - control word			2*	- status word			2*	- tag word			2*	- last FP instruction op code	2*	- instruction pointer 		4*	- instruction pointer selector	4*	- data pointer			4*	- data pointer selector		4*	- FR/MM[0-7]			8 * 16*	- XMM[0-7]			8 * 16** RETURNS: N/A** SEE ALSO: fppXrestore(), Intel Architecture Software Developer's Manual * void fppXsave (pFpContext)*     FP_CONTEXT * pFpContext;	/* where to save context **/	.balign 16,0x90FUNC_LABEL(fppXsave)	movl	SP_ARG1(%esp), %eax	/* where to save registers */	clts				/* clear the TS bit in CR0 */	fxsave	(%eax)	ret/********************************************************************************* fppXrestore - restore the floating-point unit context with fxrstor** This routine restores the floating-point unit context, newer MMX technology* state, and streaming SIMD state with fxrstor.* The context restored is:**       - control word			2*	- status word			2*	- tag word			2*	- last FP instruction op code	2*	- instruction pointer 		4*	- instruction pointer selector	4*	- data pointer			4*	- data pointer selector		4*	- FR/MM[0-7]			8 * 16*	- XMM[0-7]			8 * 16** RETURNS: N/A** SEE ALSO: fppXsave(), Intel Architecture Software Developer's Manual * void fppXrestore (pFpContext)*    FP_CONTEXT * pFpContext;	/* from where to restore context **/	.balign 16,0x90FUNC_LABEL(fppXrestore)	movl	SP_ARG1(%esp), %eax	/* from where to restore registers */	fxrstor	(%eax)	ret/********************************************************************************* fppDtoDx - convert double to extended double precision** The FPU uses a special extended double precision format* (10 bytes as opposed to 8 bytes) for internal operations.* The routines fppSave and fppRestore must preserve this precision.** NOMANUAL* void fppDtoDx (pDx, pDouble)*     DOUBLEX *pDx;	 /* where to save result    **     double *pDouble;	 /* ptr to value to convert **/	.balign 16,0x90FUNC_LABEL(fppDtoDx)	movl	SP_ARG1(%esp), %edx	/* to Dx */	movl	SP_ARG2(%esp), %eax	/* from D */	subl	$16, %esp	fstpt	(%esp)			/* save %st */	fldl	(%eax)	fstpt	(%edx)	fldt	(%esp)			/* restore %st */	addl	$16, %esp	ret/********************************************************************************* fppDxtoD - convert extended double precisoion to double** The FPU uses a special extended double precision format* (10 bytes as opposed to 8 bytes) for internal operations.* The routines fppSave and fppRestore must preserve this precision.** NOMANUAL* void fppDxtoD (pDouble, pDx)*     double *pDouble;		/* where to save result    **     DOUBLEX *pDx;		/* ptr to value to convert **/	.balign 16,0x90FUNC_LABEL(fppDxtoD)	movl	SP_ARG1(%esp), %edx	/* to D */	movl	SP_ARG2(%esp), %eax	/* from Dx */	subl	$16, %esp	fstpt	(%esp)			/* save %st */	fldt	(%eax)	fstpl	(%edx)	fldt	(%esp)			/* restore %st */	addl	$16, %esp	ret/********************************************************************************* fppProbeSup - fppProbe support routine** This routine executes some floating-point unit instruction which will cause a* bus error if a floating-point unit is not present.  A handler, viz. * fppProbeTrap, should be installed at that vector.  If the floating-point* unit is present this routine returns OK.** SEE ALSO: Intel Architecture Floating-Point Unit User's Manual** NOMANUAL* STATUS fppProbeSup ()*/	.balign 16,0x90FUNC_LABEL(fppProbeSup)	cmpl    $ X86CPU_386,FUNC(sysProcessor)	/* is it 386 ? */	jne	fppProbe487	/* does it have 387 ? */	fninit	movl	$FUNC(fppFsw),%edx	movl	$FUNC(fppFcw),%ecx	fnstsw	(%edx)	cmpb	$0,(%edx)	jne	fppProbeNo387	fnstcw	(%ecx)	movw	(%ecx),%ax	cmpw	$0x37f,%ax	jne	fppProbeNo387	movl	%cr0,%eax	andl	$0xfffffff9,%eax	orl	$0x00000002,%eax	movl	%eax,%cr0			/* EM=0, MP=1 */	movl    $ X86FPU_387,FUNC(sysCoprocessor)	/* it has 80387 */	xorl	%eax,%eax			/* set status to OK */	jmp	fppProbeDonefppProbeNo387:	movl	%cr0,%eax	andl	$0xfffffff9,%eax	orl	$0x00000004,%eax 		/* EM=1, MP=0 */	movl	%eax,%cr0	movl	$ ERROR,%eax			/* set status to ERROR */	jmp	fppProbeDonefppProbe487:	cmpl    $ X86CPU_NS486,FUNC(sysProcessor)	/* is it NS486 ? */	je	fppProbeNo487	/* does it have 487 ? */	fninit	movl	$FUNC(fppFcw),%edx	fnstcw	(%edx)	movw	(%edx),%ax	cmpw	$0x37f,%ax	jne	fppProbeNo487	movl	%cr0,%eax	andl	$0xffffffd9,%eax	orl	$0x00000002,%eax	movl	%eax,%cr0			/* NE=0, EM=0, MP=1 */	movl    $ X86FPU_487,FUNC(sysCoprocessor)	/* it has 80487 */	xorl	%eax,%eax			/* set status to OK */	jmp	fppProbeDonefppProbeNo487:	movl	%cr0,%eax	andl	$0xffffffd9,%eax	orl	$0x00000004,%eax	movl	%eax,%cr0			/* NE=0, EM=1, MP=0 */	movl	$ ERROR,%eax			/* set status to ERROR */	jmp	fppProbeDonefppProbeNS486:	movl	$ ERROR,%eax			/* set status to ERROR */fppProbeDone:	ret

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
不卡一区二区在线| 北岛玲一区二区三区四区| 久久精品一二三| 欧美丝袜丝nylons| 国产成人福利片| 亚洲第四色夜色| 国产精品国产三级国产专播品爱网| 欧美日韩视频专区在线播放| 国产成人在线影院| 日韩不卡免费视频| 亚洲一区二区三区美女| 国产欧美日韩激情| 欧美一区二区三区电影| 色悠悠亚洲一区二区| 国产激情一区二区三区四区| 五月天国产精品| 亚洲桃色在线一区| 国产午夜亚洲精品午夜鲁丝片 | 视频在线观看一区| 亚洲人成亚洲人成在线观看图片| 久久五月婷婷丁香社区| 欧美二区在线观看| 精品视频全国免费看| 91在线看国产| 成人av综合在线| 国产高清不卡一区二区| 精品一区二区三区免费播放| 日精品一区二区三区| 亚洲一二三区视频在线观看| 最新欧美精品一区二区三区| 日本一区二区三区高清不卡| 26uuu亚洲综合色| 欧美不卡一区二区三区四区| 欧美精品自拍偷拍| 欧美精品黑人性xxxx| 在线观看国产日韩| 91黄色小视频| 在线观看日产精品| 在线观看免费视频综合| 色av一区二区| 在线免费不卡电影| 欧美日韩在线免费视频| 欧美在线视频日韩| 欧美日韩成人激情| 欧美日韩高清影院| 国产欧美一区二区三区在线看蜜臀 | 7777精品久久久大香线蕉| 欧美性色黄大片手机版| 欧美日韩国产在线观看| 91猫先生在线| 91视频国产资源| 欧美视频精品在线观看| 精品视频资源站| 欧美精品久久天天躁| 欧美一区二区精品久久911| 日韩三级电影网址| xvideos.蜜桃一区二区| 久久久久久久久久久久久女国产乱| 2023国产精华国产精品| 亚洲国产激情av| 国产精品久久影院| 亚洲一区二区精品视频| 秋霞午夜av一区二区三区| 久久99国产精品麻豆| 国产美女视频91| 91在线观看高清| 欧美日韩小视频| 欧美精品一区二区三区在线 | 国产99精品国产| 99久久精品免费看| 欧美日韩国产综合视频在线观看| 欧美一级日韩免费不卡| 国产午夜精品一区二区| 1区2区3区精品视频| 婷婷夜色潮精品综合在线| 理论电影国产精品| av亚洲精华国产精华精| 欧美乱妇15p| 国产日韩欧美精品在线| 一区二区三区国产豹纹内裤在线| 日韩电影一区二区三区四区| 国产在线观看免费一区| 在线观看免费成人| 久久亚洲综合色| 亚洲精品国产视频| 精品一区二区在线观看| av一区二区久久| 日韩欧美中文字幕制服| 亚洲天堂av一区| 精品中文av资源站在线观看| 波多野结衣亚洲一区| 在线不卡一区二区| 国产精品美女久久久久高潮| 日韩有码一区二区三区| www.欧美.com| 日韩精品一区二区三区swag| 成人免费小视频| 国产乱码精品一品二品| 欧美日韩黄视频| 国产精品三级视频| 久久99久久99精品免视看婷婷 | 日本欧美久久久久免费播放网| 成人高清视频在线| 精品88久久久久88久久久| 亚洲一区二区在线免费观看视频| 国产在线精品国自产拍免费| 欧美日本韩国一区| 亚洲色图另类专区| 高清视频一区二区| 欧美成人艳星乳罩| 亚洲国产精品天堂| 日本精品视频一区二区三区| 亚洲国产成人在线| 国产乱色国产精品免费视频| 欧美美女一区二区在线观看| 中文字幕在线一区| 国产精品888| 日韩欧美资源站| 日韩精品视频网| 91福利国产精品| 亚洲少妇30p| 国产电影一区二区三区| 日韩欧美一区在线| 日韩成人免费电影| 欧美精品一二三| 亚洲成人手机在线| 欧美这里有精品| 依依成人精品视频| 色琪琪一区二区三区亚洲区| 国产欧美一区二区精品性色| 国产在线一区二区| 精品免费国产一区二区三区四区| 无码av免费一区二区三区试看| 日本精品一区二区三区高清| 1区2区3区欧美| 91啪亚洲精品| 亚洲三级在线观看| 97精品国产露脸对白| 亚洲三级免费观看| 色综合久久中文综合久久97| 亚洲色图在线看| 一本色道综合亚洲| 一区二区激情小说| 欧美天堂亚洲电影院在线播放| 亚洲精品精品亚洲| 欧美性猛片aaaaaaa做受| 天天色天天爱天天射综合| 91麻豆精品91久久久久久清纯| 天堂av在线一区| 日韩欧美电影一区| 国产精品影视网| 国产精品美女一区二区| 99riav一区二区三区| 亚洲自拍偷拍综合| 91精品国产丝袜白色高跟鞋| 免费欧美日韩国产三级电影| 精品国产乱码久久久久久闺蜜| 韩国成人福利片在线播放| 中文一区在线播放| 91黄色在线观看| 青青草成人在线观看| 久久久久久一二三区| 99精品黄色片免费大全| 亚洲不卡一区二区三区| 欧美精品一区二区三区视频| 成人精品一区二区三区中文字幕| 亚洲激情自拍偷拍| 日韩一区二区电影在线| 国产1区2区3区精品美女| 亚洲人成在线观看一区二区| 欧美二区三区91| 国产91综合网| 亚洲最色的网站| 精品国产1区2区3区| 99re热这里只有精品视频| 亚洲va欧美va人人爽午夜| 久久―日本道色综合久久| 色狠狠一区二区三区香蕉| 老司机精品视频导航| 亚洲欧美日韩综合aⅴ视频| 欧美一区二区三区免费观看视频| 粉嫩13p一区二区三区| 亚洲成人免费观看| 国产亚洲精品免费| 欧美欧美欧美欧美首页| 国产精品1区2区3区在线观看| 亚洲美女偷拍久久| 欧美成人aa大片| 色呦呦网站一区| 国产成人免费视频网站高清观看视频| 亚洲黄色尤物视频| 久久亚洲欧美国产精品乐播 | 午夜影院久久久| 欧美激情一区三区| 91精品国产手机| 91亚洲男人天堂| 国产精品综合二区| 日本成人在线网站| 亚洲黄色免费网站| 国产精品久久99|