Ok, ChatGPT took us in a new era. Just had it implement a function in Pascal, asked it for an SSE asm optimization, then SSE2 SIMD x64, then asked to tweak formatting, then asked for a test spec and finally to implement the code for that spec. It's all correct or near enough.