Forum Discussion
Altera_Forum
Honored Contributor
20 years agonios performance
Hi all, I have a piece of C-code which I have indicated below. { int idx_1, idx_2; for( idx_1 = 0; idx_1 < 6; idx_1++) { for(idx_2 = 0; i...
Altera_Forum
Honored Contributor
20 years agoi think, your code can be presented as following
{
int idx_1, idx_2;
for( idx_1 = 0; idx_1 < 6; idx_1++)
{
for(idx_2 = 0; idx_2 < 16; idx_2++)
{
p->a = q->b;
}
}
} so you have two multiplications and two sums plus memory copy