* 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:
florian 2017-08-20 17:20:37 +00:00
parent ec141a716b
commit 049d7884cd

View File

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