Forráskód Böngészése

* support OS_32/OS_64 in AArch64 cgsize2subreg() for MM registers (can happen
for records with floating point fields with the LLVM code generator)

git-svn-id: trunk@40570 -

Jonas Maebe 6 éve
szülő
commit
820d2f7135
1 módosított fájl, 3 hozzáadás és 0 törlés
  1. 3 0
      compiler/aarch64/cpubase.pas

+ 3 - 0
compiler/aarch64/cpubase.pas

@@ -368,8 +368,11 @@ unit cpubase;
           R_MMREGISTER:
             begin
               case s of
+                { records }
+                OS_32,
                 OS_F32:
                   cgsize2subreg:=R_SUBMMS;
+                OS_64,
                 OS_F64:
                   cgsize2subreg:=R_SUBMMD;
                 else