]> Git Repo - linux.git/blob - arch/m32r/lib/ucmpdi2.c
mpls: Do not decrement alive counter for unregister events
[linux.git] / arch / m32r / lib / ucmpdi2.c
1 #include "libgcc.h"
2
3 int __ucmpdi2(unsigned long long a, unsigned long long b)
4 {
5         const DWunion au = {.ll = a};
6         const DWunion bu = {.ll = b};
7
8         if ((unsigned int)au.s.high < (unsigned int)bu.s.high)
9                 return 0;
10         else if ((unsigned int)au.s.high > (unsigned int)bu.s.high)
11                 return 2;
12         if ((unsigned int)au.s.low < (unsigned int)bu.s.low)
13                 return 0;
14         else if ((unsigned int)au.s.low > (unsigned int)bu.s.low)
15                 return 2;
16         return 1;
17 }
This page took 0.032391 seconds and 4 git commands to generate.