-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
I use the docker image. Here's my code:
int a[10], b[10], c[10];
__attribute__((noinline)) void test() {
for (int i = 0; i < 10; i++) {
c[i] = a[i] * b[i];
}
}
int main() { test(); }
And the output says:
...
==================================
[ResMII: 1]
... number of cycles: 2 ...
==================================
[RecMII: 4]
==================================
...
That's weird because there's no dependency between the i-th iteration and (i+1)-th iteration. Could you please explain the reason why RecMII is 4 here? I really appreciate that.
Metadata
Metadata
Assignees
Labels
No labels