aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/ffp-contract-option.c
blob: eb95f1e21775fd6694e61139783ef569f9000250 (plain)
1
2
3
4
5
6
7
8
9
// RUN: %clang_cc1 -O3 -ffp-contract=fast -triple=powerpc-apple-darwin10 -S -o - %s | FileCheck %s
// REQUIRES: ppc32-registered-target

float fma_test1(float a, float b, float c) {
// CHECK: fmadds
  float x = a * b;
  float y = x + c;
  return y;
}