1static int shl(int x, int y)
2{
3	return x << y;
4}
5
6static unsigned int ushl(unsigned int x, unsigned int y)
7{
8	return x << y;
9}
10
11static int shr(int x, int y)
12{
13	return x >> y;
14}
15
16static unsigned int ushr(unsigned int x, unsigned int y)
17{
18	return x >> y;
19}
20
21static int and(int x, int y)
22{
23	return x & y;
24}
25
26static unsigned int uand(unsigned int x, unsigned int y)
27{
28	return x & y;
29}
30
31static int or(int x, int y)
32{
33	return x | y;
34}
35
36static unsigned int uor(unsigned int x, unsigned int y)
37{
38	return x | y;
39}
40
41static int xor(int x, int y)
42{
43	return x ^ y;
44}
45
46static unsigned int uxor(unsigned int x, unsigned int y)
47{
48	return x ^ y;
49}
50
51static int not(int x)
52{
53	return ~x;
54}
55
56static unsigned int unot(unsigned int x)
57{
58	return ~x;
59}
60
61/*
62 * check-name: Bitwise operator code generation
63 * check-command: sparsec -c $file -o tmp.o
64 */
65