Test suite results for test file webtbs/tw1066b.pp

Test run data :

Run ID:
Operating system: linux
Processor: aarch64
Version: 3.3.1
Fails/OK/Total: 33/9212/9245
Version: 3.3.1
Full version: 3.3.1-15587-g490a8c68ea-unpushed
Comment: -XR/home/muller/sys-root/aarch64-linux -Xd -Xr/home/muller/sys-root/aarch64-linux
Machine: cfarm13
Category: 1
SVN revisions: 490a8c68ea:8b7dbb81b1:3f8bbd3b00:2f9ed0576e
Submitter: muller
Date: 2024/04/19 10:55:00
Previous run: 934300
Next run: 935633

Hide skipped tests

Hide successful tests

Test file "webtbs/tw1066b.pp" information:

t_id 755
t_cpu i386
t_adddate 2003/10/03
t_result 0
t_knownrunerror 0

Detailed test run results:

tr_idruntr_oktr_skiptr_result
443626478934959FalseTrueSkipping test because for other cpu

Record count: 1

No log of 934959.

Source:

{ %CPU=i386 }
{----------------cut here----------------}

{$asmmode intel}
{$inline on}

var
 somevar:longint;


procedure wastememory(x,y,color:longint);assembler;inline;
asm
mov edi,x
mov eax,y
cmp edi,0
jl @@wastememoryend
cmp eax,0
jl @@wastememoryend
cmp edi,1023
jg @@wastememoryend
cmp eax,767
jg @@wastememoryend
shl eax,12
mov ebx,color
add eax,somevar
mov [eax+edi*4],ebx
@@wastememoryend:
end ['eax','ebx','edi'];


procedure wastememory2(y,x1,x2,color:longint);assembler;inline;
asm
mov edi,x1
mov ecx,x2
mov eax,y
cmp edi,ecx
jle @@wastememory2dirok
xchg edi,ecx
@@wastememory2dirok:
cmp eax,0
jl @@endwastememory2
cmp eax,767
jg @@endwastememory2
cmp ecx,0
jl @@endwastememory2
cmp edi,1023
jg @@endwastememory2
cmp edi,0
jge @@wastememory2x1ok
mov edi,0
@@wastememory2x1ok:
cmp ecx,1023
jle @@wastememory2x2ok
mov ecx,1023
@@wastememory2x2ok:
sub ecx,edi
shl eax,12
inc ecx
add eax,somevar
cld
lea edi,[eax+4*edi]
mov eax,color
rep stosd
@@endwastememory2:
end ['eax','ecx','edi'];


function str(w:word):string;
var tmp:string;
begin
system.str(w,tmp);
str:=tmp;
end;

function str(l:longint):string;
var tmp:string;
begin
system.str(l,tmp);
str:=tmp;
end;


procedure testcompiler(x0,y0,r,color:longint);
var x,y:longint;
begin
for x:=0 to trunc(r*(sqrt(2)/2))+1 do
 begin
 y:=round(sqrt(r*r-x*x));
 wastememory(x0+x,y0+y,color);
 wastememory(x0-x,y0+y,color);
 wastememory(x0+x,y0-y,color);
 wastememory(x0-x,y0-y,color);
 wastememory(x0+y,y0+x,color);
 wastememory(x0-y,y0+x,color);
 wastememory(x0+y,y0-x,color);
 wastememory(x0-y,y0-x,color);
 end;
end;


procedure testcompiler2(x0,y0,r,color:longint);
var x,y:longint;
begin
for x:=0 to trunc(r*(sqrt(2)/2))+1 do
 begin
 y:=round(sqrt(r*r-x*x));
 wastememory2(y0+y,x0-x,x0+x,color);
 wastememory2(y0-y,x0-x,x0+x,color);
 wastememory2(y0+x,x0-y,x0+y,color);
 wastememory2(y0-x,x0-y,x0+y,color);
 end;
end;


begin

end.

Link to SVN view of webtbs/tw1066b.pp source.