8:00:03hayleySeems neither likes conditionals at all, even though vectorising them seems simple. "if (a[n] == g) a[n]++;" (which is part of my code for promoting generations) also is entirely scalar, and takes a lot of time.
10:44:53hayleyI also have to pass basically everything in the loop as an argument; GCC gives up on globals seemingly. But now I have one loop vectorised, which helps a bit.
10:53:10hayleyw.r.t the godbolt link - would help if I used the index a[i] instead of the plain wrong a[n]; but that doesn't affect vectorisation.
13:20:01hayleyOkay, I can get pretty code for promotion and resetting line marks, but not for object marks. Can't say it's clear why; Clang says it can't determine the array length.