1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 %s
2*f4a2713aSLionel Sambuc
3*f4a2713aSLionel Sambuc int a, b, c, d, e, f, g, h, i, j, k, l;
4*f4a2713aSLionel Sambuc
5*f4a2713aSLionel Sambuc void
f1(void)6*f4a2713aSLionel Sambuc f1 (void)
7*f4a2713aSLionel Sambuc {
8*f4a2713aSLionel Sambuc __asm__ volatile (""
9*f4a2713aSLionel Sambuc : [a] "+r" (a), [b] "+r" (b), [c] "+r" (c), [d] "+r" (d),
10*f4a2713aSLionel Sambuc [e] "+r" (e), [f] "+r" (f), [g] "+r" (g), [h] "+r" (h),
11*f4a2713aSLionel Sambuc [i] "+r" (i), [j] "+r" (j), [k] "+r" (k), [l] "+r" (l));
12*f4a2713aSLionel Sambuc }
13*f4a2713aSLionel Sambuc
14*f4a2713aSLionel Sambuc void
f2(void)15*f4a2713aSLionel Sambuc f2 (void)
16*f4a2713aSLionel Sambuc {
17*f4a2713aSLionel Sambuc __asm__ volatile (""
18*f4a2713aSLionel Sambuc : [a] "+r,m" (a), [b] "+r,m" (b), [c] "+r,m" (c), [d] "+r,m" (d),
19*f4a2713aSLionel Sambuc [e] "+r,m" (e), [f] "+r,m" (f), [g] "+r,m" (g), [h] "+r,m" (h),
20*f4a2713aSLionel Sambuc [i] "+r,m" (i), [j] "+r,m" (j), [k] "+r,m" (k), [l] "+r,m" (l));
21*f4a2713aSLionel Sambuc }
22*f4a2713aSLionel Sambuc
23*f4a2713aSLionel Sambuc void
f3(void)24*f4a2713aSLionel Sambuc f3 (void)
25*f4a2713aSLionel Sambuc {
26*f4a2713aSLionel Sambuc __asm__ volatile (""
27*f4a2713aSLionel Sambuc : [a] "=r" (a), [b] "=r" (b), [c] "=r" (c), [d] "=r" (d),
28*f4a2713aSLionel Sambuc [e] "=r" (e), [f] "=r" (f), [g] "=r" (g), [h] "=r" (h),
29*f4a2713aSLionel Sambuc [i] "=r" (i), [j] "=r" (j), [k] "=r" (k), [l] "=r" (l)
30*f4a2713aSLionel Sambuc : "[a]" (a), "[b]" (b), "[c]" (c), "[d]" (d),
31*f4a2713aSLionel Sambuc "[e]" (e), "[f]" (f), "[g]" (g), "[h]" (h),
32*f4a2713aSLionel Sambuc "[i]" (i), "[j]" (j), "[k]" (k), "[l]" (l));
33*f4a2713aSLionel Sambuc }
34*f4a2713aSLionel Sambuc
35*f4a2713aSLionel Sambuc void
f4(void)36*f4a2713aSLionel Sambuc f4 (void)
37*f4a2713aSLionel Sambuc {
38*f4a2713aSLionel Sambuc __asm__ volatile (""
39*f4a2713aSLionel Sambuc : [a] "=r,m" (a), [b] "=r,m" (b), [c] "=r,m" (c), [d] "=r,m" (d),
40*f4a2713aSLionel Sambuc [e] "=r,m" (e), [f] "=r,m" (f), [g] "=r,m" (g), [h] "=r,m" (h),
41*f4a2713aSLionel Sambuc [i] "=r,m" (i), [j] "=r,m" (j), [k] "=r,m" (k), [l] "=r,m" (l)
42*f4a2713aSLionel Sambuc : "[a],m" (a), "[b],m" (b), "[c],m" (c), "[d],m" (d),
43*f4a2713aSLionel Sambuc "[e],m" (e), "[f],m" (f), "[g],m" (g), "[h],m" (h),
44*f4a2713aSLionel Sambuc "[i],m" (i), "[j],m" (j), "[k],m" (k), "[l],m" (l));
45*f4a2713aSLionel Sambuc }
46