Fix decoding of `AMX_TILE` instructions with zero-width memory operands
@@ -1168,7 +1168,8 @@ static void ZydisSetOperandSizeAndElementInfo(ZydisDecoderContext* context,
operand->element_type = ZYDIS_ELEMENT_TYPE_INT;
} else
{
- ZYAN_ASSERT(definition->size[context->eosz_index]);
+ ZYAN_ASSERT(definition->size[context->eosz_index] ||
+ (instruction->meta.category == ZYDIS_CATEGORY_AMX_TILE));
operand->size = definition->size[context->eosz_index] * 8;
}
break;
