aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/sext.c
blob: 3769a05c1de3d2894660cffebb5bc2eba9ff09ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
int sext(int x)
{
	return (x << 5) >> 5;
}

/*
 * check-name: sext
 * check-command: test-linearize -Wno-decl $file
 *
 * check-output-ignore
 * check-output-excludes: sext\\.
 * check-output-contains: asr\\.32
 * check-output-contains: shl\\.32
 */