Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/gimplefe-26.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 84e7813d76e9 |
children |
rev | line source |
---|---|
131 | 1 /* { dg-do compile { target scalar_all_fma } } */ |
111 | 2 /* { dg-options "-O -fgimple -fdump-tree-ssa-gimple" } */ |
3 | |
4 #define foo(type, num) \ | |
5 type __GIMPLE () foo_##num (type a, type b, type c) \ | |
6 { \ | |
7 type t0; \ | |
131 | 8 t0_1 = .FMA (a, b, c); \ |
111 | 9 return t0_1; \ |
10 } | |
11 | |
12 foo(float, 1) | |
13 foo(double, 2) | |
14 | |
131 | 15 /* { dg-final { scan-tree-dump-times {\.FMA} 2 "ssa" } } */ |