Computer Science

Faculty of Engineering, LTH

Denna sida på svenska This page in English

Reading advice

Reading advice for Algorithm Implementation

The course is defined by the slides. Some slides contain details which I certainly not will ask on the exam, e.g. various versions of Power instructions for adding numbers or reading from memory and similar details. Principles are more important.


I will also not ask anything about SSA-form or the advanced parts (transformations of loops) on what optimizing compilers can do --- not that it is unimportant for this course but because it would be unfair since there is another course on that subject.

Below are advice on what is important to achieve a certain grade, i.e. if you wish to pass you should study at least those pages marked as 3.

3 = everybody should know this

4 = more advanced

5 = even more advanced

S = skip, e.g. due to it's covered by another course

The basic idea for what to prioritize is to understand principles and not details --- however, what is a detail to some might be a principle to me. Why programs which exhibit locality of references can exploit cache memories better is a principle --- opcodes, the number of rename registers in each register file of the 970MP, and library function parameter types and names are details. Why superscalar processors need branch prediction, rename registers, and a reorder buffer are principles.


2nd ed.1st ed.Grade
1-1121-103 3     Introductory C
83-8679-814Matrix memory allocations
125-130113-118       3      Integer numbers
130-133118-1214Floating point numbers: 2.4 - 2.4.2
137-164125-1523Power processors but no details specific to only Power!
You don't need to write assemler code on the exam.
167-179153-1663Cache memories but not the table in Section 4.5.
211-257199-2403What you can do with the tools but no details such as
commands or options. 
S6.8.2 on Helgrind, covered by EDAN26
261-324243-304SChapters 7 and 8 are covered in EDAA25 C Programming
326-355305-3344Declarations, 9.1 - 9.4.3
356-363334-34159.5 - 9.6
363-380341-35839.7 - 9.10
385-422361-398310-11 but I will not ask about e.g. precedences
423-440399-415 read only what you need for the projects
441-618417-580Sread only what you need for the projects
621-626581-588314.1 - 14.3
626-648588-608414.4 - 14.10 but see exceptions below
639-642600-603514.6.6 - 14.7
678-679638-639Scovered by EDAF35
685-690645-649316.3 - 16.4
691-722651-681Scovered by EDAN26