aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/set-uimm2.c
blob: 9138ae7276e7ff8175b18cb590c3b0c0264bf652 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
static _Bool setlt_umax(unsigned int a) { return (a <  ~0) == (a != ~0); }
static _Bool setle_umax(unsigned int a) { return (a <= ~1) == (a != ~0); }
static _Bool setge_umax(unsigned int a) { return (a >= ~0) == (a == ~0); }
static _Bool setgt_umax(unsigned int a) { return (a >  ~1) == (a == ~0); }

/*
 * check-name: set-uimm2
 * check-command: test-linearize $file
 *
 * check-output-ignore
 * check-output-returns: 1
 */