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

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

Detailed test run results:

Record count: 50

Total = 50

OK=9 Percentage= 18.00

Skipped=41 Percentage= 82.00

Result type Cat. Count Percentage First date Last Date
Successfully run 9 18.0 2024/05/08 06:40:00 25 2024/05/08 08:47:00 26
i386 9 100.0 2024/05/08 06:40:00 25 2024/05/08 08:47:00 26
linux 1 11.1 2024/05/08 08:18:00 43 2024/05/08 08:18:00 43
win32 5 55.6 2024/05/08 06:40:00 25 2024/05/08 08:47:00 26
go32v2 3 33.3 2024/05/08 06:43:00 73 2024/05/08 08:10:00 75
3.3.1 4 44.4 2024/05/08 06:43:00 73 2024/05/08 08:18:00 43
3.2.3 5 55.6 2024/05/08 06:40:00 25 2024/05/08 08:47:00 26
Skipping test because for other cpu 41 82.0 2024/05/08 02:37:00 35 2024/05/08 09:01:00 27
m68k 1 2.4 2024/05/08 08:32:00 54 2024/05/08 08:32:00 54
sparc 4 9.8 2024/05/08 06:22:00 51 2024/05/08 07:13:00 50
powerpc 5 12.2 2024/05/08 07:48:00 62 2024/05/08 08:55:00 62
x86_64 16 39.0 2024/05/08 02:37:00 35 2024/05/08 09:01:00 27
powerpc64 1 2.4 2024/05/08 08:59:00 57 2024/05/08 08:59:00 57
mips 1 2.4 2024/05/08 08:17:00 51 2024/05/08 08:17:00 51
mipsel 1 2.4 2024/05/08 08:47:00 41 2024/05/08 08:47:00 41
aarch64 11 26.8 2024/05/08 05:55:00 30 2024/05/08 08:56:00 37
loongarch64 1 2.4 2024/05/08 08:26:00 36 2024/05/08 08:26:00 36
linux 26 63.4 2024/05/08 02:37:00 35 2024/05/08 09:01:00 27
solaris 4 9.8 2024/05/08 06:22:00 51 2024/05/08 07:13:00 50
darwin 7 17.1 2024/05/08 05:55:00 30 2024/05/08 07:12:00 47
aix 4 9.8 2024/05/08 07:48:00 62 2024/05/08 08:55:00 62
3.3.1 22 53.7 2024/05/08 03:11:00 23 2024/05/08 08:59:00 57
3.2.3 19 46.3 2024/05/08 02:37:00 35 2024/05/08 09:01:00 27

Source:

{ %CPU=i386 }
{$IFDEF FPC}
{$ASMMODE INTEL}
{$ENDIF}
{$N+}

FUNCTION Floor(M2:Comp):LONGINT;assembler;

VAR X : COMP;
    X2 : LONGINT;
    X3 : Double;
    s : single;

ASM
        FLD     QWord Ptr X                  // Here S_IL must be changed to
                                             // S_FL, i.e. the compiler must generate
                                             // fldl "X" instead of fldq "X" which is wrong
        fld     X2                                                      // No mem64, so no problem
        FLD     QWord Ptr X3                 // This one goes wrong under AS
        FilD     QWord Ptr X                         // This one translates to fildq and is accepted?
        fild     X2                                                  // No mem64, so no problem
        FiLD     QWord Ptr X3                // This one translates to fildq and is accepted?
end;

BEGIN
END.

Link to SVN view of tbs/tb0322.pp source.