Comment Comment by jeffbee It's not even scalar at -O1.https://godbolt.org/z/TRS4W6It generates vector instructions for all k8-like architectures, with wider instructions starting from -march=sandybridge. parent jeffbee 6 years ago
https://godbolt.org/z/TRS4W6
It generates vector instructions for all k8-like architectures, with wider instructions starting from -march=sandybridge.