mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-28 15:58:57 -04:00
10 lines
253 B
C
10 lines
253 B
C
// RUN: %clang_cc1 -O3 -ffp-contract=fast -triple=powerpc-apple-darwin10 -S -o - %s | FileCheck %s
|
|
// REQUIRES: powerpc-registered-target
|
|
|
|
float fma_test1(float a, float b, float c) {
|
|
// CHECK: fmadds
|
|
float x = a * b;
|
|
float y = x + c;
|
|
return y;
|
|
}
|