mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-23 09:49:26 +02:00
* 16/8-bit alu fix in thlcg2ll.location_force_reg for the 32->64 conversion of LOC_CONSTANT sources
git-svn-id: trunk@27654 -
This commit is contained in:
parent
88df284423
commit
3e308e0ad7
@ -1071,7 +1071,7 @@ implementation
|
|||||||
if l.loc=LOC_CONSTANT then
|
if l.loc=LOC_CONSTANT then
|
||||||
begin
|
begin
|
||||||
if (longint(l.value)<0) then
|
if (longint(l.value)<0) then
|
||||||
cg.a_load_const_reg(list,OS_32,aint($ffffffff),hregisterhi)
|
cg.a_load_const_reg(list,OS_32,longint($ffffffff),hregisterhi)
|
||||||
else
|
else
|
||||||
cg.a_load_const_reg(list,OS_32,0,hregisterhi);
|
cg.a_load_const_reg(list,OS_32,0,hregisterhi);
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user