|
|
@ -16,6 +16,8 @@ extern long test_mfpvr(void);
|
|
|
|
extern long test_mtpvr(void);
|
|
|
|
extern long test_mtpvr(void);
|
|
|
|
extern long test_bdnzl(void);
|
|
|
|
extern long test_bdnzl(void);
|
|
|
|
extern long test_loadhitstore(void);
|
|
|
|
extern long test_loadhitstore(void);
|
|
|
|
|
|
|
|
extern long test_icbi(void);
|
|
|
|
|
|
|
|
extern long test_dcbz_near_store(void);
|
|
|
|
|
|
|
|
|
|
|
|
// i < 100
|
|
|
|
// i < 100
|
|
|
|
void print_test_number(int i)
|
|
|
|
void print_test_number(int i)
|
|
|
@ -74,5 +76,19 @@ int main(void)
|
|
|
|
} else
|
|
|
|
} else
|
|
|
|
puts(PASS);
|
|
|
|
puts(PASS);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
print_test_number(7);
|
|
|
|
|
|
|
|
if (test_icbi() != 1) {
|
|
|
|
|
|
|
|
fail = 1;
|
|
|
|
|
|
|
|
puts(FAIL);
|
|
|
|
|
|
|
|
} else
|
|
|
|
|
|
|
|
puts(PASS);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
print_test_number(8);
|
|
|
|
|
|
|
|
if (test_dcbz_near_store() != 0) {
|
|
|
|
|
|
|
|
fail = 1;
|
|
|
|
|
|
|
|
puts(FAIL);
|
|
|
|
|
|
|
|
} else
|
|
|
|
|
|
|
|
puts(PASS);
|
|
|
|
|
|
|
|
|
|
|
|
return fail;
|
|
|
|
return fail;
|
|
|
|
}
|
|
|
|
}
|
|
|
|