top of page


Beyond the GEMM: finding the CPU time XNNPACK leaves behind on Graviton
In our last post we sped up XNNPACK's 4x16c8 I8MM GEMM kernels on Arm Neoverse. We changed how they load activations (vld1q + vzip instead of per-lane loads). That gave +3–11% on TFLite int8 models with clang and 1.2–1.9x with GCC 11–15. The work is now going upstream as google/XNNPACK#11794. The compiler side of that story, loop-carried vld2q_lane tuples being spilled, became an RFC patch for GCC PR89967. A faster GEMM only helps the time spent in GEMM. So we asked the next

Rajeev Gadgil
Nov 164 min read
bottom of page

