aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/bfloat16-basic.c
blob: 20ce60eb7afe97e053bdd89c7aef8c4461997462 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* Test __bf16.  */
/* { dg-do run } */
/* { dg-options "-Wno-old-style-definition" } */
/* { dg-add-options bfloat16 } */
/* { dg-require-effective-target bfloat16_runtime } */

#define TYPE __bf16
#define CST(C) CONCAT (C, bf16)
#define CSTU(C) CONCAT (C, BF16)

#include "floatn-basic.h"