leastfixedpoint

Tony's Link Log

Links tagged with โ€œbcs1450โ€

All tags.

Links relevant to students in the Computer Architecture course (BCS1450) at Maastricht University.

Atom 1.0 feed Atom feed for links tagged with bcs1450

Links added 12 July 2026

Quadrupling code performance with a "useless" if.

Alisa Sireneva (12 July 2026)
๐Ÿ”— https://purplesyringa.moe/blog/quadrupling-code-performance-with-a-useless-if/
#bcs #bcs1450

An interesting trick for increasing instruction-level parallelism by introducing a spurious-seeming conditional to break a dependency chain:

If we could tell the CPU to predict that j stays intact, the loop would become throughput-bound rather than latency-bound. While we donโ€™t have direct control over address prediction, we can simulate this with branch prediction: [โ€ฆ]

See also Matt Godboltโ€™s talk about the fundamental performance features of modern CPUs.

Links added 10 July 2026

Compiler Explorer.

Matt Godbolt (n.d.; project 2012โ€“)
๐Ÿ”— https://godbolt.org/
#programming-languages #bcs2220 #bcs1450 #bcs

An interactive tool for seeing how various compilers (GCC, Clang, MSVC, rustc, etc.) produce machine code for various architectures at various optimisation levels.

What Every Programmer Should Know about How CPUs Work.

Matt Godbolt (21 October 2024)
๐Ÿ”— https://www.youtube.com/watch?v=-HNpim5x-IE
#bcs1450 #bcs #video

A very good talk about the fundamentals of high-performance CPUs, plus tooling for experimenting with and measuring low-level performance characteristics, from Matt Godbolt, who also runs the Compiler Explorer.

Presented at GOTO Chicago 2024.