mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 13:59:28 +02:00
* take advantage of the fact that SRA reg1,x,reg2 sign extends to the upper 32 bit bits of a 64 bit register
git-svn-id: trunk@36957 -
This commit is contained in:
parent
ec141a716b
commit
049d7884cd
@ -74,10 +74,7 @@ interface
|
||||
list.concat(taicpu.op_reg_const_reg(A_SRLX,reg2,32,reg2));
|
||||
end;
|
||||
OS_S32 :
|
||||
begin
|
||||
list.concat(taicpu.op_reg_const_reg(A_SLLX,reg1,32,reg2));
|
||||
list.concat(taicpu.op_reg_const_reg(A_SRAX,reg2,32,reg2));
|
||||
end;
|
||||
list.concat(taicpu.op_reg_reg_reg(A_SRA,reg1,NR_G0,reg2));
|
||||
OS_64,
|
||||
OS_S64 :
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user