hw06_sol

hw06_sol - LSU EE 4720 Homework 6 Solution Due: 20 October...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the 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.

Page1 / 2

hw06_sol - LSU EE 4720 Homework 6 Solution Due: 20 October...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online