News for hackers. Stuff that matters.
Re:The Death of Optimizing Compilers by Animats on Sunday March 15, 2015 @12:35AM (#9205372)
Write a matrix multiply. Or a linear equation solver.
Re:The Death of Optimizing Compilers by pcwalton on Thursday March 19, 2015 @05:48PM (#9234825)
The bounds checks for matrix multiplication over fixed length arrays are completely optimized out by LLVM, and LLVM will also optimize the bounds checks for non-fixed-length arrays in many cases. The slice length is an SSA value, so it's subject to constant propagation and SCCP.