[aarch64-port-dev ] Fix prefetching
Andrew Haley
aph at redhat.com
Fri Nov 15 05:10:21 PST 2013
On 11/15/2013 01:02 PM, Andrew Dinn wrote:
> What was wrong with the old code?
It's a refactoring. #ifdef BUILTIN_SIM had to be present whenever
c_stub_prolog was used, so it makes sense to move the logic into the
definition of c_stub_prolog. This reduces the differences between the
builtin sim and hardware.
My old boss had his "Stepehens' law of boredom", which was, more or
less, if you see the same phrase in three places or more it's time to
move that phrase inside a routine.
Andrew.
More information about the aarch64-port-dev
mailing list