brintos

brintos / llvm-project-archived public Read only

0
0
Text · 408 B · 01a1bd1 Raw
19 lines · c
1// RUN: %clang_cc1 -O3 -triple=aarch64-apple-ios -S -o - %s | FileCheck %s2// REQUIRES: aarch64-registered-target3 4float fma_test1(float a, float b, float c) {5#pragma STDC FP_CONTRACT ON6// CHECK-LABEL: fma_test1:7// CHECK: fmadd8  float x = a * b + c;9  return x;10}11 12float fma_test2(float a, float b, float c) {13// CHECK-LABEL: fma_test2:14// CHECK: fmul15// CHECK: fadd16  float x = a * b + c;17  return x;18}19