~/talk

“Improving Performance Through Compiler Switches..."

Talkat CppCon 2016 · 2016-09-18..09-23· [c-and-cpp]
links:none on file
slides:none on file

Benchmarks compare GCC 6.2, Clang 3.9 and Intel 17 on streaming, reductions and a template-heavy SIMD test (and HPCG). Results show compiler flags and architecture matter: GCC emits scalar code at O2 that is ~3x slower on Skylake unless O3+arch is used; binary text size jumps ~91% O0→O2 for GCC (Clang ~41%, Intel much larger); manually using AVX FMA and non-temporal stores yields a 30% speedup that compilers often miss; fast-math effects vary and must be validated per workload.

AI-written summary · about

  1. 0:00Introduction to Compiler Flags
  2. 0:55Scientific Computing Context
  3. 2:36HPC Challenges and Power Issues
  4. 4:24Multicore Trends and Software
  5. 6:29Understanding Compiler Switches
  6. 8:42Optimization Categorization
  7. 10:44The Myths of Optimization
  8. 12:27Floating Point Arithmetic
  9. 14:29Reduction Operation Analysis
  10. 17:07Code Bloat and Runtime
  11. 21:22Under the Hood of Optimizers
  12. 24:05Fast Math and Unsafe Ops
  13. 27:57Architecture and Loop Flags
  14. 31:46SAXPY Benchmark Introduction
  15. 34:55SIMD Instructions Refresher
  16. 37:28SAXPY Performance Results
  17. 41:57Assembly Analysis
  18. 43:44Clang and Intel Performance
  19. 50:10Relative Performance Analysis
  20. 52:35Intrinsics and Non-Temporal
  21. 55:54Conclusion and Benchmarking
  22. 59:40Q&A and Best Practices
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.