1 // SPDX-License-Identifier: GPL-2.0-or-later
6 #include <linux/module.h>
7 #include <linux/libgcc.h>
9 long long notrace __lshrdi3(long long u, word_type b)
22 w.s.low = (unsigned int) uu.s.high >> -bm;
24 const unsigned int carries = (unsigned int) uu.s.high << bm;
26 w.s.high = (unsigned int) uu.s.high >> b;
27 w.s.low = ((unsigned int) uu.s.low >> b) | carries;
32 EXPORT_SYMBOL(__lshrdi3);