Test suite results for test file tbs/tb0038.pp

Test run data :

Run ID:
Operating system: linux
Processor: powerpc
Version: 3.2.3
Fails/OK/Total: 44/7941/7985
Version: 3.2.3
Full version: 3.2.3-1374-g849fbd722c-unpushed
Comment: -O1 -Xd -Fl/usr/lib32 -Fd -Fl/usr/lib/gcc/powerpc64-linux-gnu/13/32 -Fd
Machine: gcc203
Category: 1
SVN revisions: fdf93c5b29:849fbd722c:ae0fe8a6a0:d1c29e6cb9
Submitter: pierre
Date: 2024/04/19 11:03:00 <> 2024/04/10
Previous run: 933760
Next run: 936192

Hide skipped tests

Hide successful 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:

tr_idruntr_oktr_skiptr_result
443648554934965FalseTrueSkipping test because for other cpu

Record count: 1

No log of 934965.

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.