hw06 - LSU EE 4720 Homework 6 Due: 20 October 2010 Links in...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right 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 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? ( b ) A reason given in class for scheduling code was to avoid stalls due to a lack of bypass paths. What reason is given in the description of the -fschedule-insn option? Problem 2: The POWER and PowerPC ISAs have alot in common, but each has instructions the other lacks. Show the gcc command line switch to compile for both, start looking in section 3.17,other lacks....
View Full Document

Ask a homework question - tutors are online