浏览代码

* support OS_32/OS_64 in cgsize2subreg for ARM MM registers to handle
records passed in MM registers

git-svn-id: trunk@41449 -

Jonas Maebe 6 年之前
父节点
当前提交
7c4e7d6bd3
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      compiler/arm/cpubase.pas

+ 3 - 0
compiler/arm/cpubase.pas

@@ -416,8 +416,11 @@ unit cpubase;
           R_MMREGISTER:
           R_MMREGISTER:
             begin
             begin
               case s of
               case s of
+                { records passed in MM registers }
+                OS_32,
                 OS_F32:
                 OS_F32:
                   cgsize2subreg:=R_SUBFS;
                   cgsize2subreg:=R_SUBFS;
+                OS_64,
                 OS_F64:
                 OS_F64:
                   cgsize2subreg:=R_SUBFD;
                   cgsize2subreg:=R_SUBFD;
                 else
                 else