Test suite results for test file tbs/tb0038.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/tb0038.pp" information:

t_id 297
t_cpu i386
t_adddate 2003/10/03
t_result 0
t_knownrunerror 0
t_note Note: This test requires an installed Nasm

Detailed test run results:

Record count: 50

Total = 50

OK=4 Percentage= 8.00

Skipped=46 Percentage= 92.00

Result type Cat. Count Percentage First date Last Date
Successfully run 4 8.0 2024/10/19 08:55:00 60 2024/10/19 10:08:00 202
i386 4 100.0 2024/10/19 08:55:00 60 2024/10/19 10:08:00 202
linux 2 50.0 2024/10/19 09:40:00 209 2024/10/19 10:08:00 202
go32v2 2 50.0 2024/10/19 08:55:00 60 2024/10/19 09:39:00 55
3.3.1 4 100.0 2024/10/19 08:55:00 60 2024/10/19 10:08:00 202
Skipping test because for other cpu 46 92.0 2024/10/19 07:29:00 50 2024/10/19 13:36:00 24
m68k 2 4.3 2024/10/19 07:29:00 50 2024/10/19 09:50:00 39
sparc 4 8.7 2024/10/19 08:05:00 45 2024/10/19 11:16:00 40
powerpc 5 10.9 2024/10/19 08:35:00 146 2024/10/19 12:56:00 67
arm 2 4.3 2024/10/19 09:36:00 32 2024/10/19 10:03:00 32
x86_64 13 28.3 2024/10/19 08:27:00 30 2024/10/19 13:36:00 24
powerpc64 6 13.0 2024/10/19 08:43:00 65 2024/10/19 10:49:00 49
mips 2 4.3 2024/10/19 08:18:00 121 2024/10/19 09:54:00 35
mipsel 2 4.3 2024/10/19 08:27:00 188 2024/10/19 10:35:00 142
aarch64 3 6.5 2024/10/19 08:15:00 27 2024/10/19 09:32:00 28
sparc64 4 8.7 2024/10/19 08:23:00 137 2024/10/19 11:33:00 117
riscv64 1 2.2 2024/10/19 10:25:00 33 2024/10/19 10:25:00 33
loongarch64 2 4.3 2024/10/19 09:45:00 25 2024/10/19 10:17:00 30
linux 32 69.6 2024/10/19 07:29:00 50 2024/10/19 11:38:00 25
solaris 8 17.4 2024/10/19 13:22:00 24 2024/10/19 13:36:00 24
aix 6 13.0 2024/10/19 08:40:00 51 2024/10/19 12:56:00 67
3.3.1 23 50.0 2024/10/19 08:05:00 45 2024/10/19 12:56:00 67
3.2.3 23 50.0 2024/10/19 07:29:00 50 2024/10/19 13:36:00 24

Source:

{ %CPU=i386 }
{ %TARGET=go32v2,win32,linux }
{ %NOTE=This test requires an installed Nasm }

{ Old file: tbs0043.pp }
{  shows assembler nasm output fpu opcodes problem     OK 0.99.6 (PFV) }

{$ifdef Unix}
  {$output_format nasmelf}
{$endif}
{$ifdef go32v2}
  {$output_format nasmcoff}
{$endif}
{$ifdef win32}
  {$output_format nasmwin32}
{$endif}

{$asmmode att}

{ THE OUTPUT is incorrect but the }
{ parsing is correct.             }
{ under nasm output only.         }
{ works correctly under tasm/gas  }
{ other problems occur with other }
{ things in math.inc              }
{ pp -TDOS -Ratt -Anasm bug0043.pp }
    procedure frac;

      begin
         asm
            subl $16,%esp
            fnstcw -4(%ebp)
            fwait                    { unknown instruction }
            movw -4(%ebp),%cx
            orw $0x0c3f,%cx
            movw %cx,-8(%ebp)
            fldcw -8(%ebp)
            fwait                    { unknown instruction }
            fldl 8(%ebp)
            frndint
            fsubl 8(%ebp)
            fabsl
            fclex
            fldcw -4(%ebp)
            leave
            ret $8
         end ['ECX'];
      end;

Begin
end.

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