[BACK]Return to smulsi3_highpart.S CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / arch / blackfin / lib

File: [Development] / linux-2.6-xfs / arch / blackfin / lib / smulsi3_highpart.S (download)

Revision 1.2, Wed Jul 4 15:54:07 2007 UTC (10 years, 3 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -0 lines

Merge up to 2.6.22-rc7
Merge of 2.6.x-xfs-melb:linux:29062a by kenmcd.

.align 2
.global ___smulsi3_highpart;
.type ___smulsi3_highpart, STT_FUNC;

#ifdef CONFIG_ARITHMETIC_OPS_L1
.section .l1.text
#else
.text
#endif

___smulsi3_highpart:
	R2 = R1.L * R0.L (FU);
	R3 = R1.H * R0.L (IS,M);
	R0 = R0.H * R1.H, R1 = R0.H * R1.L (IS,M);

	R1.L = R2.H + R1.L;
	cc = ac0;
	R2 = cc;

	R1.L = R1.L + R3.L;
	cc = ac0;
	R1 >>>= 16;
	R3 >>>= 16;
	R1 = R1 + R3;
	R1 = R1 + R2;
	R2 = cc;
	R1 = R1 + R2;

	R0 = R0 + R1;
	RTS;

.size ___smulsi3_highpart, .-___smulsi3_highpart