* Xtensa: shifting fixed

git-svn-id: trunk@44355 -
This commit is contained in:
florian 2020-03-24 19:42:35 +00:00
parent 014785833f
commit 2146ca3616

View File

@ -488,10 +488,10 @@ implementation
else if op in [OP_SAR,OP_SHL,OP_SHR] then
begin
if op=OP_SHL then
list.concat(taicpu.op_reg(A_SSL,src1))
list.concat(taicpu.op_reg(A_SSL,src2))
else
list.concat(taicpu.op_reg(A_SSR,src1));
list.concat(taicpu.op_reg_reg(TOpCG2AsmOp[op],dst,src2));
list.concat(taicpu.op_reg(A_SSR,src2));
list.concat(taicpu.op_reg_reg(TOpCG2AsmOp[op],dst,src1));
maybeadjustresult(list,op,size,dst);
end
else