Test suite results for test file webtbs/tw2158.pp

Test run data :

Run ID:
Operating system: linux
Processor: x86_64
Version: 3.2.0
Fails/OK/Total: 30/7756/7786
Version: 3.2.0
Full version: 3.2.0-beta
Comment: -Cg -O4 -Criot -Fd
Machine: gcc121
Category: 1
SVN revisions: 20:44143:1:44109:1:44160:1:44148
Submitter: pierre
Date: 2020/02/18 02:40:00
Previous run: 487938
Next run: 488191

Hide skipped tests

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

tr_idruntr_oktr_skiptr_result
2115328302488056FalseTrueSkipping test because for other cpu

Record count: 1

No log of 488056.

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.