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

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

?? custom_defs.h

?? 用于TM1300/PNX1300系列DSP(主要用于視頻處理)的所用到的頭文件
?? H
?? 第 1 頁 / 共 2 頁
字號:
#ifndef _CUSTOM_DEFS_H_#define _CUSTOM_DEFS_H_/**************************************************************************** * * custom_defs.h * @(#)custom_defs.h  1.26  10/06/99 * * * This file is the interface between an application programmer and the * implementation of custom_ops.    All a programmer needs to do  * to use custom_ops defined in this file is to include this file * in the source.  As a convention, a programmer does not use custom_ops * directly, but uses the all uppercase macros as defined in this file. * This ensures the portability of the code between generations and phases. * * This file contains most (if not all) of the machine operations * which are likely to be used directly by a programmer, that is, the  * operations which are not likely to be generated by a compiler. *  * Any of the machine operations which is not included in this file can * be used directly by declaring it as a custom_op in the same way custom_ops * are declared in custom_ops.h.  (please refer to the Trimedia C Language * chapter of the TriMedia Programmer's Reference Manual) * * Precise definition of each custom operator may be found in * the TM-1 Operations section of the TriMedia Data Book. * * Comments on tmccom compilation and other compilers compilation: *    tmccom's target is the .t format.    Even if it can be simulated *    by tmtsim and tmsim, it is slow compared to native machine object *    run.    So, until we have the TM-1 chip running, we will want *    to use other compilers (gcc or acc) for development purpose. *    When we use some other compiler, custom_op declaration is no longer valid. *    But by including this file and using all uppercase macros by *    convention, the source program should compile and run transparently. *    (We just have to link in custom_ops.o, ops.o, and fops.o in order to *    emulate the missing features on some other host platform). * ****************************************************************************/#include <ops/custom_ops.h>/**************************************************************************** * Compiler dependent part.   Real custom_ops. ****************************************************************************//* *  the macros below are upper case versions *  of the operation names as defined in the *  machine description file.  Please refer to *  the TriMedia Data Book for precise definition *  of the various TM-1 operations. * *  the organization is as follows: * *	1.	Load/Store Operations * *		basic load operations *		load with displacement operations *		load with index operations *		load with scaled index operations *		basic store operations *		store with displacement operations * *	2.	Compute Operations * *		arithmetic operations *		signed comparison operations *		unsigned comparison operations *		logical operations *		sign extension operations * *	3.	Immediate Operations * *		immediate operations *		logical operations *		arithmetic operations *		signed comparison operations *		unsigned comparison operations * *	4.	Special Compute Operations * *		clipped arithmetic operations *		carry and borrow operations *		special multiply operations *		dual arithmetic operations *		byte packing operations *		byte select operations *		sum of products operations *		sum of differences operations *		special byte shift operations *		clip operations *		quad arithmetic operations *		various special compute operations * *	5.	Special Register Operations * *		PCSW operations *		CCCOUNT operations *		DPC and SPC operations * *      6.	Floating Point Operations * *		arithmetic operations *		comparison operations *		single argument operations *		float to integer conversions *		integer to float conversions * *      7.      Cache Operations * *              data-cache copyback and invalidate operations *              data-cache tag and status operations *              instruction-cache operations *              data-cache prefetch operations *              data-cache allocate operations * *	8.	Control Flow Operations * *		jumps *		interruptable jumps * *      9.      Special Compiler Custom_ops * *              data-cache copyback and invalidate commands * */#if defined(__TCS__)/* *    TriMedia compiler driver tmcc defines __TCS__ *    the custom_op prototypes are found in custom_ops.h. *//* *	1.	Load/Store Operations * *	these operations do not have macros *	since they are expressible directly in C. * *		basic load operations *		load with displacement operations *		load with index operations *		load with scaled index operations *		basic store operations *		store with displacement operations * *	2.	Compute Operations * *	the operations which are not directly *	expressible in C have macro defines below: * *		arithmetic operations */#define	IMAX(a,b)	(imax((a),(b)))#define	IMIN(a,b)	(imin((a),(b)))#define UMIN(a,b)       (umin((a),(b)))#define	IABS(a)         (iabs(a))#define	INEG(a)		(ineg(a))/* *		signed comparison operations *		unsigned comparison operations *		logical operations */#define	BITANDINV(a,b)	(bitandinv((a),(b)))#define	ROL(a,b)	(rol((a),(b)))/* *		sign extension operations */#define	SEX8(a)		(sex8(a))#define	SEX16(a)	(sex16(a))#define	ZEX8(a)		(zex8(a))#define	ZEX16(a)	(zex16(a))/* *	3.	Immediate Operations * *	the operations which are not directly *	expressible in C have macro defines below: * *		immediate operations *		logical operations * * note: the shift parameters below must be *       an integer constant. */#define	ASLI(shift,a)	(asli((shift),(a)))#define	ROLI(shift,a)	(roli((shift),(a)))#define	ASRI(shift,a)	(asri((shift),(a)))#define	LSRI(shift,a)	(lsri((shift),(a)))#define	LSLI(shift,a)	(lsli((shift),(a)))/* *		arithmetic operations * * note: the imm parameters below must be *       an integer constant. */#define	IADDI(imm,a)	(iaddi((imm),(a)))#define	ISUBI(imm,a)	(isubi((imm),(a)))/* *		signed comparison operations * * note: the imm parameters below must be *       an integer constant. */#define	IGTRI(imm,a)	(igtri((imm),(a)))#define	IGEQI(imm,a)	(igeqi((imm),(a)))#define	IEQLI(imm,a)	(ieqli((imm),(a)))#define	INEQI(imm,a)	(ineqi((imm),(a)))#define	ILESI(imm,a)	(ilesi((imm),(a)))#define	ILEQI(imm,a)	(ileqi((imm),(a)))/* *		unsigned comparison operations * * note: the imm parameters below must be *       an integer constant. */#define	UGTRI(imm,a)	(ugtri((imm),(a)))#define	UGEQI(imm,a)	(ugeqi((imm),(a)))#define	UEQLI(imm,a)	(ueqli((imm),(a)))#define	UNEQI(imm,a)	(uneqi((imm),(a)))#define	ULESI(imm,a)	(ulesi((imm),(a)))#define	ULEQI(imm,a)	(uleqi((imm),(a)))/* * *	4.	Special Compute Operations * *		clipped arithmetic operations */#define	DSPIADD(a,b)	(dspiadd((a),(b)))#define	DSPISUB(a,b)	(dspisub((a),(b)))#define	DSPUADD(a,b)	(dspuadd((a),(b)))#define	DSPUSUB(a,b)	(dspusub((a),(b)))#define	DSPIMUL(a,b)	(dspimul((a),(b)))#define	DSPUMUL(a,b)	(dspumul((a),(b)))#define	DSPIABS(a)	(dspiabs(a))/* *		carry and borrow operations */#define	CARRY(a,b)	(carry((a),(b)))#define	BORROW(a,b)	(borrow((a),(b)))/* *		special multiply operations */#define	IMULM(a,b)	(imulm((a),(b)))#define	UMULM(a,b)	(umulm((a),(b)))/* *		dual arithmetic operations */#define	DSPIDUALABS(a)	 (dspidualabs(a))#define	DSPIDUALADD(a,b) (dspidualadd((a),(b)))#define	DSPIDUALSUB(a,b) (dspidualsub((a),(b)))#define	DSPIDUALMUL(a,b) (dspidualmul((a),(b)))/* #if defined(__TCS_tm1100__) *//* *		dual shifting operations */#define	DUALASR(a,b)	(dualasr((a),(b)))/* *		dual clipping operations */#define	DUALICLIPI(a,b)	(dualiclipi((a),(b)))#define	DUALUCLIPI(a,b)	(dualuclipi((a),(b)))/* #endif defined(__TCS_tm1100__) *//* *		byte packing operations */#define	PACKBYTES(a,b)	(packbytes((a),(b)))#define	MERGEMSB(a,b)	(mergemsb((a),(b)))#define	MERGELSB(a,b)	(mergelsb((a),(b)))#define	PACK16MSB(a,b)	(pack16msb((a),(b)))#define	PACK16LSB(a,b)	(pack16lsb((a),(b)))/* #if defined(__TCS_tm1100__) */#define	MERGEDUAL16LSB(a,b) (mergedual16lsb((a), (b)))/* #endif defined(__TCS_tm1100__) *//* *		byte select operations */#define	UBYTESEL(a,sel)	(ubytesel((a),(sel)))#define	IBYTESEL(a,sel)	(ibytesel((a),(sel)))/* *		sum of products operations */#define	UFIR8UU(a,b)	(ufir8uu((a),(b)))#define	IFIR8UI(a,b)	(ifir8ui((a),(b)))#define	IFIR8IU(a,b)	(ifir8ui((b),(a)))#define	IFIR8II(a,b)	(ifir8ii((a),(b)))#define	IFIR16(a,b)	(ifir16((a),(b)))#define	UFIR16(a,b)	(ufir16((a),(b)))/* *		sum of differences operations */#define	UME8II(a,b)	(ume8ii((a),(b)))#define	UME8UU(a,b)	(ume8uu((a),(b)))/* *		special byte shift operations */#define	FUNSHIFT1(a,b)	(funshift1((a),(b)))#define	FUNSHIFT2(a,b)	(funshift2((a),(b)))#define	FUNSHIFT3(a,b)	(funshift3((a),(b)))/* *		clip operations */#define	ICLIPI(a,b)	(iclipi((a),(b)))#define	UCLIPI(a,b)	(uclipi((a),(b)))#define	UCLIPU(a,b)	(uclipu((a),(b)))/* *		quad arithmetic operations */#define	QUADUMULMSB(a,b)    (quadumulmsb((a),(b)))#define	QUADAVG(a,b)	    (quadavg((a),(b)))#define DSPUQUADADDUI(a,b)  (dspuquadaddui((a),(b)))/* #if defined(__TCS_tm1100__) */#define	QUADUMAX(a,b)	    (quadumax((a),(b)))#define	QUADUMIN(a,b)	    (quadumin((a),(b)))/* #endif defined(__TCS_tm1100__) *//* *		various special compute operations */#define	IZERO(a,b)	(izero((a),(b)))#define	INONZERO(a,b)	(inonzero((a),(b)))#define	IAVGONEP(a,b)	(iavgonep((a),(b)))#define	IFLIP(a,b)	(iflip((a),(b)))/* * *	5.	Special Register Operations * *		PCSW operations */#define	READPCSW()		(readpcsw())#define	WRITEPCSW(val,mask)	(writepcsw((val),(mask)))/* *		CCCOUNT operations */#define	CYCLES()	(cycles())#define	HICYCLES()	(hicycles())/* *		DPC and SPC operations */#define	READDPC()	(readdpc())#define	WRITEDPC(val)	(writedpc(val))#define	READSPC()	(readspc())#define	WRITESPC(val)	(writespc(val))/* * *	6.	Floating Point Operations * *	the operations which are not directly *	expressible in C have macro defines below. * *	special note: the xxxflags operations are *	meant to be used by the compiler and are *	therefore not supported here. * *		arithmetic operations *		comparison operations *		single argument operations */#define	FSQRT(f)	(fsqrt(f))#define	FABSVAL(f)	(fabsval(f))#define	FSIGN(f)	(fsign(f))/* *		float to integer conversions */#define	IFIXIEEE(f)	(ifixieee(f))#define	UFIXIEEE(f)	(ufixieee(f))/* *		integer to float conversions */#define IFLOATRZ(a)     (ifloatrz(a))#define UFLOATRZ(a)     (ufloatrz(a))/* *		fzero and fnonzero analogous to izero/inonzero */#define FZERO(a,b)	(fzero((a), (b)))#define FNONZERO(a,b)	(fnonzero((a), (b)))/* *		dirty tricks to calculate fmin and fmax   *		analogous to imin and imax *  *		DO NOT WORK WHEN BOTH FLOATS ARE NEGATIVE *  *		DO NOT SET APPROPRIATE IEEE FLAGS !! *			 *//************ READ COMMENT *************/#define FMIN(a,b)	(fmin((a), (b)))#define FMAX(a,b)	(fmax((a), (b)))/************ READ COMMENT *************//* * *      7.      Cache Operations * *              data-cache copyback and invalidate operations *              data-cache tag and status operations *              instruction-cache operations *              data-cache prefetch operations * *	8.	Control Flow Operations * *	though these operations are not easily *	expressible in C, they are unsafe to *	expose to the programmer and therefore

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99国产精品视频免费观看| 成人国产视频在线观看| 成人免费在线观看入口| 国产人成一区二区三区影院| 国产日韩亚洲欧美综合| 国产欧美精品在线观看| 国产午夜精品在线观看| 日本一区二区不卡视频| 国产精品久久久久久久久晋中| 久久精品一区四区| 国产欧美一区二区在线观看| 欧美经典一区二区三区| 国产精品久线在线观看| 亚洲欧洲三级电影| 亚洲精品成人少妇| 亚洲成人一区二区| 五月天激情综合| 午夜私人影院久久久久| 日本v片在线高清不卡在线观看| 激情深爱一区二区| 懂色中文一区二区在线播放| 色综合天天视频在线观看| 色综合一区二区| 91精品国产91久久久久久最新毛片| 91精品国产入口| wwwwww.欧美系列| 亚洲男人的天堂在线aⅴ视频| 亚洲gay无套男同| 国产成人综合网| 欧美性感一区二区三区| www久久精品| 亚洲精品视频一区| 久久精品国产亚洲a| 91免费精品国自产拍在线不卡| 91精品国产乱| 亚洲人成人一区二区在线观看 | av亚洲精华国产精华| 色婷婷综合久久久中文字幕| 日韩免费观看高清完整版| 亚洲免费资源在线播放| 经典一区二区三区| 欧美午夜精品一区二区三区| 久久精品亚洲国产奇米99| 亚洲午夜免费视频| 成人亚洲精品久久久久软件| 欧美另类videos死尸| 欧美激情一区不卡| 视频一区视频二区中文| 国产一区二区不卡老阿姨| 欧美色图激情小说| 综合精品久久久| 国产美女精品人人做人人爽| 欧美片网站yy| 亚洲精品日韩一| 狠狠色狠狠色综合系列| 欧美日韩国产高清一区二区 | 欧美日韩高清不卡| 国产精品人成在线观看免费 | 日本一区二区综合亚洲| 日韩精品三区四区| 欧美调教femdomvk| 亚洲精品v日韩精品| 成人免费高清视频| 久久久综合九色合综国产精品| 亚洲高清免费一级二级三级| 色偷偷成人一区二区三区91| 亚洲丝袜另类动漫二区| 9人人澡人人爽人人精品| 国产精品美女久久福利网站| 国产电影一区二区三区| 久久久国产综合精品女国产盗摄| 日本一不卡视频| 日韩欧美第一区| 美美哒免费高清在线观看视频一区二区 | 成人aa视频在线观看| 国产三级三级三级精品8ⅰ区| 国产成人免费高清| 欧美国产精品久久| 成人午夜视频网站| 1区2区3区国产精品| 色综合久久久久综合99| 亚洲www啪成人一区二区麻豆| 欧美色区777第一页| 欧美96一区二区免费视频| 91精品免费观看| 国产综合色产在线精品| 国产日韩影视精品| 一本大道久久精品懂色aⅴ| 一区二区三区免费网站| 欧美三级三级三级爽爽爽| 视频一区二区三区入口| 精品国产一区二区精华| 大桥未久av一区二区三区中文| 亚洲欧洲另类国产综合| 欧美日韩dvd在线观看| 日韩中文字幕亚洲一区二区va在线| 欧美一级高清片| 成人深夜福利app| 亚洲高清视频中文字幕| 日韩欧美国产电影| kk眼镜猥琐国模调教系列一区二区| 一区二区高清免费观看影视大全| 欧美精品日韩综合在线| 国产九色sp调教91| 亚洲欧美另类图片小说| 日韩一区二区三区视频在线观看| 国内精品视频一区二区三区八戒| 日韩美女精品在线| 日韩一区二区三区电影在线观看 | 91麻豆精品国产| 国产一区二区精品久久| 亚洲愉拍自拍另类高清精品| 欧美成人aa大片| 日本韩国一区二区三区视频| 紧缚奴在线一区二区三区| 亚洲精品欧美二区三区中文字幕| 777久久久精品| 91香蕉视频在线| 久久黄色级2电影| 另类中文字幕网| 亚洲免费观看高清在线观看| 欧美va在线播放| 欧美三级午夜理伦三级中视频| 国产成人免费xxxxxxxx| 日韩中文字幕一区二区三区| 亚洲你懂的在线视频| 久久理论电影网| 日韩一区二区麻豆国产| 色网站国产精品| 不卡的av网站| 国产成a人亚洲精| 久久精品国产99国产| 亚洲v精品v日韩v欧美v专区| 亚洲色图欧美在线| 欧美国产97人人爽人人喊| 久久影视一区二区| 日韩精品中文字幕在线不卡尤物| 欧美日韩精品一区二区在线播放| a亚洲天堂av| 成人av网站在线观看免费| 国模娜娜一区二区三区| 久久国产精品99久久人人澡| 日韩精品福利网| 天堂资源在线中文精品| 亚洲大片在线观看| 亚洲电影中文字幕在线观看| 一个色在线综合| 亚洲国产一区二区三区| 亚洲图片有声小说| 亚洲成人动漫在线观看| 亚洲亚洲人成综合网络| 亚洲综合成人网| 亚洲成人免费在线| 日韩av电影天堂| 看片的网站亚洲| 国产精品一品二品| www.欧美色图| 欧美午夜影院一区| 日韩一区二区三区电影在线观看 | 91麻豆自制传媒国产之光| 97精品久久久久中文字幕 | 99精品在线观看视频| 99国产精品国产精品毛片| 91麻豆免费观看| 欧美午夜一区二区| 欧美成人性战久久| 国产日韩欧美制服另类| 中文字幕电影一区| 亚洲欧美aⅴ...| 国产成人一区在线| 成人网页在线观看| 在线观看成人小视频| 欧美高清www午色夜在线视频| 日韩欧美一二三区| 国产精品色噜噜| 三级成人在线视频| 国产成人免费xxxxxxxx| 一本一本久久a久久精品综合麻豆| 欧美体内she精高潮| 精品免费日韩av| 一区二区三区在线观看国产| 日本vs亚洲vs韩国一区三区二区| 国产91高潮流白浆在线麻豆| 色94色欧美sute亚洲13| 日韩精品专区在线影院观看| 国产精品大尺度| 蜜桃av噜噜一区| 在线观看av一区二区| 精品av综合导航| 亚洲电影中文字幕在线观看| 国产在线精品一区二区三区不卡| 92国产精品观看| 精品久久国产老人久久综合| 怡红院av一区二区三区| 国产福利视频一区二区三区| 欧美久久一区二区| 亚洲精品福利视频网站| 国产成人午夜视频| 欧美一区二区视频在线观看2020| 国产精品国产三级国产a|