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/05/08 17:34:00 34 2024/05/08 20:34:00 44
i386 6 100.0 2024/05/08 17:34:00 34 2024/05/08 20:34:00 44
linux 3 50.0 2024/05/08 19:08:00 176 2024/05/08 20:34:00 44
win32 3 50.0 2024/05/08 17:34:00 34 2024/05/08 19:00:00 22
3.3.1 3 50.0 2024/05/08 17:34:00 34 2024/05/08 19:00:00 22
3.2.3 3 50.0 2024/05/08 19:08:00 176 2024/05/08 20:34:00 44
Skipping test because for other cpu 44 88.0 2024/05/08 16:39:00 49 2024/05/08 21:40:00 68
m68k 3 6.8 2024/05/08 19:15:00 190 2024/05/08 20:43:00 63
sparc 3 6.8 2024/05/08 20:01:00 79 2024/05/08 21:40:00 68
powerpc 3 6.8 2024/05/08 19:37:00 185 2024/05/08 21:11:00 188
arm 3 6.8 2024/05/08 19:02:00 59 2024/05/08 20:25:00 69
x86_64 7 15.9 2024/05/08 19:43:00 23 2024/05/08 21:30:00 24
powerpc64 6 13.6 2024/05/08 19:44:00 213 2024/05/08 21:28:00 73
mips 4 9.1 2024/05/08 16:39:00 49 2024/05/08 20:52:00 160
mipsel 3 6.8 2024/05/08 19:30:00 229 2024/05/08 21:02:00 151
aarch64 10 22.7 2024/05/08 16:43:00 45 2024/05/08 20:16:00 46
sparc64 2 4.5 2024/05/08 20:18:00 148 2024/05/08 21:03:00 163
linux 32 72.7 2024/05/08 16:39:00 49 2024/05/08 21:40:00 68
darwin 7 15.9 2024/05/08 16:43:00 45 2024/05/08 17:40:00 56
win64 5 11.4 2024/05/08 19:43:00 23 2024/05/08 21:30:00 24
3.3.1 1 2.3 2024/05/08 16:39:00 49 2024/05/08 16:39:00 49
3.2.3 43 97.7 2024/05/08 16:43:00 45 2024/05/08 21:40:00 68

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.