| ▲ | dzaima 9 hours ago | |||||||
For vectorizing, that quote is only true for loops with dependencies between iterations, e.g. summing a list of numbers (..that's basically the only case where this really matters). For loops without such dependencies Rust should autovectorize just fine as with any other element type. | ||||||||
| ▲ | galangalalgol 6 hours ago | parent [-] | |||||||
You just create f32x4 types, the wide crate does this. Then it autovectorizes just fine. But it still isn't the best idea if you are comparing values. We had a defect due to this recently. | ||||||||
| ||||||||