Skip to content

Commit 8cfc27f

Browse files
authored
[LoongArch] Disable float16-smoke.c test (#254)
Clang on loongarch now supports _Float16, and therefore the test is now attempted. However the system libraries on current distributions do not yet contain the necessary conversion routines to actually run binaries using _Float16, and so the attempt fails. Disable the test on loongarch for now.
1 parent 45c296d commit 8cfc27f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

SingleSource/Regression/C/float16-smoke.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#include <stdio.h>
22

33

4-
// Clang on s390x now supports _Float16, however the system libraries
5-
// on current distributions do not yet contain the necessary conversion
6-
// routines to actually run binaries using _Float16. Disable the test
7-
// on s390x for now.
8-
#if defined(__FLT16_DIG__) && !defined(__s390x__)
4+
// Clang on loongarch and s390x now support _Float16, however the system
5+
// libraries on current distributions do not yet contain the necessary
6+
// conversion routines to actually run binaries using _Float16. Disable
7+
// the test on loongarch and s390x for now.
8+
#if defined(__FLT16_DIG__) && !defined(__loongarch__) && !defined(__s390x__)
99

1010
typedef _Float16 fp16_t;
1111
__attribute__((noinline))

0 commit comments

Comments
 (0)