Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
Programming

+ - Speeding up code with GCC's prefetch extension->

Submitted by
birge
birge writes: "In memory-constrained loops where memory must be accessed out-of-order, a relatively little-used extension to GCC can be used to speed up code by as much as several times. Extremely simple to use, the __builtin_prefetch instruction tells the cache mechanism to load a memory location into local chip cache, allowing the programmer to have memory loaded for the next computation in parallel with the current computation."
Link to Original Source

Top Ten Things Overheard At The ANSI C Draft Committee Meetings: (9) Dammit, little-endian systems *are* more consistent!

Working...