Add missing size postfix to VNEG VFP instruction.

git-svn-id: branches/laksen/armiw@29436 -
This commit is contained in:
Jeppe Johansen 2015-01-11 13:40:35 +00:00
parent 2ac11e4b82
commit db401f0371

View File

@ -411,6 +411,7 @@ implementation
procedure tarmunaryminusnode.second_float;
var
op: tasmop;
pf: TOpPostfix;
begin
secondpass(left);
case current_settings.fputype of
@ -432,8 +433,14 @@ implementation
location:=left.location;
if (left.location.loc=LOC_CMMREGISTER) then
location.register:=cg.getmmregister(current_asmdata.CurrAsmList,location.size);
current_asmdata.CurrAsmList.concat(taicpu.op_reg_reg(A_VNEG,
location.register,left.location.register));
if (tfloatdef(left.resultdef).floattype=s32real) then
pf:=PF_F32
else
pf:=PF_F64;
current_asmdata.CurrAsmList.concat(setoppostfix(taicpu.op_reg_reg(A_VNEG,
location.register,left.location.register), pf));
end;
fpu_fpv4_s16:
begin