1 // SPDX-License-Identifier: GPL-2.0
2 #include <linux/export.h>
6 long long __lshrdi3(long long u
, word_type b
)
19 w
.s
.low
= (unsigned int) uu
.s
.high
>> -bm
;
21 const unsigned int carries
= (unsigned int) uu
.s
.high
<< bm
;
23 w
.s
.high
= (unsigned int) uu
.s
.high
>> b
;
24 w
.s
.low
= ((unsigned int) uu
.s
.low
>> b
) | carries
;
29 EXPORT_SYMBOL(__lshrdi3
);