| ▲ | wrl 9 hours ago | |||||||
ahaaa, yeah, i don't personally do any runtime switching but i hear that as a deal-breaker from other folks. it's interesting – i've found that zig tends to extend my vectors to the native width of the platform and then operate on them there. e.g. i had a `@Vector(2, f32)` that i was using as a demo and the generated assembly was promoting it to 256 bits and using avx2 instructions on it! | ||||||||
| ▲ | mitchellh 9 hours ago | parent [-] | |||||||
> 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. | ||||||||
| ||||||||