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:
Jeppe Johansen 2015-03-21 12:46:45 +00:00
parent 39594adae1
commit 5ca1740bee

View File

@ -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