1 # amd64 address-folding stress
3 export function w $f0(l %a, l %b) {
12 export function w $f1(l %a, l %b) {
22 export function w $f2(l %a, l %b) {
31 # fixme: folding is not good here
32 export function w $f3(l %a, l %b) {
42 export function w $f4(l %a, l %b) {
53 # int a[] = {1, 2, 3, 4};
54 # typedef int loadf(int *, long long);
55 # extern loadf f0, f1, f2, f3, f4;
56 # loadf *fns[] = {&f0, &f1, &f2, &f3, &f4, 0};
60 # for (n=1,f=fns; *f; f++,n++)
61 # if ((*f)(a, 1) != 4) return n;