Clang Project

clang_source_code/test/CodeGen/ffp-contract-option.c
1// RUN: %clang_cc1 -O3 -ffp-contract=fast -triple=aarch64-apple-darwin -S -o - %s | FileCheck %s
2// REQUIRES: aarch64-registered-target
3
4float fma_test1(float a, float b, float c) {
5// CHECK: fmadd
6  float x = a * b;
7  float y = x + c;
8  return y;
9}
10