▲ | lukaslalinsky 5 days ago | |||||||||||||||||||||||||
I really wish Zig decided to add SIMD intrisics. There are many SIMD algorithms that can be done, but you have to switch back to C for those, because they depend on operations outside of what LLVM provides for vectors. | ||||||||||||||||||||||||||
▲ | AndyKelley 5 days ago | parent | next [-] | |||||||||||||||||||||||||
Missing SIMD functionality is welcome issue reports. Obviously we're not going to copy the C intrinsics directly since Zig SIMD is portable, but everything should be expressible. It doesn't really have to do with what operations LLVM provides for vectors. LLVM supports all the SIMD intrinsics of clang, and LLVM is one of many backends of zig. | ||||||||||||||||||||||||||
▲ | steeve 5 days ago | parent | prev [-] | |||||||||||||||||||||||||
Like what? You can also directly call LLVM intrinsics in case this doesn’t work | ||||||||||||||||||||||||||
|