CS 6960-001 Fall 2016
Homework 1
Skip To Content
Dashboard
  • Login
  • Dashboard
  • Calendar
  • Inbox
  • History
  • Help
Close
  • My Dashboard
  • CS 6960-001 Fall 2016
  • Assignments
  • Homework 1
Fall 2016
  • Home
  • Smart Search
  • Assignments
  • Files
  • Syllabus
  • Collaborations
  • Media Gallery
  • My Media
  • Office 365
  • Adobe Creative Cloud
  • Zoom
  • Course Feedback
  • Course Materials
  • Lucid (Whiteboard)

Homework 1

  • Due Aug 25, 2016 by 1:50pm
  • Points 12
  • Submitting a text entry box

1.

On any machine of your choice, checkout the latest LLVM, Clang, and Compiler-RT sources from subversion following the directions here:

http://clang.llvm.org/get_started.html

Configure for a Release build. Build LLVM and Clang.

HANDIN: the output of "clang -v" for the version of clang you built

2.

Checkout the latest GCC sources from subversion. Configure and build GCC. Follow the instructions here: 

https://gcc.gnu.org/install/index.html

HANDIN: the output of "gcc -v" for the version of gcc you built

3.

Using the GCC explorer:

http://gcc.godbolt.org/

Select x86-64 clang 3.8 as the compiler. Write a C or C++ function that, when compiled at -O2, isn't fully optimized. Describe (in a comment below the source code) the missed optimization and also provide the fully optimized assembly code that the compiler should have generated.

HANDIN: a shortlink into GCC explorer so I can look at your code, explanation, and optimal assembly

4.

repeat #3, but with GCC 6.1 as the compiler. Make sure the C or C++ function is different from the one you hand in for #3

1472154600 08/25/2016 01:50pm
Additional Comments:
Rating max score to > pts

Rubric

 
 
 
 
 
 
 
     
Can't change a rubric once you've started using it.  
Find a Rubric
Find Rubric
Title
You've already rated students with this rubric. Any major changes could affect their assessment results.
Title
Criteria Ratings Pts
Edit criterion description Delete criterion row
This criterion is linked to a Learning Outcome Description of criterion
threshold: 5 pts
Edit rating Delete rating
5 to >0 pts
Full Marks
blank
Edit rating Delete rating
0 to >0 pts
No Marks
blank_2
This area will be used by the assessor to leave comments related to this criterion.
pts
  / 5 pts
--
Additional Comments
Total Points: 5 out of 5