4 /* Extracted from MultiSource/Benchmarks/TSVC/tsc.inc
5 From LLVM test-suite */
9 int dummy(double[N
], double[N
], double[N
], double[N
]);
11 double array
[256*256] __attribute__((aligned(32)));
13 double x
[N
] __attribute__((aligned(32)));
18 __attribute__((aligned(32))) double a
[N
];
20 __attribute__((aligned(32))) double b
[N
];
22 __attribute__((aligned(32))) double c
[N
];
24 __attribute__((aligned(32))) double d
[N
];
28 __attribute__((aligned(32))) double * const a
= global_data
.a
;
29 __attribute__((aligned(32))) double * const b
= global_data
.b
;
30 __attribute__((aligned(32))) double * const c
= global_data
.c
;
31 __attribute__((aligned(32))) double * const d
= global_data
.d
;
34 void check(double *_a
, double *_b
);
40 for (i
= 1; i
< N
; i
++)
43 b
[i
] = b
[i
- 1] + a
[i
] + d
[i
];
49 int set1d(double arr
[N
], double value
)
53 for (i
= 0; i
< N
; i
++) {
69 void check(double *_a
, double *_b
)
75 for (i
= 0; i
< N
; i
++){
85 int main(int argc
, char *argv
[])