High level codegen: set MM register type for vectors

This commit is contained in:
Jonas Maebe 2022-09-08 11:09:20 +02:00
parent a6c7ed5e61
commit f51798e449

View File

@ -856,7 +856,9 @@ implementation
formaldef:
result:=R_ADDRESSREGISTER;
arraydef:
if tstoreddef(def).is_intregable then
if tarraydef(def).is_hwvector then
result:=R_MMREGISTER
else if tstoreddef(def).is_intregable then
result:=R_INTREGISTER
else
result:=R_ADDRESSREGISTER;