mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 18:07:56 +02:00
* set operand size properly for STX*
This commit is contained in:
parent
ffaeec243a
commit
47d2395110
@ -1061,15 +1061,15 @@ implementation
|
||||
OS_8:
|
||||
list.concat(taicpu.op_reg_reg(A_UXTB,reg2,makeregsize(reg1,OS_64)));
|
||||
OS_S8:
|
||||
list.concat(taicpu.op_reg_reg(A_SXTB,reg2,makeregsize(reg1,OS_64)));
|
||||
list.concat(taicpu.op_reg_reg(A_SXTB,reg2,makeregsize(reg1,OS_32)));
|
||||
OS_16:
|
||||
list.concat(taicpu.op_reg_reg(A_UXTH,reg2,makeregsize(reg1,OS_64)));
|
||||
OS_S16:
|
||||
list.concat(taicpu.op_reg_reg(A_SXTH,reg2,makeregsize(reg1,OS_64)));
|
||||
list.concat(taicpu.op_reg_reg(A_SXTH,reg2,makeregsize(reg1,OS_32)));
|
||||
OS_32:
|
||||
list.concat(taicpu.op_reg_reg_const_const(A_UBFIZ,makeregsize(reg2,OS_64),makeregsize(reg1,OS_64),0,32));
|
||||
OS_S32:
|
||||
list.concat(taicpu.op_reg_reg(A_SXTW,reg2,makeregsize(reg1,OS_64)));
|
||||
list.concat(taicpu.op_reg_reg(A_SXTW,reg2,makeregsize(reg1,OS_32)));
|
||||
else
|
||||
internalerror(2024070701);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user