mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
Sema: make most instructions vector-agnostic
Made most `Value` functions require a `Type`. If the provided type is a vector, then automatically vectorize the operation and return with another vector. The Sema side can then automatically become vectorized with minimal changes. There are already a few manually vectorized instructions, but we can simplify those later.
This commit is contained in:
parent
3f4676901a
commit
afdcfb005e
2 changed files with 1006 additions and 278 deletions
513
src/Sema.zig
513
src/Sema.zig
771
src/value.zig
771
src/value.zig
Loading…
Add table
Add a link
Reference in a new issue