2018-12-16 23:15:56 +01:00
|
|
|
--- "a/test cases/common/152 simd/simdchecker.c"
|
|
|
|
+++ "b/test cases/common/152 simd/simdchecker.c"
|
|
|
|
@@ -10,11 +10,12 @@ int check_simd_implementation(float *fou
|
|
|
|
const float *expected,
|
|
|
|
simd_func fptr,
|
|
|
|
const int blocksize) {
|
|
|
|
+ int i;
|
|
|
|
int rv = 0;
|
|
|
|
memcpy(four, four_initial, blocksize*sizeof(float));
|
|
|
|
printf("Using %s.\n", simd_type);
|
|
|
|
fptr(four);
|
|
|
|
- for(int i=0; i<blocksize; i++) {
|
|
|
|
+ for(i=0; i<blocksize; i++) {
|
|
|
|
if(four[i] != expected[i]) {
|
|
|
|
printf("Increment function failed, got %f expected %f.\n", four[i], expected[i]);
|
|
|
|
rv = 1;
|
2018-09-28 17:49:38 +02:00
|
|
|
--- "a/test cases/unit/17 prebuilt shared/patron.c"
|
|
|
|
+++ "b/test cases/unit/17 prebuilt shared/patron.c"
|
2018-03-21 22:12:14 +01:00
|
|
|
@@ -5,4 +5,5 @@ int main(int argc, char **argv) {
|
|
|
|
printf("You are standing outside the Great Library of Alexandria.\n");
|
|
|
|
printf("You decide to go inside.\n\n");
|
|
|
|
alexandria_visit();
|
|
|
|
+ return 0;
|
|
|
|
}
|