* fixed a_load_subsetreg_reg for loading signed fields (EXTRDI results

in an unsigned number)

git-svn-id: trunk@3739 -
This commit is contained in:
Jonas Maebe 2006-05-29 20:26:06 +00:00
parent eebef025c2
commit b784b2f39e

View File

@ -898,7 +898,7 @@ begin
a_load_reg_reg(list, subsetsize, tosize, subsetreg, destreg);
// extend sign (actually only required for signed subsets...) and if that subset isn't >= real size
a_load_reg_reg(list, subsetsize, tosize, destreg, destreg);
a_load_reg_reg(list, tcgsize2unsigned[subsetsize], tosize, destreg, destreg);
end;
procedure tcgppc.a_load_reg_subsetreg(list : TAsmList; fromsize: tcgsize; subsetregsize,