Displaying 2 results from an estimated 2 matches for "mywcj6d8".
2013 Jan 18
3
[LLVMdev] Loads not hoisted out of the loop
Hey everyone,
I'm looking at the following two C functions:
http://pastebin.com/mYWCj6d8
Second one is about 50% slower than the first one because in the second
case d->data[i * 3 + {X, Y, Z}] loads are not moved out of the second loop
and are computed every time j increments, even though they don't depend on
it. If I move those out manually, the performance of the two is equal...
2013 Jan 18
0
[LLVMdev] Loads not hoisted out of the loop
On Jan 17, 2013, at 9:27 PM, Dimitri Tcaciuc <dtcaciuc at gmail.com> wrote:
> Hey everyone,
>
> I'm looking at the following two C functions:
>
> http://pastebin.com/mYWCj6d8
>
> Second one is about 50% slower than the first one because in the second case d->data[i * 3 + {X, Y, Z}] loads are not moved out of the second loop and are computed every time j increments, even though they don't depend on it. If I move those out manually, the performance of the tw...