mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-26 20:32:20 +02:00
Fix issue in is_thumb32_imm. imm<11:10> have to be non-zero meaning the rotate only works from 8 to 31. Caused 0x8000001F to be mistaken for a valid immediate.
git-svn-id: trunk@30266 -
This commit is contained in:
parent
39594adae1
commit
5ca1740bee
@ -608,7 +608,7 @@ unit cpubase;
|
|||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
result:=false;
|
result:=false;
|
||||||
for i:=1 to 31 do
|
for i:=8 to 31 do
|
||||||
begin
|
begin
|
||||||
t:=RolDWord(d,i);
|
t:=RolDWord(d,i);
|
||||||
if ((t and $FF)=t) and
|
if ((t and $FF)=t) and
|
||||||
|
Loading…
Reference in New Issue
Block a user