+ support 64 bit sar on sparc64

* fix on sparc64 broken a_cmp_const_reg_label and a_cmp_reg_reg_label

git-svn-id: trunk@36661 -
This commit is contained in:
florian 2017-07-07 10:11:44 +00:00
parent 1f4d6e8a4d
commit 8401a460e5

View File

@ -695,6 +695,10 @@ implementation
list.concat(taicpu.op_reg_const_reg(A_SRA,dst,32-(tcgsize2size[size]*8),dst));
src2:=dst;
end
{$ifdef SPARC64}
{ allow 64 bit sar on sparc64 without ie }
else if size in [OS_64,OS_S64] then
{$endif SPARC64}
else if not (size in [OS_32,OS_S32]) then
InternalError(2013070306);
end;
@ -814,9 +818,8 @@ implementation
if size in [OS_64,OS_S64] then
a_jmp_cond64(list,cmp_op,l)
else
{$else SPARC64}
a_jmp_cond(list,cmp_op,l);
{$endif SPARC64}
a_jmp_cond(list,cmp_op,l);
end;
@ -827,9 +830,8 @@ implementation
if size in [OS_64,OS_S64] then
a_jmp_cond64(list,cmp_op,l)
else
{$else SPARC64}
a_jmp_cond(list,cmp_op,l);
{$endif SPARC64}
a_jmp_cond(list,cmp_op,l);
end;