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=7 Percentage= 14.00

Skipped=43 Percentage= 86.00

Result type Cat. Count Percentage First date Last Date
Successfully run 7 14.0 2024/05/08 03:25:00 27 2024/05/08 03:58:00 25
i386 7 100.0 2024/05/08 03:25:00 27 2024/05/08 03:58:00 25
linux 6 85.7 2024/05/08 03:25:00 27 2024/05/08 03:58:00 25
go32v2 1 14.3 2024/05/08 03:49:00 59 2024/05/08 03:49:00 59
3.2.3 7 100.0 2024/05/08 03:25:00 27 2024/05/08 03:58:00 25
Skipping test because for other cpu 43 86.0 2024/05/08 03:23:00 35 2024/05/08 04:10:00 0
sparc 2 4.7 2024/05/08 03:54:00 52 2024/05/08 04:02:00 39
x86_64 35 81.4 2024/05/08 03:23:00 35 2024/05/08 04:10:00 0
powerpc64 3 7.0 2024/05/08 03:37:00 60 2024/05/08 04:10:00 0
aarch64 3 7.0 2024/05/08 03:27:00 38 2024/05/08 03:58:00 39
linux 40 93.0 2024/05/08 03:23:00 35 2024/05/08 04:10:00 0
solaris 2 4.7 2024/05/08 03:54:00 52 2024/05/08 04:02:00 39
win64 1 2.3 2024/05/08 03:29:00 39 2024/05/08 03:29:00 39
3.3.1 20 46.5 2024/05/08 03:28:00 28 2024/05/08 04:10:00 0
3.2.3 23 53.5 2024/05/08 03:23:00 35 2024/05/08 04:10:00 0

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.