mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 04:39:28 +02:00
* fix arm(eb) load/store of smaller than register sizes
git-svn-id: trunk@10500 -
This commit is contained in:
parent
cad678840e
commit
6910b0ed40
@ -775,6 +775,8 @@ unit cgcpu;
|
||||
so : tshifterop;
|
||||
dir : integer;
|
||||
begin
|
||||
if (TCGSize2Size[FromSize] >= TCGSize2Size[ToSize]) then
|
||||
FromSize := ToSize;
|
||||
case ToSize of
|
||||
{ signed integer registers }
|
||||
OS_8,
|
||||
@ -843,6 +845,8 @@ unit cgcpu;
|
||||
so : tshifterop;
|
||||
dir : integer;
|
||||
begin
|
||||
if (TCGSize2Size[FromSize] >= TCGSize2Size[ToSize]) then
|
||||
FromSize := ToSize;
|
||||
case FromSize of
|
||||
{ signed integer registers }
|
||||
OS_8:
|
||||
|
Loading…
Reference in New Issue
Block a user