mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-01 23:49:28 +01:00
* SPARC: r26561 caused a_op_const_reg_reg used for zero-extending 8-bit values to be optimized away. Fixed by replacing it with an explicit instruction.
git-svn-id: trunk@26566 -
This commit is contained in:
parent
0736bf4ded
commit
534ecbda9f
@ -510,7 +510,7 @@ implementation
|
||||
(tosize = OS_16)) then
|
||||
case tosize of
|
||||
OS_8 :
|
||||
a_op_const_reg_reg(list,OP_AND,tosize,$ff,reg1,reg2);
|
||||
list.concat(taicpu.op_reg_const_reg(A_AND,reg1,$ff,reg2));
|
||||
OS_16 :
|
||||
begin
|
||||
list.concat(taicpu.op_reg_const_reg(A_SLL,reg1,16,reg2));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user