packed_simd icon indicating copy to clipboard operation
packed_simd copied to clipboard

Expand Machine Code Analysis page in the performance guide

Open GabrielMajeri opened this issue 5 years ago • 1 comments

This is a tracking issue for expanding upon the machine code analysis part of the perf guide.

To do

  • [ ] how to emit assembly from Rust code (e.g. cargo-asm)
  • [ ] how to emit IACA / llvm-mca markers with inline assembly
  • [ ] give an example on how to intepret results, in the context of one of the example benchmarks

References

GabrielMajeri avatar Sep 12 '18 11:09 GabrielMajeri

I made a crate last year that makes using IACA slightly easier: https://github.com/hdevalence/iaca-marker-macros

hdevalence avatar Sep 13 '18 17:09 hdevalence