Readings (from BOH3)
Section 2.1 (you can skip 2.1.7 for now, on
bitwise operations, and 2.1.9 on shift operations)
Section 2.2 (don't sweat the B2Uw notation for now, though all it's doing
is formally defining the conversion from strings of bits to integers)
Section 2.3 on integer arithmetic
Section 2.4 on floating-point arithmetic
Section 3.1
Section 3.2
Section 3.3
Section 3.4
Section 3.5
Study guide
3.6: Conditional execution (not on midterm)
branch-prediction examples:
ssort() vs isort() in Sort.java
Pipeline stages (RISC; some intel cpus have 20-stage pipelines)
dofact.c: there is only one label
while.c: Note that the condition has been moved to the bottom. Does this improve anything? This is an example of the jump-to-middle format.
whilefact.c
whilefact.Og.s: jump-to-middle
whilefact.O1.s: guarded-do example
forfact.c: jump-to-middle.