xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGen/ffp-contract-option.c (revision bdb565187c0f1a04513dd488df843317b27f86c8)
1 // RUN: %clang_cc1 -O3 -ffp-contract=fast -triple=powerpc-apple-darwin10 -S -o - %s | FileCheck %s
2 // REQUIRES: powerpc-registered-target
3 
4 float fma_test1(float a, float b, float c) {
5 // CHECK: fmadds
6   float x = a * b;
7   float y = x + c;
8   return y;
9 }
10