aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/shl-and0.c
blob: 894bd882340e8e870431d79005b7d6a4d2ce485e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
unsigned shl_and0(unsigned x)
{
	unsigned t = (x & 0xfff00000);
	return (t << 12) & t;
}

/*
 * check-name: shl-and0
 * check-command: test-linearize -Wno-decl $file
 *
 * check-output-ignore
 * check-output-contains: ret\\..*\\$0$
 */