mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 07:19:27 +02:00
m68k/cgcpu.pas, tcg68k.g_concatcopy:
use the correct flag for the copy loop: we jump back to the copy code as long as the value is positive aka BPL instead of BMI This fixes around 30 tests (it fixes a quite bit more, but now some other tests seem to be broken...) git-svn-id: trunk@23373 -
This commit is contained in:
parent
72d1b249db
commit
252744ad24
@ -1635,7 +1635,7 @@ unit cgcpu;
|
||||
begin
|
||||
{ Coldfire does not support DBRA }
|
||||
list.concat(taicpu.op_const_reg(A_SUB,S_L,1,hregister));
|
||||
list.concat(taicpu.op_sym(A_BMI,S_L,hl));
|
||||
list.concat(taicpu.op_sym(A_BPL,S_L,hl));
|
||||
end
|
||||
else
|
||||
list.concat(taicpu.op_reg_sym(A_DBRA,S_L,hregister,hl));
|
||||
|
Loading…
Reference in New Issue
Block a user