Lab 10

Imagine you work for Microsloth , the 800-pound gorilla in the software industry. Your flagship product is slow, like all your other products. You have been charged with speeding it up by at least 10%. You cannot change the algorithm itself, because it is the brainchild of your boss, Gill Bates. He calls you into his office and says:

  1. Download, compile, link and run the flagship product. Note how long it takes.
  2. Make necessary modifications, but not to the algorithm itself. The assembly code produced by the compiler may offer some hints.
  3. Test your code to see the speedup.
  4. If you see no speedup, click here.