mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 08:48:08 +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
|
||||
begin
|
||||
result:=false;
|
||||
for i:=1 to 31 do
|
||||
for i:=8 to 31 do
|
||||
begin
|
||||
t:=RolDWord(d,i);
|
||||
if ((t and $FF)=t) and
|
||||
|
Loading…
Reference in New Issue
Block a user