Mettle

inline-asmThe loop body contains inline assembly

Reported by --explain after a verdict.

mettle explain inline-asm

The compiler treats an asm block as opaque. It cannot know which registers or memory the block touches, so it cannot prove the lanes are independent.

Fix: move the asm out of the loop, or accept the scalar loop. Hand-written asm in a hot loop is usually already the vector code you wanted.

Related