Blackfin arch: add proper ENDPROC()
[linux-2.6.git] / arch / blackfin / lib / umulsi3_highpart.S
1 .align 2
2 .global ___umulsi3_highpart;
3 .type ___umulsi3_highpart, STT_FUNC;
4
5 #ifdef CONFIG_ARITHMETIC_OPS_L1
6 .section .l1.text
7 #else
8 .text
9 #endif
10
11 ___umulsi3_highpart:
12         R2 = R1.H * R0.H, R3 = R1.L * R0.H (FU);
13         R0 = R1.L * R0.L, R1 = R1.H * R0.L (FU);
14         R0 >>= 16;
15         /* Unsigned multiplication has the nice property that we can
16            ignore carry on this first addition.  */
17         R0 = R0 + R3;
18         R0 = R0 + R1;
19         cc = ac0;
20         R1 = cc;
21         R1 = PACK(R1.l,R0.h);
22         R0 = R1 + R2;
23         RTS;
24
25 .size ___umulsi3_highpart, .-___umulsi3_highpart