blob: eb95f1e21775fd6694e61139783ef569f9000250 [file] [log] [blame]
Lang Hamesc9686712012-07-06 00:59:19 +00001// RUN: %clang_cc1 -O3 -ffp-contract=fast -triple=powerpc-apple-darwin10 -S -o - %s | FileCheck %s
NAKAMURA Takumi102bab72012-07-06 11:11:27 +00002// REQUIRES: ppc32-registered-target
Lang Hamesc9686712012-07-06 00:59:19 +00003
4float 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}