1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -O3 -ffp-contract=fast -triple=powerpc-apple-darwin10 -S -o - %s | FileCheck %s 2*f4a2713aSLionel Sambuc // REQUIRES: ppc32-registered-target 3*f4a2713aSLionel Sambuc 4*f4a2713aSLionel Sambuc float fma_test1(float a, float b, float c) { 5*f4a2713aSLionel Sambuc // CHECK: fmadds 6*f4a2713aSLionel Sambuc float x = a * b; 7*f4a2713aSLionel Sambuc float y = x + c; 8*f4a2713aSLionel Sambuc return y; 9*f4a2713aSLionel Sambuc } 10