Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/gimplefe-26.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 /* { dg-do compile { target c99_runtime } } */ | 1 /* { dg-do compile { target scalar_all_fma } } */ |
2 /* { dg-options "-O -fgimple -fdump-tree-ssa-gimple" } */ | 2 /* { dg-options "-O -fgimple -fdump-tree-ssa-gimple" } */ |
3 | 3 |
4 #define foo(type, num) \ | 4 #define foo(type, num) \ |
5 type __GIMPLE () foo_##num (type a, type b, type c) \ | 5 type __GIMPLE () foo_##num (type a, type b, type c) \ |
6 { \ | 6 { \ |
7 type t0; \ | 7 type t0; \ |
8 t0_1 = __FMA (a, b, c); \ | 8 t0_1 = .FMA (a, b, c); \ |
9 return t0_1; \ | 9 return t0_1; \ |
10 } | 10 } |
11 | 11 |
12 foo(float, 1) | 12 foo(float, 1) |
13 foo(double, 2) | 13 foo(double, 2) |
14 foo(long double, 3) | |
15 | 14 |
16 /* { dg-final { scan-tree-dump-times "__FMA" 3 "ssa" } } */ | 15 /* { dg-final { scan-tree-dump-times {\.FMA} 2 "ssa" } } */ |