mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Mon Mar 11, 2013 10:45 am Post subject: |
|
|
| Quote: | | If that is true of what advantage is unrolling? | Besides the reduction in branching, which can be quite costly, the compiler can better perform instruction scheduling, memory prefetching (which benefits caching), and may be able to eliminate repeated instrucitons.
- Mat |
|