diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-11-05 13:39:56 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-11-05 13:40:57 -0500 |
| commit | cb8af1c6d48d5fdb26484a070b8af069c4152049 (patch) | |
| tree | 0c3baee6423b40eda3ba57e9d41041f6c9fbd3b8 /src/translate_c.cpp | |
| parent | a26e9fa7238e972301f761db80434fa0205d1016 (diff) | |
| parent | 9a08de93b64a332af9f581ef15b208e153fa19f0 (diff) | |
| download | zig-cb8af1c6d48d5fdb26484a070b8af069c4152049.tar.gz zig-cb8af1c6d48d5fdb26484a070b8af069c4152049.zip | |
Merge branch 'vector-element-access'
This introduces the concept of vector index being part of a pointer
type. This avoids vectors having well-defined in-memory layout, and
allows vectors of any integer bit width to work the same way.
When a vector is indexed with a scalar, this is vector element access,
which this branch implements. When a vector is indexed with a vector,
this is gather/scatter, which is not implemented in this branch.
closes #3575
closes #3580
Diffstat (limited to 'src/translate_c.cpp')
0 files changed, 0 insertions, 0 deletions
