This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: LSU EE 4720 Homework 6 Solution Due: 20 October 2010 Links in this assignment are clickable in Adobe Reader. For the questions below refer to the gcc 4.1.2 manual, available via http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/ . Problem 1: Read the introductory text to the optimization options page, 3.10, in the GCC 4.1.2 manual, and familiarize yourself with your Web browsers search function so that you can search the rest of the page. Answer the following questions. ( a ) When optimizing gcc tries to fill branch delay slots. What option can be used to tell gcc not to fill delay slots, without affecting other optimizations? What option can be used to control how much effort gcc makes to fill delay slots? The option for not filling delay slots is-fno-delayed-branch . At least two options can be used for effort. They are--param max-delay-slot-insn-search=N and--param max-delay-slot-live-search=N , where N is a number of instructions, a higher number means more effort. These options indicate how many instructions to look at in a search to fill a branch delay slot....
View Full Document
This note was uploaded on 12/11/2011 for the course EE 4720 taught by Professor Staff during the Fall '08 term at LSU.
- Fall '08