aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/mask-out.c
blob: ac85aec800c76fbabca1369ecd4649ea4b4fe410 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
unsigned mask(unsigned a, unsigned b)
{
	return ((a & 0xffff0000) | b) & 0x0000ffff;
}

/*
 * check-name: mask-out
 * check-command: test-linearize -Wno-decl $file
 *
 * check-output-ignore
 * check-output-excludes: %arg1
 */