* 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:
sergei 2014-01-22 21:37:37 +00:00
parent 0736bf4ded
commit 534ecbda9f

View File

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