瀏覽代碼

* 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 年之前
父節點
當前提交
820d2f7135
共有 1 個文件被更改,包括 3 次插入0 次删除
  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