1 // SPDX-License-Identifier: GPL-2.0
4 int __ucmpdi2(unsigned long long a
, unsigned long long b
)
6 const DWunion au
= {.ll
= a
};
7 const DWunion bu
= {.ll
= b
};
9 if ((unsigned int)au
.s
.high
< (unsigned int)bu
.s
.high
)
11 else if ((unsigned int)au
.s
.high
> (unsigned int)bu
.s
.high
)
13 if ((unsigned int)au
.s
.low
< (unsigned int)bu
.s
.low
)
15 else if ((unsigned int)au
.s
.low
> (unsigned int)bu
.s
.low
)