generisize.pl: remove u16max and friends
[smatch.git] / validation / backend / cmp-ops.c
bloba5f736d7a9fa2d9366713e34cae0f1f4afaeacea
1 static int sete(int x, int y)
3 return x == y;
6 static int setne(int x, int y)
8 return x != y;
11 static int setl(int x, int y)
13 return x < y;
16 static int setg(int x, int y)
18 return x > y;
21 static int setle(int x, int y)
23 return x <= y;
26 static int setge(int x, int y)
28 return x >= y;
31 static int setb(unsigned int x, unsigned int y)
33 return x < y;
36 static int seta(unsigned int x, unsigned int y)
38 return x > y;
41 static int setbe(unsigned int x, unsigned int y)
43 return x <= y;
46 static int setae(unsigned int x, unsigned int y)
48 return x >= y;
51 static int setfe(float x, float y)
53 return x == y;
56 static int setfne(float x, float y)
58 return x != y;
61 static int setfl(float x, float y)
63 return x < y;
66 static int setfg(float x, float y)
68 return x > y;
71 static int setfle(float x, float y)
73 return x <= y;
76 static int setfge(float x, float y)
78 return x >= y;
82 * check-name: Comparison operator code generation
83 * check-command: ./sparsec -c $file -o tmp.o