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=17 Percentage= 34.00

Skipped=33 Percentage= 66.00

Result type Cat. Count Percentage First date Last Date
Successfully run 17 34.0 2024/05/18 01:39:00 26 2024/05/18 02:15:00 0
i386 17 100.0 2024/05/18 01:39:00 26 2024/05/18 02:15:00 0
linux 15 88.2 2024/05/18 01:39:00 26 2024/05/18 02:15:00 0
win32 1 5.9 2024/05/18 02:04:00 34 2024/05/18 02:04:00 34
go32v2 1 5.9 2024/05/18 01:45:00 54 2024/05/18 01:45:00 54
3.3.1 10 58.8 2024/05/18 01:40:00 43 2024/05/18 02:15:00 0
3.2.3 7 41.2 2024/05/18 01:39:00 26 2024/05/18 02:02:00 35
Skipping test because for other cpu 33 66.0 2024/05/18 01:41:00 26 2024/05/18 02:15:00 0
x86_64 30 90.9 2024/05/18 01:41:00 26 2024/05/18 02:14:00 0
aarch64 3 9.1 2024/05/18 01:46:00 37 2024/05/18 02:15:00 0
linux 33 100.0 2024/05/18 01:41:00 26 2024/05/18 02:15:00 0
3.3.1 22 66.7 2024/05/18 01:43:00 15 2024/05/18 02:15:00 0
3.2.3 11 33.3 2024/05/18 01:41:00 26 2024/05/18 02:13:00 35

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.