Archive for July 2008

A really specific Facebook phishing virus?

This message I received on Facebook shows how phishers are using social networks to make their messages appear to come from a legitimate, trusted source.

Load-hit-stores and the __restrict keyword

A load-hit-store is a large stall that occurs when the processor writes data to an address x and then tries to load that data from x again too soon. __restrict is a C++ compiler directive that helps avoid load-hit-store stalls.

Making Division Faster

If you want to divide an arbitrary X by an arbitrary Y, long division is pretty much the only way to go — slow even in hardware. However, if the divisor is known at compile time, there is very often a much more efficient way to compute the quotient.