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

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

?? divrem.m4

?? glibc 庫, 不僅可以學習使用庫函數,還可以學習函數的具體實現,是提高功力的好資料
?? M4
字號:
/* * Division and remainder, from Appendix E of the Sparc Version 8 * Architecture Manual, with fixes from Gordon Irlam. *//* * Input: dividend and divisor in %o0 and %o1 respectively. * * m4 parameters: *  NAME	name of function to generate *  OP		OP=div => %o0 / %o1; OP=rem => %o0 % %o1 *  S		S=true => signed; S=false => unsigned * * Algorithm parameters: *  N		how many bits per iteration we try to get (4) *  WORDSIZE	total number of bits (32) * * Derived constants: *  TOPBITS	number of bits in the top `decade' of a number * * Important variables: *  Q		the partial quotient under development (initially 0) *  R		the remainder so far, initially the dividend *  ITER	number of main division loop iterations required; *		equal to ceil(log2(quotient) / N).  Note that this *		is the log base (2^N) of the quotient. *  V		the current comparand, initially divisor*2^(ITER*N-1) * * Cost: *  Current estimate for non-large dividend is *	ceil(log2(quotient) / N) * (10 + 7N/2) + C *  A large dividend is one greater than 2^(31-TOPBITS) and takes a *  different path, as the upper bits of the quotient must be developed *  one bit at a time. */define(N, `4')dnldefine(WORDSIZE, `32')dnldefine(TOPBITS, eval(WORDSIZE - N*((WORDSIZE-1)/N)))dnldnldefine(dividend, `%o0')dnldefine(divisor, `%o1')dnldefine(Q, `%o2')dnldefine(R, `%o3')dnldefine(ITER, `%o4')dnldefine(V, `%o5')dnldnldnl m4 reminder: ifelse(a,b,c,d) => if a is b, then c, else ddefine(T, `%g1')dnldefine(SC, `%g2')dnlifelse(S, `true', `define(SIGN, `%g3')')dnldnldnl This is the recursive definition for developing quotient digits.dnldnl Parameters:dnl  $1	the current depth, 1 <= $1 <= Ndnl  $2	the current accumulation of quotient bitsdnl  N	max depthdnldnl We add a new bit to $2 and either recurse or insert the bits indnl the quotient.  R, Q, and V are inputs and outputs as defined above;dnl the condition codes are expected to reflect the input R, and arednl modified to reflect the output R.dnldefine(DEVELOP_QUOTIENT_BITS,`	! depth $1, accumulated bits $2	bl	LOC($1.eval(2**N+$2))	srl	V,1,V	! remainder is positive	subcc	R,V,R	ifelse($1, N,	`	b	9f		add	Q, ($2*2+1), Q	', `	DEVELOP_QUOTIENT_BITS(incr($1), `eval(2*$2+1)')')LOC($1.eval(2**N+$2)):	! remainder is negative	addcc	R,V,R	ifelse($1, N,	`	b	9f		add	Q, ($2*2-1), Q	', `	DEVELOP_QUOTIENT_BITS(incr($1), `eval(2*$2-1)')')	ifelse($1, 1, `9:')')dnl#include <sysdep.h>#include <sys/trap.h>ENTRY(NAME)ifelse(S, `true',`	! compute sign of result; if neither is negative, no problem	orcc	divisor, dividend, %g0	! either negative?	bge	2f			! no, go do the divideifelse(OP, `div',`	xor	divisor, dividend, SIGN	! compute sign in any case',`	mov	dividend, SIGN		! sign of remainder matches dividend')	tst	divisor	bge	1f	tst	dividend	! divisor is definitely negative; dividend might also be negative	bge	2f			! if dividend not negative...	sub	%g0, divisor, divisor	! in any case, make divisor nonneg1:	! dividend is negative, divisor is nonnegative	sub	%g0, dividend, dividend	! make dividend nonnegative2:')	! Ready to divide.  Compute size of quotient; scale comparand.	orcc	divisor, %g0, V	bne	1f	mov	dividend, R		! Divide by zero trap.  If it returns, return 0 (about as		! wrong as possible, but that is what SunOS does...).		ta	ST_DIV0		retl		clr	%o01:	cmp	R, V			! if divisor exceeds dividend, done	blu	LOC(got_result)		! (and algorithm fails otherwise)	clr	Q	sethi	%hi(1 << (WORDSIZE - TOPBITS - 1)), T	cmp	R, T	blu	LOC(not_really_big)	clr	ITER	! `Here the dividend is >= 2**(31-N) or so.  We must be careful here,	! as our usual N-at-a-shot divide step will cause overflow and havoc.	! The number of bits in the result here is N*ITER+SC, where SC <= N.	! Compute ITER in an unorthodox manner: know we need to shift V into	! the top decade: so do not even bother to compare to R.'	1:		cmp	V, T		bgeu	3f		mov	1, SC		sll	V, N, V		b	1b		add	ITER, 1, ITER	! Now compute SC.	2:	addcc	V, V, V		bcc	LOC(not_too_big)		add	SC, 1, SC		! We get here if the divisor overflowed while shifting.		! This means that R has the high-order bit set.		! Restore V and subtract from R.		sll	T, TOPBITS, T	! high order bit		srl	V, 1, V		! rest of V		add	V, T, V		b	LOC(do_single_div)		sub	SC, 1, SC	LOC(not_too_big):	3:	cmp	V, R		blu	2b		nop		be	LOC(do_single_div)		nop	/* NB: these are commented out in the V8-Sparc manual as well */	/* (I do not understand this) */	! V > R: went too far: back up 1 step	!	srl	V, 1, V	!	dec	SC	! do single-bit divide steps	!	! We have to be careful here.  We know that R >= V, so we can do the	! first divide step without thinking.  BUT, the others are conditional,	! and are only done if R >= 0.  Because both R and V may have the high-	! order bit set in the first step, just falling into the regular	! division loop will mess up the first time around.	! So we unroll slightly...	LOC(do_single_div):		subcc	SC, 1, SC		bl	LOC(end_regular_divide)		nop		sub	R, V, R		mov	1, Q		b	LOC(end_single_divloop)		nop	LOC(single_divloop):		sll	Q, 1, Q		bl	1f		srl	V, 1, V		! R >= 0		sub	R, V, R		b	2f		add	Q, 1, Q	1:	! R < 0		add	R, V, R		sub	Q, 1, Q	2:	LOC(end_single_divloop):		subcc	SC, 1, SC		bge	LOC(single_divloop)		tst	R		b,a	LOC(end_regular_divide)LOC(not_really_big):1:	sll	V, N, V	cmp	V, R	bleu	1b	addcc	ITER, 1, ITER	be	LOC(got_result)	sub	ITER, 1, ITER	tst	R	! set up for initial iterationLOC(divloop):	sll	Q, N, Q	DEVELOP_QUOTIENT_BITS(1, 0)LOC(end_regular_divide):	subcc	ITER, 1, ITER	bge	LOC(divloop)	tst	R	bl,a	LOC(got_result)	! non-restoring fixup here (one instruction only!)ifelse(OP, `div',`	sub	Q, 1, Q', `	add	R, divisor, R')LOC(got_result):ifelse(S, `true',`	! check to see if answer should be < 0	tst	SIGN	bl,a	1f	ifelse(OP, `div', `sub %g0, Q, Q', `sub %g0, R, R')1:')	retl	ifelse(OP, `div', `mov Q, %o0', `mov R, %o0')END(NAME)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色综合久久久久综合99| 欧美丝袜第三区| 久久免费看少妇高潮| 香蕉av福利精品导航| 91网站最新地址| 日韩码欧中文字| 91网上在线视频| 亚洲精品国产品国语在线app| 成人晚上爱看视频| 国产精品色噜噜| 一本一道综合狠狠老| 欧美日韩色一区| 亚洲免费观看高清完整版在线 | 国产在线不卡视频| 日韩在线观看一区二区| 亚洲一区精品在线| 中文字幕中文字幕一区| 中文一区一区三区高中清不卡| 欧美视频在线不卡| 成人午夜碰碰视频| 久久国内精品自在自线400部| 午夜a成v人精品| 亚洲人成伊人成综合网小说| 欧美一区二区在线观看| av在线不卡电影| 日产国产欧美视频一区精品 | 日本一二三四高清不卡| 精品捆绑美女sm三区| 欧美一区二区三区免费视频| 4438x亚洲最大成人网| 3751色影院一区二区三区| 日韩色在线观看| 精品国产乱码久久久久久夜甘婷婷| 欧美一卡在线观看| 精品久久久久久无| 中文字幕av一区 二区| 亚洲人被黑人高潮完整版| 一区二区在线观看视频在线观看| 午夜欧美视频在线观看| 久久se精品一区二区| 国产99久久久国产精品潘金网站| 顶级嫩模精品视频在线看| 在线一区二区三区四区| 91精选在线观看| 国产欧美日韩三区| 亚洲宅男天堂在线观看无病毒| 亚洲电影一区二区三区| 日韩精品专区在线| www欧美成人18+| 欧美韩日一区二区三区四区| 亚洲精品欧美综合四区| 日韩二区三区四区| 国产精品白丝jk白祙喷水网站| 国产精品中文欧美| 国产精品一二三区| 在线亚洲一区二区| 欧美电影免费观看高清完整版在线 | 国产欧美日韩在线| 亚洲国产日产av| 国内精品伊人久久久久av一坑| 国产高清不卡一区| 欧美日韩在线播| 国产精品青草综合久久久久99| 亚洲综合色区另类av| 国产精品自拍一区| 欧美精品三级日韩久久| 亚洲精品在线免费观看视频| 亚洲老妇xxxxxx| 成人免费高清在线观看| 日韩欧美亚洲国产另类| 欧美国产日韩精品免费观看| 亚洲最大的成人av| www.亚洲人| 日韩精品中文字幕在线一区| 亚洲一区二区不卡免费| 5月丁香婷婷综合| 成人激情图片网| 精品免费一区二区三区| 亚洲精品中文字幕乱码三区 | 91丝袜高跟美女视频| 成人动漫中文字幕| 欧美最猛性xxxxx直播| 久久男人中文字幕资源站| 国产欧美一区二区在线观看| 久久电影网站中文字幕| av午夜一区麻豆| 亚洲三级电影网站| 99精品国产一区二区三区不卡| 久久免费看少妇高潮| 成人性色生活片| 亚洲色图在线播放| 欧美日韩日日骚| 亚洲国产成人精品视频| 粉嫩高潮美女一区二区三区 | 91福利视频网站| 亚洲一区二区高清| 91网站视频在线观看| 视频一区二区三区在线| 日韩一区二区免费在线观看| 国产在线视频一区二区三区| 久久精品人人做| 国产不卡视频在线播放| 18欧美亚洲精品| 狠狠狠色丁香婷婷综合激情| 成人欧美一区二区三区小说| 4438x成人网最大色成网站| 精久久久久久久久久久| 国产欧美一二三区| 欧美亚洲国产一卡| 国产一区二区免费视频| 一区二区三区在线观看视频| 日韩欧美黄色影院| 在线精品视频免费观看| 国产在线精品一区在线观看麻豆| 久久婷婷色综合| 欧美日韩国产一级二级| 99久久久久免费精品国产 | 91视频观看视频| 国产尤物一区二区| 亚洲二区在线视频| 国产欧美日本一区视频| 欧美一区二区国产| 欧美精品aⅴ在线视频| 不卡一二三区首页| 国产精一区二区三区| 另类小说视频一区二区| 久久久久久久综合色一本| 色综合一个色综合亚洲| 国产成人久久精品77777最新版本 国产成人鲁色资源国产91色综 | 日本丰满少妇一区二区三区| 高清shemale亚洲人妖| 国产电影一区二区三区| 国产一区二区三区免费看| 亚洲妇女屁股眼交7| 亚洲欧美激情小说另类| 玉米视频成人免费看| 91精品国产一区二区人妖| 91精品国产综合久久香蕉的特点 | 日本特黄久久久高潮| 老司机午夜精品| 日韩有码一区二区三区| 日韩 欧美一区二区三区| 美腿丝袜亚洲一区| 国产一区二区伦理片| 2019国产精品| 91麻豆国产精品久久| 国产69精品久久777的优势| 成人免费观看男女羞羞视频| 97精品国产露脸对白| 精品婷婷伊人一区三区三| 91捆绑美女网站| 欧美三级蜜桃2在线观看| 日韩一区二区三区精品视频| 日韩精品一区二区三区视频在线观看| 色综合久久久久久久久| 91精品国产福利| 欧美肥胖老妇做爰| 久久久国产精品午夜一区ai换脸| 国产欧美精品国产国产专区| 久久影院午夜片一区| 亚洲精品中文字幕在线观看| 日韩av电影一区| 色综合久久88色综合天天免费| 一区二区视频免费在线观看| 国产精品久久久久久久第一福利| 亚洲女厕所小便bbb| 五月天视频一区| 色婷婷亚洲婷婷| 国产欧美精品国产国产专区 | 久久久久久毛片| 日韩福利电影在线观看| 粉嫩在线一区二区三区视频| 欧美一级高清片| 午夜精品福利一区二区蜜股av | 夜夜嗨av一区二区三区| 成人午夜激情在线| 国产视频亚洲色图| 麻豆精品国产91久久久久久| 欧美色综合网站| 一区二区三区蜜桃网| 99久久er热在这里只有精品15| 国产三级欧美三级日产三级99| 美女一区二区久久| 欧美sm极限捆绑bd| 亚洲高清不卡在线观看| 欧美人成免费网站| 视频一区国产视频| 精品亚洲免费视频| 精品国产第一区二区三区观看体验| 国产自产高清不卡| 中文字幕亚洲不卡| 欧美四级电影网| 国产一区二区不卡老阿姨| 日韩理论电影院| 日韩欧美色综合| 91麻豆视频网站| 久久精品国产一区二区| 国产精品蜜臀av| 久久综合九色欧美综合狠狠| 欧美专区在线观看一区|