Test suite results for test file test/testmovd.pp

Test run data :

Run ID:
Operating system: linux
Processor: i386
Version: 3.3.1
Fails/OK/Total: 240/9415/9655
Version: 3.3.1
Full version: 3.3.1-15584-g2f9ed0576e
Comment: -XR/home/muller/sys-root/i386-linux -Xd -Xr/home/muller/sys-root/i386-linux
Machine: cfarm421
Category: 1
SVN revisions: 2f9ed0576e:8b7dbb81b1:3f8bbd3b00:2f9ed0576e
Submitter: muller
Date: 2024/04/19 11:07:00 <> 2024/04/18
Previous run: 934323
Next run: 935660

Hide skipped tests

Hide successful tests

Test file "test/testmovd.pp" information:

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

Detailed test run results:

tr_idruntr_oktr_skiptr_result
443667667934969FalseTrueSkipping test because compiler version too high

Record count: 1

No log of 934969.

Source:

{ %CPU=i386 }
{ This file tests the movd instruction has this
  instruction does convert 32 bit into 64 bit
  which is not handled by the normal assembler instruction
  suffixes Pierre Muller }

uses
  mmx;

{$asmmode intel}


procedure test_intel; { do not run }
begin
  asm
    SUB  ESP,4
    MOVD [ESP],MM7
    MOVD MM0,DWORD PTR [ESP]
    MOVD MM1,[ESP]
    MOVD DWORD PTR [ESP],MM3
    ADD  ESP,4
  end;
end;

procedure test_cvtsi2ss_intel;
begin
  asm
    cvtsi2ss xmm2,DWORD PTR [esp]
    cvtsi2ss xmm2, [esp]
  end;
end;

{$asmmode att}

procedure test_att; { do not run }
begin
  asm
    subl  $4,%esp
    movd  (%esp),%mm2
    movd  %mm6,(%esp)
    addl  $4,%esp
  end;
end;

procedure test_cvtsi2ss_att;
begin
  asm
    cvtsi2ss (%esp),%xmm2
  end;
end;

begin
   if is_mmx_cpu then
     begin
       emms;
       test_att;
       test_intel;
     end;
end.

Link to SVN view of test/testmovd.pp source.