diff options
| author | gingerBill <bill@gingerbill.org> | 2022-05-25 17:26:18 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-05-25 17:26:18 +0100 |
| commit | b032d5af87ebe8d9dee28698cfa570d3628e58e5 (patch) | |
| tree | 6d2f1a90d597a3909430c8a4c6002b1e586e76e7 /src/types.cpp | |
| parent | d8e77cd738844b172d1741b1b1d3d4376efd17b5 (diff) | |
Make `#simd` an opaque type
Diffstat (limited to 'src/types.cpp')
| -rw-r--r-- | src/types.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types.cpp b/src/types.cpp index c79b8e652..d5ba1a531 100644 --- a/src/types.cpp +++ b/src/types.cpp @@ -3446,7 +3446,7 @@ i64 type_align_of_internal(Type *t, TypePath *path) { case Type_SimdVector: { // IMPORTANT TODO(bill): Figure out the alignment of vector types - return gb_clamp(next_pow2(type_size_of_internal(t, path)), 1, build_context.max_align); + return gb_clamp(next_pow2(type_size_of_internal(t, path)), 1, build_context.max_align*2); } case Type_Matrix: |