0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00

implement vector addition with safety checking

this would work if @llvm.sadd.with.overflow supported
vectors, which it does in trunk. but it does not support
them in llvm 7 or even in llvm 8 release branch.

so the next commit after this will have to do a different
strategy, but when llvm 9 comes out it may be worth coming
back to this one.
This commit is contained in:
Andrew Kelley 2019-02-09 14:44:33 -05:00
commit 0a7bdc0077
No known key found for this signature in database
GPG key ID: 7C5F548F728501A9
3 changed files with 95 additions and 68 deletions