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

t_id 907
t_cpu i386
t_adddate 2003/10/03
t_result 0
t_knownrunerror 0

Detailed test run results:

Record count: 50

Total = 50

OK=6 Percentage= 12.00

Skipped=44 Percentage= 88.00

Result type Cat. Count Percentage First date Last Date
Successfully run 6 12.0 2024/10/19 08:55:00 60 2024/10/19 11:13:00 63
i386 6 100.0 2024/10/19 08:55:00 60 2024/10/19 11:13:00 63
linux 2 33.3 2024/10/19 09:40:00 209 2024/10/19 10:08:00 202
go32v2 4 66.7 2024/10/19 08:55:00 60 2024/10/19 11:13:00 63
3.3.1 6 100.0 2024/10/19 08:55:00 60 2024/10/19 11:13:00 63
Skipping test because for other cpu 44 88.0 2024/10/19 08:15:00 27 2024/10/19 13:36:00 24
m68k 2 4.5 2024/10/19 09:50:00 39 2024/10/19 10:22:00 40
sparc 2 4.5 2024/10/19 09:01:00 54 2024/10/19 11:16:00 40
powerpc 7 15.9 2024/10/19 08:40:00 51 2024/10/19 13:26:00 65
arm 2 4.5 2024/10/19 09:36:00 32 2024/10/19 10:03:00 32
x86_64 10 22.7 2024/10/19 08:27:00 30 2024/10/19 13:36:00 24
powerpc64 8 18.2 2024/10/19 08:43:00 65 2024/10/19 11:23:00 69
mips 1 2.3 2024/10/19 09:54:00 35 2024/10/19 09:54:00 35
mipsel 1 2.3 2024/10/19 10:35:00 142 2024/10/19 10:35:00 142
aarch64 5 11.4 2024/10/19 08:15:00 27 2024/10/19 09:32:00 28
sparc64 3 6.8 2024/10/19 08:33:00 120 2024/10/19 11:33:00 117
riscv64 1 2.3 2024/10/19 11:10:00 26 2024/10/19 11:10:00 26
loongarch64 2 4.5 2024/10/19 09:45:00 25 2024/10/19 10:17:00 30
linux 30 68.2 2024/10/19 08:15:00 27 2024/10/19 11:38:00 25
solaris 6 13.6 2024/10/19 13:22:00 24 2024/10/19 13:36:00 24
aix 8 18.2 2024/10/19 08:40:00 51 2024/10/19 13:26:00 65
3.3.1 24 54.5 2024/10/19 08:27:00 30 2024/10/19 13:26:00 65
3.2.3 20 45.5 2024/10/19 08:15:00 27 2024/10/19 13:36:00 24

Source:

{ %cpu=i386 }

{ Source provided for Free Pascal Bug Report 2158 }
{ Submitted by "Maxim Voronov" on  2002-10-03 }
{ e-mail: m_v_voronov@mail.ru }

Program test;

{$asmmode intel}
  Function GetXminusYintel(x,y : extended):extended; assembler;
      asm
        fld     x
        fld     y
        fsubp   st(1),st(0)
      end;

{$asmmode att}
  Function GetXminusYatt(x,y : extended):extended; assembler;
      asm
        fld     y
        fld     x
        fsubp   %st,%st(1)
      end;

  var
    eatt,eintel : extended;

  Begin
    writeln;

    eintel:= GetXminusYintel(2.0,1.0);
    writeln(eintel);
    eatt:= GetXminusYatt(2.0,1.0);
    writeln(eatt);
    if eintel<>eatt then
      begin
        writeln('intel fsubp is not translated properly into fsubrp');
        halt(1);
      end;
  End.

Link to SVN view of webtbs/tw2158.pp source.