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