Lecture 11: Out-of-Order Processing
5.7-5.12 of textbook (CS:APP)

Sample code used in lecture to illustrate
some machine-dependent optimizations

combine.c -- simple illustration of various optimizations
combine.s -- assembly code used in lecture (gcc -O1)

This is a slightly simplified version of the code
in the book.  It also just uses addition; modify
yourself for multiplication or floating point operations.

Compiled for x86-64 with various optimization levels
<n> = 0, 1, or 2.
Compare the assembly files optimize<n>.s to see if
the hand-optimization was applied by the compiler

--------------------------------------------------
gcc -O<n> -S -o combine<n>.s combine.c
--------------------------------------------------
