From 6deb0b35b5dc2668b1181a482418ef8e6c100e03 Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 11 Mar 2014 21:25:03 +0000 Subject: [PATCH] * handle fpu_vfpv3_d16 properly for thumb2 git-svn-id: trunk@27102 - --- compiler/arm/cgcpu.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/arm/cgcpu.pas b/compiler/arm/cgcpu.pas index 96156d581d..cd122d84a4 100644 --- a/compiler/arm/cgcpu.pas +++ b/compiler/arm/cgcpu.pas @@ -4191,7 +4191,7 @@ unit cgcpu; rg[R_FPUREGISTER]:=trgcpu.create(R_FPUREGISTER,R_SUBNONE, [RS_F0,RS_F1,RS_F2,RS_F3,RS_F4,RS_F5,RS_F6,RS_F7],first_fpu_imreg,[]); - if current_settings.fputype=fpu_fpv4_s16 then + if current_settings.fputype in [fpu_fpv4_s16,fpu_vfpv3_d16] then rg[R_MMREGISTER]:=trgcpu.create(R_MMREGISTER,R_SUBFD, [RS_D0,RS_D1,RS_D2,RS_D3,RS_D4,RS_D5,RS_D6,RS_D7, RS_D8,RS_D9,RS_D10,RS_D11,RS_D12,RS_D13,RS_D14,RS_D15