]>
git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - arch/mips/lib/ashrdi3.c
1 #include <linux/export.h>
5 long long notrace
__ashrdi3(long long u
, word_type b
)
17 /* w.s.high = 1..1 or 0..0 */
20 w
.s
.low
= uu
.s
.high
>> -bm
;
22 const unsigned int carries
= (unsigned int) uu
.s
.high
<< bm
;
24 w
.s
.high
= uu
.s
.high
>> b
;
25 w
.s
.low
= ((unsigned int) uu
.s
.low
>> b
) | carries
;
31 EXPORT_SYMBOL(__ashrdi3
);