Are literals splatted in SIMD Operations?
Is there any performance difference if I write this
instead of this?
In other words, is the literal
instead of this?
In other words, is the literal
2 transformed into a splatted SIMD vector at runtime every time multiply_by_two is called? Or is this something that the compiler is able to optimize?