Talk:Loop-invariant code motion: Difference between revisions

Content deleted Content added
Somethign wrong here in the example: clarify my comment a bit
Line 46:
 
::OK great. I am gonna check it over with my subbing eye. I hope you don't mind, I am sure it is fine, Wikipedia is great and I love it a lot and everyone who puts into it, but if something is wrong you have to say so.
 
== a[i] is a multiplication ==
 
:"''[...] strength reduction could remove the two multiplications inside the loop (6*i and a[i]) [...]''"
Via [[C syntax]] and [[pointer arithmetic]], '''a[i]''' can also be interpreted as '''*(a + i)'''. Can someone tell where the hidden multiplication is taking place? --[[User:Abdull|Abdull]] ([[User talk:Abdull|talk]]) 12:56, 29 October 2010 (UTC)