mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-26 03:09:49 +02:00
* Xtensa: shifting fixed
git-svn-id: trunk@44355 -
This commit is contained in:
parent
014785833f
commit
2146ca3616
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user