mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-07 08:08:50 +00:00
Fix #2487
This commit is contained in:
@@ -514,6 +514,9 @@ gb_internal bool lb_is_matrix_simdable(Type *t) {
|
|||||||
// it's not aligned well enough to use the vector instructions
|
// it's not aligned well enough to use the vector instructions
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if ((mt->Matrix.row_count & 1) ^ (mt->Matrix.column_count & 1)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (elem->kind == Type_Basic) {
|
if (elem->kind == Type_Basic) {
|
||||||
switch (elem->Basic.kind) {
|
switch (elem->Basic.kind) {
|
||||||
|
|||||||
Reference in New Issue
Block a user