xref: /aosp_15_r20/external/clang/test/CodeGen/ffp-contract-option.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
1 // RUN: %clang_cc1 -O3 -ffp-contract=fast -triple=powerpc-apple-darwin10 -S -o - %s | FileCheck %s
2 // REQUIRES: powerpc-registered-target
3 
fma_test1(float a,float b,float c)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