mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-08 16:48:18 +00:00
Fix #2274
This commit is contained in:
@@ -510,6 +510,11 @@ gb_internal bool lb_is_matrix_simdable(Type *t) {
|
||||
break;
|
||||
}
|
||||
|
||||
if (type_align_of(t) < 16) {
|
||||
// it's not aligned well enough to use the vector instructions
|
||||
return false;
|
||||
}
|
||||
|
||||
if (elem->kind == Type_Basic) {
|
||||
switch (elem->Basic.kind) {
|
||||
case Basic_f16:
|
||||
|
||||
Reference in New Issue
Block a user