mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 09:26:15 +02:00
* fixed 64-bit AND/OR/XOR in tcgz80.a_op_reg_reg_internal
git-svn-id: branches/z80@45005 -
This commit is contained in:
parent
e7f707cd78
commit
3d89d72621
@ -856,11 +856,11 @@ unit cgcpu;
|
|||||||
getcpuregister(list,NR_A);
|
getcpuregister(list,NR_A);
|
||||||
for i:=1 to tcgsize2size[size] do
|
for i:=1 to tcgsize2size[size] do
|
||||||
begin
|
begin
|
||||||
|
if i<>1 then
|
||||||
|
NextSrcDst;
|
||||||
a_load_reg_reg(list,OS_8,OS_8,dst,NR_A);
|
a_load_reg_reg(list,OS_8,OS_8,dst,NR_A);
|
||||||
list.concat(taicpu.op_reg_reg(topcg2asmop[op],NR_A,src));
|
list.concat(taicpu.op_reg_reg(topcg2asmop[op],NR_A,src));
|
||||||
a_load_reg_reg(list,OS_8,OS_8,NR_A,dst);
|
a_load_reg_reg(list,OS_8,OS_8,NR_A,dst);
|
||||||
if i<>tcgsize2size[size] then
|
|
||||||
NextSrcDst;
|
|
||||||
end;
|
end;
|
||||||
ungetcpuregister(list,NR_A);
|
ungetcpuregister(list,NR_A);
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user