Test suite results for test file tbs/tb0105.pp

Test run data :

Free Pascal Compiler Test Suite Results

View Test suite results

Please specify search criteria:
File:
Operating system:
Processor:
Version
Date
Submitter
Machine
Comment
Limit
Cond
Category
Only failed tests
Hide skipped tests
List all tests

Test file "tbs/tb0105.pp" information:

t_id 353
t_cpu i386
t_adddate 2003/10/03
t_result 0
t_knownrunerror 0
t_opts -Aas

Detailed test run results:

Record count: 50

Total = 50

OK=3 Percentage= 6.00

Skipped=47 Percentage= 94.00

Result type Cat. Count Percentage First date Last Date
Successfully run 3 6.0 2024/05/08 08:10:00 75 2024/05/08 08:54:00 78
i386 3 100.0 2024/05/08 08:10:00 75 2024/05/08 08:54:00 78
linux 1 33.3 2024/05/08 08:18:00 43 2024/05/08 08:18:00 43
go32v2 2 66.7 2024/05/08 08:10:00 75 2024/05/08 08:54:00 78
3.3.1 3 100.0 2024/05/08 08:10:00 75 2024/05/08 08:54:00 78
Skipping test because for other cpu 43 86.0 2024/05/08 02:37:00 35 2024/05/08 09:49:00 71
m68k 1 2.3 2024/05/08 08:32:00 54 2024/05/08 08:32:00 54
sparc 3 7.0 2024/05/08 06:22:00 51 2024/05/08 07:48:00 57
powerpc 4 9.3 2024/05/08 08:09:00 65 2024/05/08 08:55:00 62
arm 1 2.3 2024/05/08 08:11:00 34 2024/05/08 08:11:00 34
x86_64 14 32.6 2024/05/08 02:37:00 35 2024/05/08 09:45:00 27
powerpc64 9 20.9 2024/05/08 08:59:00 57 2024/05/08 09:49:00 71
mips 2 4.7 2024/05/08 08:17:00 51 2024/05/08 08:39:00 43
mipsel 1 2.3 2024/05/08 08:47:00 41 2024/05/08 08:47:00 41
aarch64 6 14.0 2024/05/08 05:55:00 30 2024/05/08 09:30:00 37
riscv64 1 2.3 2024/05/08 09:30:00 32 2024/05/08 09:30:00 32
loongarch64 1 2.3 2024/05/08 08:26:00 36 2024/05/08 08:26:00 36
linux 35 81.4 2024/05/08 02:37:00 35 2024/05/08 09:49:00 71
solaris 3 7.0 2024/05/08 06:22:00 51 2024/05/08 07:48:00 57
darwin 2 4.7 2024/05/08 05:55:00 30 2024/05/08 07:02:00 28
aix 3 7.0 2024/05/08 08:09:00 65 2024/05/08 08:55:00 62
3.3.1 20 46.5 2024/05/08 03:11:00 23 2024/05/08 09:30:00 32
3.2.3 23 53.5 2024/05/08 02:37:00 35 2024/05/08 09:49:00 71
Skipping test because for other target 4 8.0 2024/05/08 06:01:00 28 2024/05/08 08:47:00 26
i386 4 100.0 2024/05/08 06:01:00 28 2024/05/08 08:47:00 26
win32 4 100.0 2024/05/08 06:01:00 28 2024/05/08 08:47:00 26
3.2.3 4 100.0 2024/05/08 06:01:00 28 2024/05/08 08:47:00 26

Source:

{ %TARGET=linux,go32v2 }
{ %CPU=i386 }
{ %OPT= -Aas }

{ Old file: tbs0124.pp }
{ Asm, problem with -Rintel switch and indexing         OK 0.99.11 (PM/PFV) }

{ this problem comes from the fact that
  L is a static variable, not a local one !!
  but the static variable symtable is the localst of the
  main procedure (PM)
  It must be checked if we are at main level or not !! }

var
 l : longint;

  procedure error;
    begin
       Writeln('Error in tbs0124');
       Halt(1);
    end;

begin
{$asmmode direct}
  asm
    movl $5,l
  end;
  if l<>5 then error;
{$asmmode att}
 asm
   movl  l,%eax
   addl  $2,%eax
   movl  %eax,l
 end;
  if l<>7 then error;
{$asmmode intel}
 { problem here is that l is replaced by BP-offset     }
 { relative to stack, and the parser thinks all wrong  }
 { because of this.                                    }
 asm
   mov eax,l
   add eax,5
   mov l,eax
 end;
 if l<>12 then error;
 Writeln('tbs0124 OK');
end.

Link to SVN view of tbs/tb0105.pp source.