Exemplo n.º 1
0
int16_t main (void)
{
//	clear_results();
//	Q16convtest();
	clear_results();
	floattest();

	multtest();
	clear_results();
	divtest();
	clear_results();
	addtest();
	clear_results();
	sqrttest();
	return 0 ;
}
Exemplo n.º 2
0
leon3_test(int domp, volatile int *irqmp, int mtest)
{
	int tmp, i;

	if (!get_pid()) report_device(0x01003000);
	if (domp) mptest_start(irqmp);	
	report_subtest(REGFILE+(get_pid()<<4));
	if (regtest()) fail(1);
	multest();
	divtest();
	fputest();
	if (mtest) cramtest();
	if ((*mpfunc[get_pid()])) mpfunc[get_pid()](get_pid());
	if (domp) mptest_end(irqmp);	
	grfpu_test();
	cachetest();
	mmu_test();
	rextest();
        awptest();
}