Next: Instruction scheduling Up: Chapter1 Previous: Interchange loops

Examine the inner loop

This is the innermost loop after strength reduction and induction variable elimination:

L113:
   ldd [%o0],%f2
   fmuld %f6,%f2,%f2
   ldd [%o1],%f4     ! uses res of prev instn
   faddd %f2,%f4,%f2 ! uses res of prev instn
   std %f2,[%o1]     ! uses res of prev instn
   add %o0,8,%o0
   cmp %o0,%o2
   blu L113
   add %o1,8,%o1     ! (delay slot)


Paul H J Kelly Thu Feb 6 22:02:49 GMT 1997