3 ms·
> i've found that zig tends to extend my vectors to the native width of the platform and then operate on them there oh interesting. though i suspect that isn't
by mitchellh 2mo ago
> i've found that zig tends to extend my vectors to the native width of the platform and then operate on them there
oh interesting. though i suspect that isn't zig and thats llvm.
- wrl 2mo agolooks like it – compiled as debug (native linux x64 backend) gives me the vector type i've asked for. release modes extend to the "native" width. this is testing in isolation as well, could be that in the midst of other vector code it changes things. llvm definitely does a great job optimising tightly-written vector code to be even faster.