mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-20 06:49:18 +02:00
* BsrX(0) should return 255 instead of $ffffffff
git-svn-id: trunk@22316 -
This commit is contained in:
parent
d67af82228
commit
5facc6ad5e
@ -1521,6 +1521,7 @@ unit cgcpu;
|
|||||||
begin
|
begin
|
||||||
list.Concat(taicpu.op_reg_reg(A_CLZ,dst,src));
|
list.Concat(taicpu.op_reg_reg(A_CLZ,dst,src));
|
||||||
list.Concat(taicpu.op_reg_reg_const(A_RSB,dst,dst,31));
|
list.Concat(taicpu.op_reg_reg_const(A_RSB,dst,dst,31));
|
||||||
|
list.Concat(taicpu.op_reg_reg_const(A_AND,dst,dst,255));
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
internalerror(201209041);
|
internalerror(201209041);
|
||||||
|
Loading…
Reference in New Issue
Block a user